[Insight-developers] -D_GLIBCXX_DEBUG flag?

Bill Lorensen bill.lorensen at gmail.com
Tue Nov 23 19:21:24 EST 2010


It us a good flag to turn on. I used to submit a nightly with it on.
It finds problems with iterators, etc. Once it fails,you need to run
with gdb to fine the real problem.


On Tue, Nov 23, 2010 at 5:14 PM, kent williams
<norman-k-williams at uiowa.edu> wrote:
> Someone on the TCon suggested I turn this flag on in order to debug the
> MetaIO regressions.
>
> So I did, but first I was trying to finish the itkTransformIO fixes, and
> with  -D_GLIBCXX_DEBUG set, the transform file reader no longer works at
> all. I don't know what's up with that, but it caused me to waste a chunk of
> the afternoon chasing phantoms.
>
> I don't know why it's the case but std::stringstream seems to no longer work
> with any numeric values -- it broke the assembling of the transform type
> names so the Transform factory refused to make any transforms.
>
> Then it wouldn't put any elements in the vnl_vectors for the parameters in
> TransformFileReader.
>
> Is there something I'm missing here, or is _GLIBCXX_DEBUG really the flag to
> use to turn on STL debugging?
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>


More information about the Insight-developers mailing list