c++, gcc and macros

Ralf Edrich edrich at informatik.fh-kl.de
Fri Mar 2 07:42:59 GMT 2001


Hi,

in my project I have files with the suffix .c and .cpp.

Now it seems that the .c-files are preprocessed and compiled with
gcc and the other ones with c++.

When I define some macros in the compiler-options (-DXYZ)
it seems as only c++ is affected by them and not gcc.

If I add them by hand everything is fine, if not errors occur.

Is this a fault by my - or can they somewhere else be set?

tia,

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20010302/a7e90bc5/attachment.html>


More information about the KDevelop mailing list