[cfe-dev] -Warray-bounds false positive?

Sean McBride sean at rogue-research.com
Fri Aug 26 07:12:06 PDT 2011


On Thu, 25 Aug 2011 14:59:26 -0700, Ted Kremenek said:

>No, the warning is legit.  sizeof() returns the size in bytes, not
>elements.  This is an array of doubles.

Thanks for making me not the only one to be momentarily confused! :)

I filed:
<http://llvm.org/bugs/show_bug.cgi?id=10771>

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada






More information about the cfe-dev mailing list