Defining macros for the parser

Gunther Piez gpiez at web.de
Mon Feb 28 11:31:35 GMT 2011


Hello,

I am again playing around with kdevelop :-)
Is there a way to define macros for the parser, to make it parse headers
correctly?

In my case I compile with "-msse4.1 -std=cc+0x" which causes the
preprocessor to define the macros "_SSE_4_1_" and
"_GXX_0X_EXPERIMENTAL_" which in turn are needed to parse a lot of
headers correctly. So kdevelop does not recognize the internal defined
macros, is there a way to tell the parser the macros are defined?

- Gunther




More information about the KDevelop mailing list