[Insight-users] Problems with itkPixelTraits.h

Emiliano Beronich emiliano at veccsa.com
Fri Aug 13 10:19:24 EDT 2004


Hi everybody!

I have problems with including the header itkPixelTraits.h on my 
project. I'm working with version 1.6 of ITK and compiling with Borland 
Builder 5 Pro.

The list of errors is:

[C++ Error] itkPixelTraits.h(50): E2293 ) expected
[C++ Error] itkPixelTraits.h(58): E2293 ) expected
[C++ Error] itkPixelTraits.h(66): E2293 ) expected
[C++ Error] itkPixelTraits.h(74): E2293 ) expected
[C++ Error] itkPixelTraits.h(82): E2293 ) expected
[C++ Error] itkPixelTraits.h(90): E2293 ) expected
[C++ Error] itkPixelTraits.h(98): E2293 ) expected
[C++ Error] itkPixelTraits.h(106): E2293 ) expected
[C++ Error] itkPixelTraits.h(114): E2293 ) expected
[C++ Error] itkPixelTraits.h(122): E2293 ) expected
[C++ Error] itkPixelTraits.h(130): E2293 ) expected


Have any idea about what's the problem here?

I have tried with

1)
#undef ITK_NO_INCLASS_MEMBER_INITIALIZATION
#include "itkPixelTraits.h"


and

2)
#define ITK_NO_INCLASS_MEMBER_INITIALIZATION
#include "itkPixelTraits.h"

In both cases the errors are the same. There is a problem with 
itkStaticConstMacro but I don't figure it.

Regards,
Emiliano


More information about the Insight-users mailing list