Included namespace's content not recognized [message #869815] |
Fri, 04 May 2012 07:53  |
Eclipse User |
|
|
|
Hello,
I include in a .cpp a .h with angle branckets.
This .h contain a class definition within a two levels namespace.
In my cpp, when I type the first level namespace, the autocompletion does work; it completes with the name of the second level namespace as soon as I type :: (there isn't ay other second level namespace for now). But the completion doesn't propose me the class defined in the .h. When I type myslef the class name, Codan tells me that the type cnanot be resolved.
There isn't any other included file with the namespaces. And if I comment the class definition inclusion, Codan doesn't know anymore these namespaces. So why doesn't it see the class definition ?
I have no problem when compiling (I don't compile in Eclipse).
|
|
|
|
|
|
|
|
Re: Included namespace's content not recognized [message #869850 is a reply to message #869837] |
Fri, 04 May 2012 09:53  |
Eclipse User |
|
|
|
The makefile was created with a cascade of CMake files. I didn't do them, and I hardly undestand them.
But the CMake configuration for my project inherits from a CMake configuration of an other project where is located the definition of the macro.
I suppose make reflects that, because I have no problem when compiling.
[Updated on: Fri, 04 May 2012 10:02] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.05308 seconds