[Top][All Lists]

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

Re: Error compiling bison 3.4.2 on Solaris

From: Paul Eggert
Subject: Re: Error compiling bison 3.4.2 on Solaris
Date: Wed, 23 Oct 2019 13:45:45 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 10/22/19 11:08 PM, Akim Demaille wrote:

#ifndef __has_builtin
#define __has_builtin(x) 0

... GCC folks want to emulate that compiler.  By emasculating theirs.

Actually, the GCC installation procedure derives its os/base.h from macOS's, so this problem is due to Apple: they don't particularly want you to use GCC, and they are in effect emasculating GCC in their <os/base.h>.

Thanks for diagnosing the problem. I installed a patch into Gnulib which I hope fixes it:


and propagated that patch into Bison master. Please give it a try without the -W workarounds; if that works, we can remove the -W workarounds for Bison.

reply via email to

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