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

Audette, Michel Michel.Audette at medizin.uni-leipzig.de
Mon Sep 22 03:37:14 EDT 2008


Hi Andrew, 

you were right about this #define. I had it set to 0. Hopefully everything compiles (under way). 

I suspect that it would be set to 1 by default by now. 

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 
 

 


-----Original Message-----
From: minc-users-bounces at bic.mni.mcgill.ca [mailto:minc-users-bounces at bic.mni.mcgill.ca] On Behalf Of Andrew Janke
Sent: September 19, 2008 2:38 AM
To: MINC users mailing list
Subject: Re: [MINC-users] redefinitions in volume_io/basic.h,multidim.h causing compilation errors on Windows

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

_______________________________________________
MINC-users at bic.mni.mcgill.ca
http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users



More information about the MINC-users mailing list