[ITK-users] abs function ambigous in Mac OS X 10.9

Eduardo - LNCC camargo at lncc.br
Thu Mar 12 14:56:53 EDT 2015


Hi,

I am trying compile ITK 3.20 in the Mac OS X 10.9.5 I received the erro
below and I don't figure out what have happened. Someboy can help me?


[  1%] Built target itksys
[  6%] Built target itkjpeg8
[ 11%] Built target itkjpeg12
[ 16%] Built target itkjpeg16
[ 17%] Built target itkzlib
[ 18%] Built target itkpng
[ 18%] Built target itkmkg3states
[ 21%] Built target itktiff
[ 23%] Built target itkopenjpeg
[ 25%] Built target ITKMetaIO
[ 28%] Built target ITKNrrdIO
[ 28%] Built target ITKEXPAT
[ 28%] Built target ITKznz
[ 28%] Built target ITKniftiio
[ 29%] Built target ITKDICOMParser
[ 30%] Built target itkvcl
[ 51%] Built target itkv3p_netlib
[ 51%] Built target itktestlib
[ 69%] Built target itkvnl
[ 74%] Built target itkvnl_algo
[ 76%] Built target itkNetlibSlatec
[ 80%] Built target itkgdcm
[ 82%] Built target itkvnl_inst
[ 88%] Built target ITKCommon
[ 91%] Built target ITKNumerics
[ 91%] Built target ITKBasicFilters
[ 91%] Built target ITKStatistics
[ 91%] Built target ITKAlgorithms
[ 91%] Built target ITKSpatialObject
[ 96%] Built target ITKIO
[ 96%] Building CXX object
Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDriver.o
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/IO/itkTestDriver.cxx:33:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/Common/itkNumericTraits.h:20:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/Common/itkMacro.h:42:
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:86:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double e
 VCL_STATIC_CONST_INIT_FLOAT_DECL(2.7182818284590452354);
                                   ^
          ~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:87:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double log2e
 VCL_STATIC_CONST_INIT_FLOAT_DECL(1.4426950408889634074);
                                   ^
          ~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:88:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double log10e
VCL_STATIC_CONST_INIT_FLOAT_DECL(0.43429448190325182765);
                                   ^
          ~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:89:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double ln2
 VCL_STATIC_CONST_INIT_FLOAT_DECL(0.69314718055994530942);
                                   ^
          ~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:90:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double ln10
VCL_STATIC_CONST_INIT_FLOAT_DECL(2.30258509299404568402);
                                   ^
          ~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:91:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double pi
VCL_STATIC_CONST_INIT_FLOAT_DECL(3.14159265358979323846);
                                   ^
          ~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:92:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double pi_over_2
 VCL_STATIC_CONST_INIT_FLOAT_DECL(1.57079632679489661923);
                                   ^
          ~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:93:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double pi_over_4
 VCL_STATIC_CONST_INIT_FLOAT_DECL(0.78539816339744830962);
                                   ^
          ~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:94:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double one_over_pi
 VCL_STATIC_CONST_INIT_FLOAT_DECL(0.31830988618379067154);
                                   ^
          ~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:95:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double two_over_pi
 VCL_STATIC_CONST_INIT_FLOAT_DECL(0.63661977236758134308);
                                   ^
          ~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:96:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double two_over_sqrtpi
 VCL_STATIC_CONST_INIT_FLOAT_DECL(1.12837916709551257390);
                                   ^
          ~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:97:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double one_over_sqrt2pi
VCL_STATIC_CONST_INIT_FLOAT_DECL(0.39894228040143267794);
                                   ^
          ~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:98:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double sqrt2
 VCL_STATIC_CONST_INIT_FLOAT_DECL(1.41421356237309504880);
                                   ^
          ~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:99:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double sqrt1_2
 VCL_STATIC_CONST_INIT_FLOAT_DECL(0.70710678118654752440);
                                   ^
          ~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:102:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double eps
VCL_STATIC_CONST_INIT_FLOAT_DECL(2.2204460492503131e-16);
                                   ^
         ~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:103:36:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double sqrteps
VCL_STATIC_CONST_INIT_FLOAT_DECL(1.490116119384766e-08);
                                   ^
         ~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:105:35:
warning: in-class initializer for static data member of type 'const float'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const float float_eps
 VCL_STATIC_CONST_INIT_FLOAT_DECL(1.192092896e-07f);
                                  ^
        ~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_math.h:106:35:
warning: in-class initializer for static data member of type 'const float'
is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const float float_sqrteps
 VCL_STATIC_CONST_INIT_FLOAT_DECL(3.4526698307e-4f);
                                  ^
        ~~~~~~~~~~~~~~~~
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/IO/itkTestDriver.cxx:35:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/Common/itkImage.h:20:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/Common/itkImageBase.h:25:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/Common/itkImageRegion.h:27:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/Common/itkContinuousIndex.h:20:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/Common/itkPoint.h:23:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/Common/itkVector.h:23:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_vector_ref.h:20:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_vector.h:20:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_c_vector.h:25:
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_numeric_traits.h:340:22:
warning: in-class initializer for static data member of type 'const float'
is a GNU extension [-Wgnu-static-float-init]
  static const float zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0F);
                     ^                                     ~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_numeric_traits.h:342:22:
warning: in-class initializer for static data member of type 'const float'
is a GNU extension [-Wgnu-static-float-init]
  static const float one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0F);
                     ^                                    ~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_numeric_traits.h:344:22:
warning: in-class initializer for static data member of type 'const float'
is a GNU extension [-Wgnu-static-float-init]
  static const float maxval
VCL_STATIC_CONST_INIT_FLOAT_DECL(3.40282346638528860e+38F);
                     ^
~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_numeric_traits.h:363:23:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static const double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);
                      ^                                     ~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_numeric_traits.h:365:23:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static const double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);
                      ^                                    ~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_numeric_traits.h:367:23:
warning: in-class initializer for static data member of type 'const double'
is a GNU extension [-Wgnu-static-float-init]
  static const double maxval
VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);
                      ^
~~~~~~~~~~~~~~~~~~~~~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_numeric_traits.h:386:28:
warning: in-class initializer for static data member of type 'const long
double' is a GNU extension [-Wgnu-static-float-init]
  static const long double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);
                           ^                                     ~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_numeric_traits.h:388:28:
warning: in-class initializer for static data member of type 'const long
double' is a GNU extension [-Wgnu-static-float-init]
  static const long double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);
                           ^                                    ~~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Utilities/vxl/core/vnl/vnl_numeric_traits.h:390:28:
warning: in-class initializer for static data member of type 'const long
double' is a GNU extension [-Wgnu-static-float-init]
  static const long double maxval
VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);
                           ^
~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/IO/itkTestDriver.cxx:33:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/Common/itkNumericTraits.h:32:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:939:16:
error: call to 'abs' is ambiguous
        return abs(__c.real());
               ^~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/IO/itkDefaultConvertPixelTraits.h:294:1:
note: in instantiation of function template specialization
'std::__1::norm<unsigned int>' requested here
ITK_DEFAULTCONVERTTRAITS_COMPLEX_TYPE(unsigned int);
^
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/IO/itkDefaultConvertPixelTraits.h:287:17:
note: expanded from macro 'ITK_DEFAULTCONVERTTRAITS_COMPLEX_TYPE'
    return std::norm(pixel);                                             \
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/stdlib.h:129:6:
note: candidate function
int      abs(int) __pure2;
         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:159:44:
note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long      abs(     long __x) _NOEXCEPT
{return  labs(__x);}
                                           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:161:44:
note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT
{return llabs(__x);}
                                           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:660:1:
note: candidate function
abs(float __x) _NOEXCEPT {return fabsf(__x);}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:664:1:
note: candidate function
abs(double __x) _NOEXCEPT {return fabs(__x);}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:668:1:
note: candidate function
abs(long double __x) _NOEXCEPT {return fabsl(__x);}
^
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/IO/itkTestDriver.cxx:33:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/Common/itkNumericTraits.h:32:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:941:16:
error: call to 'abs' is ambiguous
        return abs(__c.imag());
               ^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/stdlib.h:129:6:
note: candidate function
int      abs(int) __pure2;
         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:159:44:
note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long      abs(     long __x) _NOEXCEPT
{return  labs(__x);}
                                           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:161:44:
note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT
{return llabs(__x);}
                                           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:660:1:
note: candidate function
abs(float __x) _NOEXCEPT {return fabsf(__x);}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:664:1:
note: candidate function
abs(double __x) _NOEXCEPT {return fabs(__x);}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:668:1:
note: candidate function
abs(long double __x) _NOEXCEPT {return fabsl(__x);}
^
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/IO/itkTestDriver.cxx:33:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/Common/itkNumericTraits.h:32:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:939:16:
error: call to 'abs' is ambiguous
        return abs(__c.real());
               ^~~
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/IO/itkDefaultConvertPixelTraits.h:298:1:
note: in instantiation of function template specialization
'std::__1::norm<unsigned long>' requested here
ITK_DEFAULTCONVERTTRAITS_COMPLEX_TYPE(unsigned long);
^
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/IO/itkDefaultConvertPixelTraits.h:287:17:
note: expanded from macro 'ITK_DEFAULTCONVERTTRAITS_COMPLEX_TYPE'
    return std::norm(pixel);                                             \
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/stdlib.h:129:6:
note: candidate function
int      abs(int) __pure2;
         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:159:44:
note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long      abs(     long __x) _NOEXCEPT
{return  labs(__x);}
                                           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:161:44:
note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT
{return llabs(__x);}
                                           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:660:1:
note: candidate function
abs(float __x) _NOEXCEPT {return fabsf(__x);}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:664:1:
note: candidate function
abs(double __x) _NOEXCEPT {return fabs(__x);}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:668:1:
note: candidate function
abs(long double __x) _NOEXCEPT {return fabsl(__x);}
^
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/IO/itkTestDriver.cxx:33:
In file included from
/Users/hemolab/Documents/workspace/libs/InsightToolkit-3.16.0/Code/Common/itkNumericTraits.h:32:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:941:16:
error: call to 'abs' is ambiguous
        return abs(__c.imag());
               ^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/stdlib.h:129:6:
note: candidate function
int      abs(int) __pure2;
         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:159:44:
note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long      abs(     long __x) _NOEXCEPT
{return  labs(__x);}
                                           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:161:44:
note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT
{return llabs(__x);}
                                           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:660:1:
note: candidate function
abs(float __x) _NOEXCEPT {return fabsf(__x);}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:664:1:
note: candidate function
abs(double __x) _NOEXCEPT {return fabs(__x);}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:668:1:
note: candidate function
abs(long double __x) _NOEXCEPT {return fabsl(__x);}
^
27 warnings and 4 errors generated.
make[2]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDriver.o] Error 1
make[1]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/all] Error 2
make: *** [all] Error 2

Atenciosamente,


Eduardo Camargo, M.Sc.

Analista de Sistemas
Instituto Nacional de Ciência e Tecnologia em
Medicina Assistida por Computação Científica
INCT-MACC  http://macc.lncc.br
Laboratório Nacional de Computação Científica
LNCC - http://www.lncc.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20150312/809f8ffd/attachment.html>


More information about the Insight-users mailing list