[Insight-developers] Building ITK with STD_DEBUG_MODE

Bill Lorensen bill.lorensen at gmail.com
Thu May 17 17:07:45 EDT 2007


Folks,

I've checked in the changes that permit compilation with the stl debugging
enabled. I fixed a few Cell classes that were the culprits. All of the tests
pass on my Fedora Core 6 build now. We'll see how we do tonight on the other
platforms. I'm hoping that a number of Vista failures go away.

Bill

On 5/16/07, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>
> 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/20070517/e4640ff3/attachment.html


More information about the Insight-developers mailing list