bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Grep-devel] avoiding new warnings


From: Paul Eggert
Subject: Re: [Grep-devel] avoiding new warnings
Date: Sun, 21 May 2017 12:18:45 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

Jim Meyering wrote:
   - -Wduplicated-branches complained about three false positives,

In Emacs, I found -Wduplicated-branches to be useless and I disabled it. Since it's finding only false alarms in grep, too, I suggest that we disable it by default at the Gnulib level. My impression is that for GNU code, -Wduplicated-branches is mostly just the compiler saying "Look how smart I am!" rather than something that's helpful in finding real bugs.



reply via email to

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