bison-patches
[Top][All Lists]
Advanced

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

Re: Patch for Bison 3.1 and VC2015


From: Paul Eggert
Subject: Re: Patch for Bison 3.1 and VC2015
Date: Fri, 28 Sep 2018 16:53:57 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

On 9/28/18 7:26 AM, Simon Sobisch wrote:
    As I was told that only "current" VC compilers are considered for being
    patched I've tried to compile Bison 3.1 with VC 2015.
    Two places needed a patch to allow all sources to be compiled.
    You find a patch file attached.


Thanks for the heads-up. I installed the attached patches, which attempt to fix the problems you mention in more-portable ways. Please give them a try.


    a) any use of verify() defined in verify.h raises the warning
    > warning C4116: unnamed type definition in parentheses


Perhaps you could teach verify.h to use 'static_assert'; see <https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/16507642-please-implement-static-assert>. But if it's too much trouble please don't bother; see <https://www.gnu.org/prep/standards/html_node/System-Portability.html> for why.

Attachment: 0001-uniqstr-avoid-need-for-VLAs.patch
Description: Text Data

Attachment: 0002-getargs-use-LC_MESSAGES-trick-only-on-glibc.patch
Description: Text Data


reply via email to

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