[Insight-developers] Intel C++ compilation error

Raul San Jose Estepar rjosest at bwh . harvard . edu
Mon, 18 Aug 2003 16:25:25 -0400 (EDT)


Hi everybody,

I'm trying to compile the toolkit with icc (evaluation version), I got
errors of the kind:

Building object file vnl_math.o...
/home/raul/src/dev/Insight/Utilities/vxl/vnl/vnl_math.h(55): error: data
member initializer is not allowed
    static VNL_DLL_DATA const double e
VCL_STATIC_CONST_INIT_FLOAT_DECL(2.7182818284590452354);
                                                     ^

/home/raul/src/dev/Insight/Utilities/vxl/vnl/vnl_math.h(56): error: data
member initializer is not allowed
    static VNL_DLL_DATA const double log2e
VCL_STATIC_CONST_INIT_FLOAT_DECL(1.4426950408889634074);
                                                     ^

/home/raul/src/dev/Insight/Utilities/vxl/vnl/vnl_math.h(57): error: data
member initializer is not allowed
    static VNL_DLL_DATA const double log10e
VCL_STATIC_CONST_INIT_FLOAT_DECL(0.43429448190325182765);


Am I missing something??.

Thanks

/Raul