[Insight-developers] ITK/CVS with GCC4.0 doesn't compile

Torsten Rohlfing torsten at synapse.sri.com
Tue Apr 26 19:24:24 EDT 2005


Hi --

I believe I just managed to build ITK (current CVS version as of a few 
minutes ago), and the necessary patches basically came down to the hash 
map header files. Mostly stuff like inserting "this->" to access class 
members. The biggest trouble was in itk_hash_map.h, namely, the 
reference to "select1st" (replaced that with _Select1st" which works) 
and a friend declaration of "operator==", which gcc seems to be fine 
without anyway.

The patched files are at

   http://www.stanford.edu/~rohlfing/itk_hash_map.h
   http://www.stanford.edu/~rohlfing/itk_hashtable.h

Cheers!
   Torsten

-- 
Torsten Rohlfing, PhD          SRI International, Neuroscience Program
  Research Scientist             333 Ravenswood Ave, Menlo Park, CA 94025
   Phone: ++1 (650) 859-3379      Fax: ++1 (650) 859-2743
    torsten at synapse.sri.com        http://www.stanford.edu/~rohlfing/

      "Though this be madness, yet there is a method in't"




More information about the Insight-developers mailing list