Re: Problems Building ppl-0.10.2 with g++-4.4.0 on Open Solaris 2008.11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marc,

Here is a trick to get a list of all the #define's that one-or-more headers
introduce into the translation unit (picking on Cocoa for the moment):

echo '#include <Cocoa/Cocoa.h>' | gcc -E -dM -x objective-c - -o dM.e

>From that dM.e list, a select #undef list could be used to to remove
offending preprocessor defines.

Bit of a kluge, but sometimes necessary to get code and assorted headers to
play nice together.

Sincerely,
--Eljay



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux