[MINC-users] redefinitions in volume_io/basic.h, multidim.h causing compilation errors on Windows

Andrew Janke a.janke at gmail.com
Thu Sep 18 20:37:41 EDT 2008


Hrm,

I thought we had made all such things private now. The plan was to add
a VIO_ prefix to all such things.

There is a #define that turns this 'on' but I am currently mobile so
can't dig it up.

Here's hoping someone else will chime in with it.

a

On 9/18/08, Audette, Michel <Michel.Audette at medizin.uni-leipzig.de> wrote:
> Hi all,
>
>
>
> I'm seeing some Windows MS VC++ 2003 compilation errors related to enums in
> volume_io/basic.h and multidim.h .
>
>
>
> Please forgive the German, and go by the error code. This seems to be
> related to keywords that are redefined or reused in enums.
>
>
>
> G:\windows\srcMAF\maf\openMAF22\Libraries\MINC\include\volume_io\multidim.h(44):
> error C2365: 'DOUBLE': Erneute Definition; vorherige Definition war
> 'Typedef'
>
>         C:\Programme\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\WTypes.h(387): Siehe Deklaration von 'DOUBLE'
>
>
>
> G:\windows\srcMAF\maf\openMAF22\Libraries\MINC\include\volume_io\basic.h(66):
> error C2143: Syntaxfehler: Es fehlt ';' vor 'constant'
>
> (this is related to the use of the word ERROR in an enum)
>
>
>
> Is there a release that deals with errors like this, or a workaround?
>
>
>
> Best wishes,
>
>
>
> Michel
>
>
>
> Michel Audette, Ph.D.
>
> Innovation Center Computer Assisted Surgery (ICCAS)
>
> Semmelweisstraße 14
>
> Leipzig, Germany
>
> Phone: ++49 (0) 341 / 97 - 1 20 13
>
> Fax: ++49 (0) 341 / 97 - 1 20 09
>
>
>
>
>
>
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


-- 
Andrew Janke - andrew.janke at anu.edu.au
Department of Geriatric Medicine, ANU
(a.janke at gmail.com || http://a.janke.googlepages.com/)
Canberra->Australia    +61 (402) 700 883



More information about the MINC-users mailing list