Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85873 - in trunk: boost/log/detail libs/log/doc
From: andrey.semashev_at_[hidden]
Date: 2013-09-24 16:20:34


Author: andysem
Date: 2013-09-24 16:20:34 EDT (Tue, 24 Sep 2013)
New Revision: 85873
URL: http://svn.boost.org/trac/boost/changeset/85873

Log:
Disabled friend declarations for nested class templates for SunPro compiler. Fixes #9153.

Text files modified:
   trunk/boost/log/detail/config.hpp | 4 ++--
   trunk/libs/log/doc/changelog.qbk | 2 +-
   2 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/log/detail/config.hpp
==============================================================================
--- trunk/boost/log/detail/config.hpp Tue Sep 24 14:35:07 2013 (r85872)
+++ trunk/boost/log/detail/config.hpp 2013-09-24 16:20:34 EDT (Tue, 24 Sep 2013) (r85873)
@@ -78,8 +78,8 @@
 # endif
 #endif
 
-#if defined(BOOST_INTEL)
- // Intel compiler has problems with friend declarations for member classes
+#if defined(BOOST_INTEL) || defined(__SUNPRO_CC)
+ // Intel compiler and Sun Studio 12.3 have problems with friend declarations for nested class templates
 # define BOOST_LOG_NO_MEMBER_TEMPLATE_FRIENDS
 #endif
 

Modified: trunk/libs/log/doc/changelog.qbk
==============================================================================
--- trunk/libs/log/doc/changelog.qbk Tue Sep 24 14:35:07 2013 (r85872)
+++ trunk/libs/log/doc/changelog.qbk 2013-09-24 16:20:34 EDT (Tue, 24 Sep 2013) (r85873)
@@ -24,7 +24,7 @@
 * Fixed [link log.detailed.attributes.timer `timer`] attribute generating incorrect time readings on Windows on heavy thread contention when `QueryPerformanceCounter` API was used.
 * Fixed a bug in the filter parser that prevented using parsed filters with some attributes. For example, parsed filters didn't work with a string-typed attribute value, if the value was compared to a numeric operand.
 * Fixed thread id formatting discrepancies between the default sink and formatters.
-* Closed tickets: [ticket 8815], [ticket 8819], [ticket 8915], [ticket 8917], [ticket 9139], [ticket 9140].
+* Closed tickets: [ticket 8815], [ticket 8819], [ticket 8915], [ticket 8917], [ticket 9139], [ticket 9140], [ticket 9153].
 
 [heading 2.1, Boost 1.54]
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk