Re: [Boost-bugs] [Boost C++ Libraries] #9189: Solaris Studio 12.3, boost::log: explicit template instantiations need "template<>"

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9189: Solaris Studio 12.3, boost::log: explicit template instantiations need "template<>"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-08 19:39:56


#9189: Solaris Studio 12.3, boost::log: explicit template instantiations need
"template<>"
--------------------------------------------------+---------------------
  Reporter: Brian Vandenberg <phantall+boost@…> | Owner: andysem
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: log
   Version: Boost 1.54.0 | Severity: Problem
Resolution: wontfix | Keywords:
--------------------------------------------------+---------------------

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

 In case it helps anyone, here's what I'm using to configure builds in
 Solaris:

 {{{
 # This is needed because the default for toolset=sun is stlport4
 ~ gsed -i -e 's/stlport4/stdcxx4/g' tools/build/v2/tools/sun.jam
 # This is needed because a macro attempts to include from the stlport4
 path
 ~ gsed -i -e 's/stlport4/stdcxx4/g' boost/tr1/detail/config_all.hpp
 ~ echo 'using sun : : /path/to/sunstudio/bin/CC :
 <cxxflags>"-features=tmplife,tmplrefstatic -template=no%extdef" ;' >>
 tools/build/v2/user-config.jam
 ~ ./bjam \
     --without-{graph{,_parallel},math,wave,iostreams,context,coroutine} \
     define={_GNU_SOURCE,BOOST_LOG_NO_MEMBER_TEMPLATE_FRIENDS} \
 define={_XOPEN_SOURCE=500,__EXTENSIONS__,_XPG5,_POSIX_C_SOURCE=200112L} \
     toolset=sun instruction-set=v9 address-model=32 \
     --build-type=minimal -j20 -d+2
 }}}

 In the 2nd set of defines: the 1st two are needed to get boost::asio to
 build, the latter 2 avert other build problems introduced by the first
 two.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9189#comment:4>
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