behavior of -D=FOO

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

 



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@xxxxxxxxxxxxxxxx   
Don't  confuse education with schooling.
	Milton Friedman to Yogi Berra

[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