You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

[help]: Xcode 4 has semantic issue

Dear all,


I have encountered "Semantic Issure" with C++ projects in Xcode 4 as following:


/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/ bits/c++locale.h

/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/ bits/c++locale.h:79:28:{80:23-80:28}: error: no member named 'vsnprintf' in namespace 'std' [2]


any idea? There is no such error when I compile the codes in command line.


Best regards,


Li

Posted on Jun 1, 2011 12:56 AM

Reply
6 replies

Jun 1, 2011 10:20 PM in response to dongli

Dear all,


Thanks for all your replies! The version is 4.0.2. I think I found where the problem is. The simple code is:


User uploaded file


when I add header search path recursively:

User uploaded file

then the "Semantic Issure" will occur:

User uploaded file


Otherwise, the issure will disappear!


So, the recursively search of header pathes will cause this "Semantic Issure".


Cheers,


Li

[help]: Xcode 4 has semantic issue

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.