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]
Other format: [Raw text]

[Bug driver/37820] need command line option that prints all defaults and predefined macros



------- Comment #1 from brian at dessent dot net  2008-10-14 04:33 -------
Subject: Re:   New: need command line option that prints all 
 defaults and predefined macros

http://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#index-std-98

This is covered in the manual.  The default for C is gnu89 and the
default for C++ is gnu++98.  The --help output is not supposed to be a
substitute for proper documentation, it's just a brief summary.

To list predefined macros, use -dM with an empty input file, e.g. "gcc
-dM -E - </dev/null".


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37820


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