[patch] beginnings of the macro rewrite

Philipp Thomas pthomas@suse.de
Thu Apr 27 15:54:00 GMT 2000


* Zack Weinberg (zack@wolery.cumb.org) [20000422 19:33]:

> K+R has significantly different semantics for macro expansion from
> standard C.

And I'll bet rather highly that removing support for -traditional will break
compilation of X or X apps that use imakefiles. I haven't tried compiling
XFree86 with 2.96 lately, but the last time I tried it woudn't work.
Granted, using the C preprocessor to construct makefiles isn't exactly a
good idea. Now that 2.96s preprocessor is much pickier, some tricks won't
work.

At least IMO we *must* provide a way to keep cpp usable for the imake
configury, be that -traditional or any other flag that dumbs down cpp
enough.

Philipp

-- 
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

#define NINODE  50              /* number of in core inodes */
#define NPROC   30              /* max number of processes */
 	-- Version 7 UNIX fuer PDP 11, /usr/include/sys/param.h


More information about the Gcc mailing list