[Insight-developers] Building ITK with STD_DEBUG_MODE

Bill Lorensen bill.lorensen at gmail.com
Wed May 16 13:08:17 EDT 2007


Mathieu, Mathieu and Sean,

The stl debug flags uncovered a really subtle (and one not so subtle) misuse
of iterators in itkPolygonSpatialObject.txx. I suspect this may be the
reason for the failure of itkPolygonGroupSpatialObjectTest on  one of the
new Vista builds.

Bill

On 5/15/07, Sean McBride <sean at rogue-research.com> wrote:
>
> On 2007-05-15 14:27, Bill Lorensen said:
>
> >I just tried to build on my Fedora Core 6 with gcc 4.1, -D_GLIBCXX_DEBUG
> and
> >I get the same compile error as Mathieu C. I applied Mathieu C's compile
> >change and everything built. In Testing/Code/Common, itkCommonPrintTest
> >failed as did his on the Mac. The failure was caused by the GLIBCXX_DEBUG
> >finding an actual error in itkValarrayImageContainer.h.
> >
> >My machine (it's my old basement machine) is rather slow, so it may take
> >most of the day to compile everything and test.
> >
> >It looks as though we should have a machine build with these debug flags.
> >I'll set my machine up for a nightly in the next few days.
>
> Thanks Bill for looking into this!  Our dashboard will continue to run
> with these debug flags and it sure will be great to have others do the
> same, we appreciate it.  Looking forward to seeing them green. :)
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 sean at rogue-research.com
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.itk.org/mailman/private/insight-developers/attachments/20070516/b47d2070/attachment.html


More information about the Insight-developers mailing list