Listing C Constants/Macros
Posted
by ZJR
on Stack Overflow
See other posts from Stack Overflow
or by ZJR
Published on 2010-03-10T23:36:52Z
Indexed on
2010/05/21
18:30 UTC
Read the original article
Hit count: 146
Is there a way to make the GNU C Preprocessor, cpp (or some other tool) list all available macros and their values at a given point in a C file?
I'm looking for system-specific macros while porting a program that's already unix savvy and loading a sparse bunch of unix system files.
Just wondering if there's an easier way than going hunting for definitions.
© Stack Overflow or respective owner