Another warning I want to disable
Another warning I want to disable
- Subject: Another warning I want to disable
- From: "Theodore H. Smith" <email@hidden>
- Date: Fri, 3 Jun 2005 16:08:51 +0100
I'm getting hundreds of these "errors". It's quite annoying, because
these cover up the real errors. How can I tell gcc to disable this
error?
if ( s[0] != '/' ) {
/Users/theodore/Desktop/SCOSource/Mac/MacMFCShims.mm:110: warning:
ISO C++ says that these are ambiguous, even though the worst
conversion for the first is better than the worst conversion for the
second:
/usr/include/gcc/darwin/4.0/c++/bits/basic_string.h:697: note:
candidate 1: typename _Alloc::reference std::basic_string<_CharT,
_Traits, _Alloc>::operator[](typename _Alloc::size_type) [with _CharT
= char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/Users/theodore/Desktop/SCOSource/Mac/MacMFCShims.mm:110: note:
candidate 2: operator[](char*, int) <built-in>
--
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