• 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
Another warning I want to disable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Missing docs after May 2005 ADC Reference Library
  • Next by Date: Re: Const qualifier conversion warnings
  • Previous by thread: Missing docs after May 2005 ADC Reference Library
  • Next by thread: RE: Another warning I want to disable
  • Index(es):
    • Date
    • Thread