Re: [Boost-bugs] [Boost C++ Libraries] #1197: patch: boost/function/function_base.hpp fails to compile with gcc -Wundef if BOOST_STRICT_CONFIG is not defined

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1197: patch: boost/function/function_base.hpp fails to compile with gcc -Wundef if BOOST_STRICT_CONFIG is not defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-10-31 10:11:42


#1197: patch: boost/function/function_base.hpp fails to compile with gcc -Wundef
if BOOST_STRICT_CONFIG is not defined
--------------------------------+-------------------------------------------
  Reporter: andyc_at_[hidden] | Owner: dgregor
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: function
   Version: Boost 1.34.1 | Severity: Problem
Resolution: fixed | Keywords:
--------------------------------+-------------------------------------------

Comment(by andyc_at_[hidden]):

 it's not fixed in 1_36_0. Here's the patch to fix it:

 ===== boost/function/function_base.hpp 1.1 vs edited =====
 --- 1.1/boost/function/function_base.hpp 2008-10-30 16:15:10 +00:00
 +++ edited/boost/function/function_base.hpp 2008-10-31 10:04:29 +00:00
 @@ -74,7 +74,7 @@

  #if defined (BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
 \
   || defined(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG)
 \
 - || !(BOOST_STRICT_CONFIG || !defined(__SUNPRO_CC) || __SUNPRO_CC >
 0x540)
 + || !(defined(BOOST_STRICT_CONFIG) || !defined(__SUNPRO_CC) ||
 __SUNPRO_CC > 0x540)
  # define BOOST_FUNCTION_NO_FUNCTION_TYPE_SYNTAX
  #endif

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/1197#comment:3>
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:49:59 UTC