Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Problems resolving std namespace
Problems resolving std namespace [message #817674] Sat, 10 March 2012 13:00 Go to next message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 6
Registered: September 2009
Junior Member
Hi,

since I updated Eclipse/CDT from an old version there are problems resolving the std namespace. For example std::cerr or std::cout are red flagged and could not be resolved. The application itself compiles without an error. Currently I'm using Eclipse build 20120216-1857 and CDT in version 8.0.2.201202111925.

Maybe someone here knows what's causing the problem.
Re: Problems resolving std namespace [message #819794 is a reply to message #817674] Tue, 13 March 2012 10:35 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
I guess the internal scanner discovery fails to find the include paths for your toolchain (gcc I guess). Do you use a different localization then English? Eclipse Indigo expects the gcc output to be in English.
I posted a solution http://www.eclipse.org/forums/index.php/m/795499/?srch=gcc+scanner+english#msg_795499


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Problems resolving std namespace [message #821791 is a reply to message #819794] Thu, 15 March 2012 20:46 Go to previous messageGo to next message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 6
Registered: September 2009
Junior Member
Localization is English and the include paths are found (that is what confuses me). If the scanner fails finding the paths, there would be an error within the include statement and also I would not be able the compile the program correctly.
Re: Problems resolving std namespace [message #822129 is a reply to message #821791] Fri, 16 March 2012 07:56 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
The scanner provides the include paths only for internal symbol resolving (indexer). Compilation might still work.
Do you use your own Makefile? Did you set the toolchain correctly? Did you upgrade your compiler versino?


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:How to install C++ Compiler on CDT ?
Next Topic:Attach to process
Goto Forum:
  


Current Time: Fri Apr 26 05:47:56 GMT 2024

Powered by FUDForum. Page generated in 0.03176 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top