cpp 2.96 20000325 and XFree86
Zack Weinberg
zack@wolery.cumb.org
Mon Mar 27 21:09:00 GMT 2000
On Sun, Mar 26, 2000 at 06:47:50PM +0200, Philipp Thomas wrote:
>
> 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
>
Yup, that's a bug. The new macro parser is too eager to issue error messages.
Same bug as the "`#' not followed by a macro name" error in object-like macros.
I'll try to get this patched in the next couple of days. I was on vacation all
last week, just got back an hour ago - please be patient.
zw
More information about the Gcc
mailing list