[Insight-developers] 64-Bit Transition Guide: Compiling 64-Bit Code Using GCC

Luis Ibanez luis.ibanez at kitware.com
Fri Oct 31 10:35:09 EDT 2008


Hi Aaron,

Please add the following flags to the CMAKE_CXX_FLAGS
and CMAKE_CC_FLAGS, when you run CMake to configure ITK:


    -Wall
    -Wconversion
    -Wshorten-64-to-32
    -Wformat


More details here:
http://developer.apple.com/documentation/Darwin/Conceptual/64bitPorting/building/chapter_5_section_2.html


You will see the CC and CXX flag in the set of Advanced
CMake flags.

We are particularly interested in the 64 to 32 conversion,
that currently may go silently under our watch.


Let us know if see any problems,


     Thanks


        Luis




More information about the Insight-developers mailing list