[Insight-developers] Building ITK with STD_DEBUG_MODE
Mathieu Coursolle
mcoursolle at rogue-research.com
Fri May 11 11:40:28 EDT 2007
Hi itk developpers,
We are currently using ITK in our project and have are running a nightly
dashboard:
RogueResearch2 / MacOSXTiger-univ
However, we would like to use the STL_DEBUG_MODE flag in our project,
but it won't work with
ITK if it is not build with this flag too.
So we add that flag to our dashboard build, but our ITK won't build with
it (See error message bellow).
So I would like to know if anyone is able to reproduce this problem. We
are using gcc 4.0.1.
If so, anyone has a clue on how this could be fixed?
Thank you!
Mathieu
ps: We also have a few warnings cause by ITK headers in our projects. I
submitted some patch files
which fix some of them (Bugs 4952, 4965 and 4966).
Linking CXX executable ../../../bin/itkNumericsHeaderTest
[ 56%] Built target itkNumericsHeaderTest
Scanning dependencies of target itkCommonHeaderTest
[ 56%] Building CXX object Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/
itkFEMLoadNode.o
[ 56%] Building CXX object Testing/Code/Common/CMakeFiles/
itkCommonHeaderTest.dir/itkCommonHeaderTest.o
/.../Insight/Code/Common/itkConstShapedNeighborhoodIterator.h: In member
function 'bool itk::ConstShapedNeighborhoodIterator<TImage,
TBoundaryCondition>::ConstIterator::operator!=(const
itk::ConstShapedNeighborhoodIterator<TImage,
TBoundaryCondition>::ConstIterator&) const':
/.../Insight/Code/Common/itkConstShapedNeighborhoodIterator.h:152:
error: 'const class __gnu_debug::_Saf
e_iterator<__gnu_norm::_List_const_iterator<unsigned int>,
__gnu_debug_def::list<unsigned int, std::allocator<unsigned int> > >'
has no member named 'operator!='/.../Insight/Code/Common/
itkConstShapedNeighborhoodIterator.h: In member function 'bool
itk::ConstShapedNeighborhoodIterator<TImage,
TBoundaryCondition>::ConstIterator::operator!=(const
itk::ConstShapedNeighborhoodIterator<TImage,
TBoundaryCondition>::ConstIterator&) const':
Build Log line 1279
File: Code/Common/itkConstShapedNeighborhoodIterator.h Line: 152CVS
/.../Insight/Code/Common/itkConstShapedNeighborhoodIterator.h:152:
error: 'const class __gnu_debug::_Saf
e_iterator<__gnu_norm::_List_const_iterator<unsigned int>,
__gnu_debug_def::list<unsigned int, std::allocator<unsigned int> > >'
has no member named 'operator!='
/.../Insight/Code/Common/itkConstShapedNeighborhoodIterator.h: In member
function 'bool itk::ConstShapedNeighborhoodIterator<TImage,
TBoundaryCondition>::ConstIterator::operator==(const
itk::ConstShapedNeighborhoodIterator<TImage,
TBoundaryCondition>::ConstIterator&) const':
Build Log line 1281
File: Code/Common/itkConstShapedNeighborhoodIterator.h Line: 154CVS
/.../Insight/Code/Common/itkConstShapedNeighborhoodIterator.h:154:
error: 'const class __gnu_debug::_Saf
e_iterator<__gnu_norm::_List_const_iterator<unsigned int>,
__gnu_debug_def::list<unsigned int, std::allocator<unsigned int> > >'
has no member named 'operator=='
/.../Insight/Code/Common/itkConstShapedNeighborhoodIterator.h: In member
function 'bool itk::ConstShapedNeighborhoodIterator<TImage,
TBoundaryCondition>::ConstIterator::operator==(const
itk::ConstShapedNeighborhoodIterator<TImage,
TBoundaryCondition>::ConstIterator&) const':
--
____________________________________________________________
Mathieu Coursolle mcoursolle at rogue-research.com
Rogue Research www.rogue-research.com
Montréal, Québec, Canada
More information about the Insight-developers
mailing list