This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

missing defines in spec file


$ gcc -v
Reading specs from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2/specs
gcc version 2.95.2 19991024 (release)

In the cpp part of the spec file, there are arguments for .cc files, .cxx
files, .C files, a whole bunch of other files, but not .cpp files.

If it hasn't been done already, adding "%{.cpp: -D__LANGUAGE_C_PLUS_PLUS
-D_LANGUAGE_C_PLUS_PLUS}" to the cpp section of the the spec file would
make compiling kde much less of a headache for me.


Thanks.

Cheers - Tony 'Nicoya' Mantler :)


--
Tony "Nicoya" Mantler - Renaissance Nerd Extraordinaire - nicoya@apia.dhs.org
Winnipeg, Manitoba, Canada           --           http://nicoya.feline.pp.se/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]