bug-bison
[Top][All Lists]
Advanced

[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: Tue, 15 Oct 2019 13:04:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 10/15/19 4:07 AM, Dagobert Michelsen wrote:

It seems to be a compiler issue:
Studio 12.6: works
Studio 12.5: works
Studio 12.4: works
Studio 12.3: broken with the error above
Studio 12.2: broken with the error above
Studio 12.1: broken with the error above
Studio 12: broken with the error above

That explains why I didn't see the problem; I was using 12.6.

Studio 12.3 is already quite old and I am not
sure if it worth further investigation, what do you think?

Might as well fix it now that you brought it up. Studio 12.3 is supported by Oracle until December of this year.[1] Older Studio releases are no longer supported, so I wouldn't bother using them to check GNU code - why should GNU worry about a proprietary platform if even the proprietor doesn't?

The bug has to do with the confusing reinclusion between stdint.h, inttypes.h, etc. As you say, this is low priority, so rather than figure out the actual bug I installed the attached workaround, which should be safe on all platforms.

[1] Oracle and Sun System Software and Operating Systems – October, 2019. https://www.oracle.com/us/assets/lifetime-support-hardware-301321.pdf

Attachment: 0001-inttypes-use-more-robust-test-for-int-range.patch
Description: Text Data


reply via email to

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