Re: [Boost-bugs] [Boost C++ Libraries] #9153: Building boost::log in Sun Studio 12.3: boost::log::aux::light_function fails to build

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9153: Building boost::log in Sun Studio 12.3: boost::log::aux::light_function fails to build
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-23 21:25:10


#9153: Building boost::log in Sun Studio 12.3: boost::log::aux::light_function
fails to build
--------------------------------------------------+---------------------
  Reporter: Brian Vandenberg <phantall+boost@…> | Owner: andysem
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: log
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------------+---------------------

Comment (by Brian Vandenberg <phantall+boost@…>):

 As for the 'why' of this, I'm not really sure. The ```attribute_set```
 and ```attribute_value_set``` classes (among others) use this idiom of
 forward declaring a class before marking it as a friend class.

 I tried using some compiler options to force it to only use explicitly
 specialized versions of the class and the error wouldn't go away.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9153#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC