|
Boost Users : |
From: Sohail Somani (s.somani_at_[hidden])
Date: 2007-08-15 13:56:39
John Maddock wrote:
> Sohail Somani wrote:
>
>>> Sohail Somani wrote:
>>>
>>>> Hi,
>>>>
>>>> In the upgrade to boost 1.34.1, I noticed that the sunpro_cc.hpp
>>>> config file now defines BOOST_NO_IS_ABSTRACT for the latest
>>>> compiler. This
>>>> affects serialization code that used to work with 1.33.1.
>>>>
>>>> The relevant change is here:
>>>> http://svn.boost.org/trac/boost/changeset/32005
>>>>
>>>> I'm wondering, why was this change made since it seems to work?
>>>> There is
>>>> no ticket referenced in the commit.
>>>>
> There's no ticket because it's a two year old change: long before the move
> to TRAC :-( I don't have access to the Sunpro compiler, so this would have
> been in response to a user report, or a regression failure somewhere. Sun's
> compiler has made a lot of progress recently, so it's quite possible this is
> no longer needed.
>
Well looking at the regressions (http://preview.tinyurl.com/33pgw7) it
seems that it is still an issue. Dangerous at that. Returns true when
expecting false... Perhaps its bullet biting time.
>>> Is boost/config/user.hpp a good place to override this?
>>>
>
> Yep, define BOOST_NO_COMPILER_CONFIG, and then add any compiler macros you
> do still need.
>
Ok I suppose this is doable #ifdef __SUNPRO_CC ... #define
BOOST_NO_COMPILER_CONFIG ... blah blah blah ...
Thanks John!
Sohail
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net