[Insight-developers] Warnings after recent changes to ImageRegionExclusionConstIteratorWithIndex

Sean McBride sean at rogue-research.com
Tue Sep 20 14:14:12 EDT 2011


On Tue, 20 Sep 2011 13:14:46 -0400, Cory Quammen said:

>To reproduce these warnings, I added -Wstrict-overflow=1. It produces
>only a subset of the errors you cite. Upping the warnings to
>-Wstrict-overflow=3 produces all kinds of warnings all over the
>toolkit about the compiler assuming that no overflow will occur.

My personal experience with -Wstrict-overflow on gcc 4.2 is that it produces false positives and sometimes even does or does not warn from one build to the next (with no code changes).  Maybe you're seeing something similar?

-- 
____________________________________________________________
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