cpp 2.96 20000325 and XFree86
Philipp Thomas
pthomas@suse.de
Sun Mar 26 08:48:00 GMT 2000
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
More information about the Gcc
mailing list