BOOST_NO_IS_ABSTRACT defined for SunPRO CC?
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. Thanks, Sohail
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.
Thanks,
Sohail
To answer my own question: *http://preview.tinyurl.com/33pgw7* Is boost/config/user.hpp a good place to override this? Thanks, Sohail
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.
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. HTH, John.
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
participants (2)
-
John Maddock
-
Sohail Somani