Sun Studio 10 compiler version in sunpro_cc.hpp

When using... /opt/studio10/SUNWspro/bin/CC -V CC: Sun C++ 5.7 Patch 117830-04 2005/09/14 On uname -a SunOS solaris 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Fire-V250 The compiler works much better when I effectively back out the last patch to this file. Changing... if (__SUNPRO_CC < 0x570) to... if (__SUNPRO_CC <= 0x570) *** boost/config/compiler/sunpro_cc.hpp.orig Tue Mar 22 02:55:03 2005 --- boost/config/compiler/sunpro_cc.hpp Thu Oct 20 18:46:18 2005 *************** *** 57,63 **** # define BOOST_NO_INTEGRAL_INT64_T # endif ! # if (__SUNPRO_CC < 0x570) # define BOOST_NO_TEMPLATE_TEMPLATES // see http://lists.boost.org/MailArchives/boost/msg47184.php // and http://lists.boost.org/MailArchives/boost/msg47220.php --- 57,63 ---- # define BOOST_NO_INTEGRAL_INT64_T # endif ! # if (__SUNPRO_CC <= 0x570) # define BOOST_NO_TEMPLATE_TEMPLATES // see http://lists.boost.org/MailArchives/boost/msg47184.php // and http://lists.boost.org/MailArchives/boost/msg47220.php

SunOS solaris 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Fire-V250
The compiler works much better when I effectively back out the last patch to this file.
Can you give us an idea of which of those macros are actually needed? We were assured by Sun that none of them should be required, so it's probably worth while filing a bug report with them also as they are claiming to support Boost in the latest release. Thanks, John
participants (2)
-
John Maddock
-
P Holdaway