[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: My plans for Bison
From: |
Eric S. Raymond |
Subject: |
Re: My plans for Bison |
Date: |
Tue, 12 Feb 2019 14:29:39 -0500 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
Paul Eggert <address@hidden>:
> On 2/12/19 9:34 AM, Eric S. Raymond wrote:
> > If you're willing to assume that your target platforms are compliant
> > with C99 and POSIX-1.2001 this is actually very low-risk.
>
> I agree, and would be happy if Bison assumed that. However, Bison's
> configure script ports among implementation variants that postdate C99 and
> POSIX-2001. For example, './configure --enable-gcc-warnings' deduces which
> GCC warning options your compiler supports, and this set of options differs
> between GCC 8 and GCC 9, or between GCC and Clang. How would the autoconf
> cleanup address these post-2001 issues?
I'm not sure yet. We might have to rescue some part of that scripting.
A more detailed list of the post-2001 issues would be good to have.
What do we want beyond -Wall and -Wpedantic? How does it vary by version?
In any case, the first part of the job - before touching the autoconf
part of the build itself - will be ripping out a lot of obsolete #ifdefs.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.
Re: My plans for Bison, Paul Eggert, 2019/02/12
- Re: My plans for Bison,
Eric S. Raymond <=
Re: My plans for Bison: gitch in yacc.c, Akim Demaille, 2019/02/13
Re: My plans for Bison: history, Akim Demaille, 2019/02/13