[Boost-bugs] [Boost C++ Libraries] #2605: boost/function/function_template.hxx causes compile errors with gcc >= 4.3.x

Subject: [Boost-bugs] [Boost C++ Libraries] #2605: boost/function/function_template.hxx causes compile errors with gcc >= 4.3.x
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-12-21 20:43:06


#2605: boost/function/function_template.hxx causes compile errors with gcc >=
4.3.x
--------------------------------------------------------+-------------------
 Reporter: Bernhard Rosenkraenzer <bero_at_[hidden]> | Owner: dgregor
     Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: function
  Version: Boost 1.37.0 | Severity: Problem
 Keywords: |
--------------------------------------------------------+-------------------
 In file included from
 /usr/include/boost/function/detail/maybe_include.hpp:13,
                  from
 /usr/include/boost/function/detail/function_iterate.hpp:14,
                  from
 /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:47,
                  from /usr/include/boost/function.hpp:64,
                  from ../inc/tools/AsynchronousCall.hxx:36,
                  from ../inc/DrawViewShell.hxx:35,
                  from /usr/src/ark/BUILD/ooo-
 build-3.0.1/build/ooo300-m14/sd/source/ui/app/sdmod2.cxx:79:
 /usr/include/boost/function/function_template.hpp:965: error: declaration
 of 'class R'
 /usr/include/boost/function/function_template.hpp:652: error: shadows
 template parm 'class R'
 /usr/include/boost/function/function_template.hpp:979: error: declaration
 of 'class R'
 /usr/include/boost/function/function_template.hpp:652: error: shadows
 template parm 'class R'
 /usr/include/boost/function/function_template.hpp:983: error: invalid use
 of incomplete type 'class boost::function0<R>'
 /usr/include/boost/function/function_template.hpp:667: error: declaration
 of 'class boost::function0<R>'
 /usr/include/boost/function/function_template.hpp:994: error: declaration
 of 'class R'
 /usr/include/boost/function/function_template.hpp:652: error: shadows
 template parm 'class R'
 /usr/include/boost/function/function_template.hpp:1000: error: 'void
 boost::function0<R>::operator==(const boost::function0<R>&, const
 boost::function0<R>&)' must take exactly one argument
 /usr/include/boost/function/function_template.hpp:1001: error: declaration
 of 'class R'
 /usr/include/boost/function/function_template.hpp:652: error: shadows
 template parm 'class R'
 /usr/include/boost/function/function_template.hpp:1007: error: 'void
 boost::function0<R>::operator!=(const boost::function0<R>&, const
 boost::function0<R>&)' must take exactly one argument
 /usr/include/boost/function/function_template.hpp:1017: error: declaration
 of 'class R'
 /usr/include/boost/function/function_template.hpp:652: error: shadows
 template parm 'class R'
 /usr/include/boost/function/function_template.hpp:1025: error: 'struct
 boost::function<R ()()>::clear_type' redeclared with different access
 /usr/include/boost/function/function_template.hpp:1098: error: 'class
 boost::function<R ()()>' redeclared with different access

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2605>
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