Re: Predefined Names in GCC C++, where are they _all_ documented

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

 



Hi Paul,

>(paraphrased) List of predefined macros.

Try this trick for the compile to generate a list of defines:
touch empty.cpp
g++ -dM -E empty.cpp

NOTE: this only lists the predefines still "alive" (not #undef'd) at the end of the compilation. It doesn't list things like __FILE__ and __LINE__, which are like preprocessor magic defines or meta-defines.

HTH,
--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