MantisBT - ITK
View Issue Details
0009161ITKpublic2009-06-16 10:292009-09-29 10:16
Kevin H. Hobbs 
 
normalminoralways
closedfixed 
 
ITK-3-16 
0009161: Build warning in itkScalarConnectedComponentImageFilter.h
When itkScalarConnectedComponentImageFilter.h is compiled with GCC 4.3.2 and the pixel type is int, the compiler produces a warning about the comparison between signed and unsigned integers.

This cropped up on the Farsight dashboard here :

http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=357016 [^]

I've created a minimum example program.

Stephen Aylward has suggested a fix on the farsight developers list :

http://www.kitware.com/cgi-bin/mailman/private/farsight-developers/2009-June/000113.html [^]

No tags attached.
cxx produces_warning.cxx (403) 2009-06-16 10:29
https://public.kitware.com/Bug/file/2327/produces_warning.cxx
txt CMakeLists.txt (371) 2009-06-16 10:30
https://public.kitware.com/Bug/file/2328/CMakeLists.txt
patch itkScalarConnectedComponentImageFilter.h.signed_unsigned_int_comparison.patch (848) 2009-06-16 10:49
https://public.kitware.com/Bug/file/2329/itkScalarConnectedComponentImageFilter.h.signed_unsigned_int_comparison.patch
Issue History
2009-06-16 10:29Kevin H. HobbsNew Issue
2009-06-16 10:29Kevin H. HobbsFile Added: produces_warning.cxx
2009-06-16 10:30Kevin H. HobbsFile Added: CMakeLists.txt
2009-06-16 10:49Kevin H. HobbsFile Added: itkScalarConnectedComponentImageFilter.h.signed_unsigned_int_comparison.patch
2009-06-16 14:09Kevin H. HobbsNote Added: 0016732
2009-09-29 10:16Marius StaringNote Added: 0017818
2009-09-29 10:16Marius StaringStatusnew => closed
2009-09-29 10:16Marius StaringResolutionopen => fixed
2009-09-29 10:16Marius StaringFixed in Version => ITK-3-16

Notes
(0016732)
Kevin H. Hobbs   
2009-06-16 14:09   
This experimental build was made with the change noted above.

http://www.cdash.org/CDash/buildSummary.php?buildid=357192 [^]
(0017818)
Marius Staring   
2009-09-29 10:16   
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/BasicFilters/itkScalarConnectedComponentImageFilter.h?root=Insight&r1=1.8&r2=1.9&sortby=date [^]