Hiding warnings
Hiding warnings
- Subject: Hiding warnings
- From: "Theodore H. Smith" <email@hidden>
- Date: Mon, 11 Jul 2005 20:44:29 +0100
Is there some way in the Xcode UI, to get warnings?
Some code I'm running has so many false warnings, it's driving me
crazy. I don't think there's anyway to disable this warning, so I'd
like to be able to just hide it, because it's making it harder for me
to actually view the real errors.
Heres the error I'm getting hundreds of. Basically it comlains if I
use the operator[] in a class that has an operator convert to a char*.
/Users/theodore/Desktop/SCOSource/Mac/Import.mm:759: 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/Import.mm:759: 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