On Sat, Jan 30, 2021 at 2:29 AM Eric Gallager <eg...@gwmail.gwu.edu> wrote: > > On Thu, Jan 28, 2021 at 3:24 PM David Malcolm via Gcc <gcc@gcc.gnu.org> wrote: > > > > I wrote a blog post covering what I've been working on in the analyzer > > in this release: > > > > https://developers.redhat.com/blog/2021/01/28/static-analysis-updates-in-gcc-11/ > > > > Hope this is of interest > > Dave > > > > > > Thanks for the post! One nit: the post says: "Each of these > corresponds to a pre-existing warning implemented in the C and C++ > front ends, but with a “-Wanalyzer” prefix rather than “-W.” As an > example, -Wanalyzer-write-to-const corresponds to -Wwrite-to-const." > There isn't actually a warning called "-Wwrite-to-const" though. There > is "-Wwrite-strings" which is similar, but since it isn't actually a > warning option itself (as per bug 61579), the warning flag that the > warnings it provokes are actually issued by is -Wdiscarded-qualifiers. > So, while I got what you meant, it still might confuse new programmers > who might try to go using a flag called "-Wwrite-to-const" and then > wonder why it doesn't exist. > > Thanks again! > Eric
Oops I just realized I accidentally removed the mailing list from the recipients; I'm adding that back now