bug-bison
[Top][All Lists]
Advanced

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

Re: Bison 3.7.5 released


From: Hans Åberg
Subject: Re: Bison 3.7.5 released
Date: Tue, 26 Jan 2021 10:30:46 +0100

> On 26 Jan 2021, at 06:54, Paul Eggert <eggert@CS.UCLA.EDU> wrote:
> 
> On 1/25/21 9:41 PM, Akim Demaille wrote:
> 
>> Thanks for the report.  I'll see if there is interest in fixing it
>> in gnulib.  As a matter of fact, they might have fixed it already,
> 
> Fixed by Jim Meyering in Gnulib commit 
> 7fa203018d02d8f2b71a6be1240c3963a63cab1c (2020-12-29).
> 
> In the meantime you can ignore the warning: it's the typical clang balderdash 
> where they want you to put in an unnecessary cast. Don't they know that casts 
> are bad in C?

They want the C/C++ languages to be something else than what they actually are. 
Some examples of that are dangling-else warnings and forcing unnecessary, 
Pascal style, logical operator parentheses. A workaround is putting in:
#pragma clang diagnostic ignored "-Wlogical-op-parentheses"
#pragma clang diagnostic ignored "-Wdangling-else"





reply via email to

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