• 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: include behavior of Xcode and gcc via comnd line differ.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: include behavior of Xcode and gcc via comnd line differ.


  • Subject: Re: include behavior of Xcode and gcc via comnd line differ.
  • From: Steve Checkoway <email@hidden>
  • Date: Sat, 27 Sep 2008 04:26:50 -0700


On Sep 26, 2008, at 2:27 PM, Carl Barron wrote:

If I compile a C++ tool I am get often the error 'snprintf not in namspace std' I don't use snprintf directly,
it must be something Xcide 3,1.0 is doing that a straight g++ -I include_path main.cpp doies not do.;
The CLI approach works, build in Xcode does not same identical file.


How do I get rid of these errors in Xcode. No Apple frameworks etc added by me. straight standard C++ code.


Do you have sample code that shows this error? Also, Xcode will show you exactly what is is passing to g++ so you can compare that with what you are doing. Search the list for which of the tiny, nondescript buttons shows you that.

--
Steve Checkoway

    "Anyone who says that the solution is to educate the users
    hasn't ever met an actual user." -- Bruce Schneier




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >include behavior of Xcode and gcc via comnd line differ. (From: Carl Barron <email@hidden>)

  • Prev by Date: XCode won't use static library
  • Next by Date: stack size
  • Previous by thread: include behavior of Xcode and gcc via comnd line differ.
  • Next by thread: XCode won't use static library
  • Index(es):
    • Date
    • Thread