Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » C++ 11 Symbol could not be resolved (containers)
C++ 11 Symbol could not be resolved (containers) [message #1092812] Fri, 23 August 2013 08:13 Go to next message
Mikael Öhman is currently offline Mikael ÖhmanFriend
Messages: 2
Registered: August 2013
Junior Member
I have Eclipse Kepler and the latest version of CDT available from the update site.

I have added as a flag -std=c++11 and under paths and symbols I have added GXX_EXPERIMENTAL_CXX0X. My program builds and runs just fine. But eclipse has a problem resolving:

#include <unordered_set>

...

std::unordered_set<int> mySet;

Is this a known issue?
Re: C++ 11 Symbol could not be resolved (containers) [message #1093750 is a reply to message #1092812] Sat, 24 August 2013 15:51 Go to previous message
Mikael Öhman is currently offline Mikael ÖhmanFriend
Messages: 2
Registered: August 2013
Junior Member
Nevermind. This link gave correct answer:

http://www.eclipse.org/forums/index.php/mv/msg/373462/909018/#msg_909018

Need to fill in -std=c++11 in "command to get compiler specs" on the discovery tab.
Previous Topic:C/C++ code formatting from command line
Next Topic:How to integrate Qt framework?
Goto Forum:
  


Current Time: Fri Apr 19 16:06:34 GMT 2024

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

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

Back to the top