[Insight-developers] Re: MetaImage namespace : Build Errors in SGIs

Stephen R. Aylward Stephen.Aylward at Kitware.com
Tue Jun 27 13:07:01 EDT 2006


The fix worked on SGIs.  I will add it to the remaining files.

However, the problem remains for Borland compilers...I am not certain 
that there is an elegant way around this problem for Borland.

Stephen

Stephen R. Aylward wrote:
> Yes - I broke some of the builds.  Sorry.
> 
> I can do a work-around for SGIs (they support #pragma once), but not for 
> the new BSB-5.8 compiler in the experimental builds (superior).  That 
> compiler does not support #pragma once or using $var in #ifdefs for 
> variable name substitution.   Interesting that $var works in the older 
> version of Borland.   Also, the reason I had to use the $var indirection 
> was because of Borland - it is the only compiler that doesn't support 
> #pragma once...sigh...
> 
> I'm checking-in a change to one file tonight to see if it fixed the sgi 
> problem.  If so, I'll apply the fix to the rest of the files.
> 
> I think the SGIs could have also been fixed by adding -dollar as a 
> compile option to the IRIX build, but my SGI is in the shop...along with 
> my Edsel :)
> 
> Stephen
> 
> Luis Ibanez wrote:
> 
>>
>> Hi Stephen,
>>
>> The namespace code in MetaImage seems to have problems in SGIs:
>>
>> http://www.itk.org/Testing/Sites/kraepelin.uiowa/IRIX64-MPro-7.4-dbg/20060626-0100-Nightly/BuildError.html 
>>
>>
>>
>> Any hints ?
>>
>>
>>    Luis
>>
>>
> 

-- 
=============================================================
Stephen R. Aylward, Ph.D.
Chief Medical Scientist
Kitware, Inc.
http://www.kitware.com


More information about the Insight-developers mailing list