[Insight-developers] nrrd assumptions and signed overflow

Sean McBride sean at rogue-research.com
Mon Nov 28 10:27:42 EST 2011


On Mon, 28 Nov 2011 14:50:53 +0000, Williams, Norman K said:

>I presume CLang is testing for known overflows at compile time.  Does this
>get flagged as a compile error?

No, it's a check at runtime.  It's very nicely explained here (well worth the read):

<http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html>

All the "ILLEGAL" type failures here:

<http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=1768103>

are due to these checks.

-- 
____________________________________________________________
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 Insight-developers mailing list