[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

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

[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.