• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Const qualifier conversion warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Const qualifier conversion warnings


  • Subject: Re: Const qualifier conversion warnings
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Fri, 3 Jun 2005 17:02:06 +0100

I should have been more specific, I already have "-Wno-cast-qual" on, which does actually remove most of these warnings. However some still remain.


warning: passing `const CString' as `this' argument of `CString CString::Left(long int)' discards qualifiers


BOOL CHTMLTagParser::UrlIsLocal(const CString &url)
{
    CString proto = url.Left(4);
    proto.MakeLower();
    return proto == "file";
}


"-Wno-cast-qual" has no effect on this warning.


--
http://elfdata.com/plugin/ Industrial strength string processing, made easy.


"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Const qualifier conversion warnings
      • From: Michael Babin <email@hidden>
  • Prev by Date: Re: Const qualifier conversion warnings
  • Next by Date: Constant errors after Tiger/Xcode 2 upgrade
  • Previous by thread: Re: Const qualifier conversion warnings
  • Next by thread: Re: Const qualifier conversion warnings
  • Index(es):
    • Date
    • Thread