MantisBT - ITK
View Issue Details
0006699ITKpublic2008-04-01 15:332010-10-21 12:32
Casey B Goodlett 
Gaetan Lehmann 
normalminoralways
closedfixed 
 
ITK-3-10 
0006699: ITK does not compile with GCC 4.3
I tried to compile ITK using GCC 4.3 which is included in Fedora 9. There are several changes in this version of gcc which require changes in ITK to allow it to build. Details for porting to GCC 4.3 are available here http://gcc.gnu.org/gcc-4.3/porting_to.html. [^] A patch to allow the compilation is attached.
I tested the compilation using BUILD_EXAMPLES, BUILD_TESTING, ITK_USE_REVIEW, and ITK_USE_OPTIMIZED_REGISTRATION.

In particular I had to add include headers for cstring, cstdlib to test files. Several files also violated the name lookup changes. Also the HeaderTest files did not have the proper signature for main which now causes ans error.

I did not address the warnings created by using ext/hash_map.h which is now deprecated.
No tags attached.
patch gcc43.patch (163,938) 2008-04-01 15:33
https://public.kitware.com/Bug/file/1380/gcc43.patch
Issue History
2008-04-01 15:33Casey B GoodlettNew Issue
2008-04-01 15:33Casey B GoodlettFile Added: gcc43.patch
2009-02-20 16:23Gaetan LehmannNote Added: 0015280
2009-02-20 16:23Gaetan LehmannStatusnew => resolved
2009-02-20 16:23Gaetan LehmannFixed in Version => ITK-3-10
2009-02-20 16:23Gaetan LehmannResolutionopen => fixed
2009-02-20 16:23Gaetan LehmannAssigned To => Gaetan Lehmann
2010-10-21 12:32Gabe HartStatusresolved => closed

Notes
(0015280)
Gaetan Lehmann   
2009-02-20 16:23   
ITK seems to build for some time with that compiler, so I close the bug!