behavior of -D=FOO
Marty Leisner
mleisner@eng.mc.xerox.com
Wed Dec 7 17:14:00 GMT 2005
What should the behavior be of -D=FOO?
gcc 2.9.5 says
"malformed option '-D =FOO'
gcc 3 inserts
#define FOO
when you do -DFOO it inserts
#define FOO 1
Reading the documentation carefully, it looks like it expects
-D FOO
but I've been using
-DFOO
for years (the behavior is equivalent).
marty mleisner@eng.mc.xerox.com
Don't confuse education with schooling.
Milton Friedman to Yogi Berra
More information about the Gcc-help
mailing list