Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Problems resolving std namespace
Problems resolving std namespace [message #817674] Sat, 10 March 2012 08:00 Go to next message
Eclipse UserFriend
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 06:35 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Problems resolving std namespace [message #821791 is a reply to message #819794] Thu, 15 March 2012 16:46 Go to previous messageGo to next message
Eclipse UserFriend
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 03:56 Go to previous message
Eclipse UserFriend
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?
Previous Topic:How to install C++ Compiler on CDT ?
Next Topic:Attach to process
Goto Forum:
  


Current Time: Fri Jun 20 07:12:35 EDT 2025

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

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

Back to the top