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]

cpp 2.96 20000325 and XFree86



Zack,

it's impossible to compile XFree86 with the cpp from current CVS sources.
One of the hurdles is, that the imake configury contains at various places
constructs like 

#ifndef foo
#define foo  /**/
#endif

'cpp -traditional' from 2.95.2 swallows this, 'cpp -traditional' from
current cvs gives an error " `##' at end of macro definition" and even if
you make this a comment,  as also present in some of the imake config files,
like

#ifndef foo
#define foo  /* as nothing */
#endif

it will still give the error. The unability to compile XFree86 with the
cpplib based cpp is IMHO a major stumbling block. Yes, one could argue that
using cpp for creating Makefiles is an abuse of cpp, but that won't
deminish the fire we'll catch once people start trying what I did.

And IMNSHO we have to provide a way to make cpp grok this use of itself.
Otherwise users of the CVS version will start disabling cpplib, specially
with the recent release of XFree86 4.0.

Philipp

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

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