https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119324

--- Comment #12 from James K. Lowden <jklowden at gcc dot gnu.org> ---
As of today, except for gcc/cobol/genapi.cc, I have only a couple dozen
outstanding reports from cppcheck.  One deserves attention at some point but is
not causing a problem.  Most are cppcheck failing to recognize what "auto"
means.  

It was a useful exercise, if only to make the code safer for some well meaning
stranger to hack on.  

I'm leaving the PR open until we deal with the 504 message regarding cppcheck. 
Once that's done, I will mark it as "resolved" unless and until the cppcheck
issue I filed regarding ODR proves fruitful.  

That is, I think the ODR reports are invalid.  I think it is based on the
"multiple definitions" coming from the same file, included once via an absolute
path and once via a relative path.  Because I don't see how our build system
could supply both paths, I suspect the answer lies somewhere in cppcheck.

Reply via email to