|
From: | Paul Eggert |
Subject: | Re: Error compiling bison 3.4.2 on Solaris |
Date: | Tue, 22 Oct 2019 11:10:06 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 |
On 10/21/19 2:07 AM, Akim Demaille wrote:
I'd rather not. Newer compilers are doing their jobs better in this area,I don't see that, given that I have the problem with GCC 7, 8 and 9 on macOS.
That's odd. What problems are these? GCC 9 should have the necessary primitives to bypass the code eliciting the warnings you mentioned; besides, recent GCCs are better at avoiding false alarms with options like -Wtype-limits. I don't see why macOS GCC 9 would differ from GNU/Linux GCC 9 in this area.
I just built Bison master with the attached patch (./configure --enable-gcc-warnings --disable-nls), and "make" and "make check" both succeeded on Fedora 30 with GCC 9.2.1 20190827 (Red Hat 9.2.1-1). How does such a build fail for you with macOS 9 and GCC 9.2?
type-limits.diff
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |