|
Boost : |
From: Schaible, Joerg (joerg.schaible_at_[hidden])
Date: 2000-12-01 08:03:44
Hi Bill,
you should set the version number to the proper value to check wether the
next version of the compiler still does not support the complete standard or
not. BTW: You should also check __SUNPRO_CC_COMPAT since you may use the
compiler in compatibility mode (version 4 can't handle namespaces at all)!!
# elif defined __SUNPRO_CC
# if __SUNPRO_CC_COMPAT < 5
# error unsupported by boost
# endif
# if __SUNPRO_CC <= 0x600 || __SUNPRO_CC_COMPAT <= 6
# define BOOST_NO_MEMBER_TEMPLATES
# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
# endif
Greetings,
Jörg
> -----Original Message-----
> From: Bill Klein [mailto:bill_at_[hidden]]
> Sent: Friday, December 01, 2000 12:23 PM
> To: boost_at_[hidden]
> Subject: [boost] config.hpp for sunpro6
>
>
> Hi all,
>
> I notice that in config.hpp we have:
>
> # elif defined __SUNPRO_CC
> # if __SUNPRO_CC <= 0x500
> # define BOOST_NO_MEMBER_TEMPLATES
> # define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
> # endif
>
> implying that versions > 5 of the Sun compiler are fixed
> here. I'm using version 6 though and I've had to define both
> of these to get rid of some compile errors, so it might be
> worth getting rid of the #if __SUNPRO_CC <= 0x500... unless
> there's another reason for it...
>
> -Bill Klein <bill_at_[hidden]>
>
>
>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk