This is the mail archive of the gcc@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]

Re: [patch] beginnings of the macro rewrite


* 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

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