[Top][All Lists]

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

RE: __attribute__((__unused__)) problem

From: victor khomenko
Subject: RE: __attribute__((__unused__)) problem
Date: Fri, 12 Apr 2013 08:49:10 +0000

JH>I cannot comprehend why Microsoft would issue a warning for this incredibly 
common C idiom.

Let's not blame Microsoft for that (there are worse things to blame them for) - 
it's a reasonable warning at level 4, considering that it's not easy for the 
compiler to distinguish this idiom from a programmer's mistake. (And the 
compiler is for C++ anyway.)

AD> I think I'll stop here for 2.7.1, as it fixes real portability bugs so 
should be released asap.

I'm happy with that - warnings have never been a big problem, as one can easily 
disable them when compiling the bison-generated files.


reply via email to

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