Re: Const qualifier conversion warnings
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