C++ Parser and gcc internal defines

Gunther Piez gpiez at web.de
Fri May 28 15:39:51 BST 2010


Hi,

this may be related to the problem with unrecognized defines given in a 
CMakeLists.txt.

GCC has a lot of internal defines depending on architecture, compiler flags 
etc. In my case, I use "-mssse3" on a x86 architecture as a compiler flag, 
because I need some of the vector extension intrinsics. This causes the 
preprocessor macro "__SSSE3__" to become defined, which in turn is used in 
headers like tmmintrin.h to define functions.
These functions are now invisible for kdevelop, and also for code completion 
(which would actually be a tremendous help for this kind of functions).

Is this a missing feature, or am I doing something wrong?

- Gunther




More information about the KDevelop mailing list