Defining macros for the parser

Milian Wolff mail at milianw.de
Mon Feb 28 12:51:48 GMT 2011


Gunther Piez, 28.02.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?

The "Custom Build System" plugin (separate plugin) comes with the ability to 
define custom macros. Try it out.

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20110228/07736992/attachment.sig>


More information about the KDevelop mailing list