View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011076ITKpublic2010-07-30 15:572010-08-05 20:59
ReporterHans Johnson 
Assigned ToHans Johnson 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionITK-4-A0 
Target VersionFixed in VersionITK-4-A0 
Summary0011076: Status of sun/SUNPROCC compilers
DescriptionNeed to determine what conditional __SUNPRO_CC code needs to stay, and what needs to go with regards to supporting only (__SUNPRO_CC >- 0x590) i.e. Version 12 of the compiler that is apparently ansi c++ compliant.
Additional Information
Le 29 juil. 10 à 05:19, Bill Lorensen a écrit :

> Gaëtan is the developer that has Sun compilers.
>
> On Wed, Jul 28, 2010 at 10:19 PM, Hans Johnson <hans-
> johnson@uiowa.edu> wrote:
>> Hello,
>>
>> On the last T-Con, there was a developer that was supporting the Sun
>> compiler. Sorry, but I don’t remember who that was.
>>
>> Could you please help me figure out how to check for an ansi98 c++
>> compiler?
>>
>> #if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x540)
>> #error "__SUNPRO_CC <= 0x540 not supported under ITKv4"
>> #endif
>> #if defined(__SVR4) && !defined(__SUNPRO_CC)
>> #error "__SRV4 __SUNPRO_CC <= 0x540 not supported under ITKv4"
>> #endif
>>
>> Is the compiler that you are using on the the new Sun computers
>> still called
>> the __SUNPRO_CC, and if so, what version of that compiler is it?
>> (I thought
>> you stated that it was version 11).

It is the version 12.0.
It still define __SUNPRO_CC and assign it the value 0x590.

According to http://docs.sun.com/app/docs/doc/816-5175/ansi-5?l=en_US&a=view [^]
  , we should check for version greater or equal to 5.6.

__SVR4 is defined only for SPARC architecture. I don't know if it is
useful to require a different version for i86 and for SPARC.
I guess it may be useful to find the endianess.

Gaëtan

>>
>> There are some conditionals that change the behavior of debugging
>> statements
>> due to incompatibilities of the sunpro 5 series c++ compilers, and
>> I would
>> like to simplify the code by removing those.
>>
>> Thanks,
>> Hans
>> --
>> Hans J. Johnson, Ph.D.
>> Assistant Professor
>> 200 Hawkins Drive
>> T205 BT, The University of Iowa
>> Iowa City, IA 52242
>>
>> hans-johnson@uiowa.edu
>> PHONE: 319 353 8587
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html [^]
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://kitware.com/products/protraining.html [^]
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ [^]
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-developers [^]
>>
>>

--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr [^] http://www.itk.org [^]
http://www.mandriva.org [^] http://www.bepo.fr [^]

TagsNo tags attached.
Resolution Date
Sprint
Sprint Status
Attached Files

 Relationships

  Notes
(0021674)
Hans Johnson (developer)
2010-08-05 20:59

With help from Gaetan, the last remaining compiler failures have been resolved for the (__SUNPRO_CC >- 0x590)

 Issue History
Date Modified Username Field Change
2010-07-30 15:57 Hans Johnson New Issue
2010-07-30 15:58 Hans Johnson Status new => assigned
2010-07-30 15:58 Hans Johnson Assigned To => Hans Johnson
2010-08-05 20:59 Hans Johnson Note Added: 0021674
2010-08-05 20:59 Hans Johnson Status assigned => closed
2010-08-05 20:59 Hans Johnson Resolution open => fixed
2010-08-05 20:59 Hans Johnson Fixed in Version => ITK-4-A0


Copyright © 2000 - 2018 MantisBT Team