bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: flex porting glitch on Solaris 10 affects Bison


From: Akim Demaille
Subject: Re: flex porting glitch on Solaris 10 affects Bison
Date: Mon, 12 Dec 2005 09:40:02 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

>>> "Paul" == Paul Eggert <address@hidden> writes:

 > I installed this:
 > 2005-12-09  Paul Eggert  <address@hidden>

 >      Work around portability problem on Solaris 10: flex-generated
 >      files include <stdio.h> before <config.h>, which messes up
 >      because the latter defines __EXTENSIONS__.  Address the problem
 >      by creating two new little files that include <config.h> first,
 >      then include the flex-generated files.  Rewrite everyone else
 >      to include <config.h> first, as well.

I have not understood why you removed config.h from system.h.  If the
issue was multiple inclusion, maybe we'd rather protect config.h
against multiple inclusion (e.g., AH_TEMPLATE_BEFORE/AFTER IIRC), or
even generate config_.h, and have a config.h that includes it bw cpp
guards.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]