I have a problem with Eclipse C/C++ Code Analysis and CDT.
I have some C++11 code so I had to add support for this to my Eclipse environment. I read several threads about this and found the following answer:
Add the -std=c++11 flag to Windows -> Preferences -> C/C++ -> Build -> Settings -> Disovery -> CDT GCC Built-in Compiler
After doing this the C++11 functions are now resolved. However alot of new errors has been introduced. These errors only occurs in the *.cpp files. I get errors like "Member declaration not found" etc. The interesting this is that if I keep all the class method implementations in the header files I don't get any Eclipse code errors. Also I should add the code compiles if I build the project but Eclipse highlight code errors, so this does only seem to be related to CDT.
NOTE: I have tried several releases of Eclipse, all showing same problem.
I have not been able to find any answer for this problem so please help me.