Opened 13 years ago

Closed 12 years ago

#3302 closed Bugs (duplicate)

declaration of `class R' shadows template parm `class R

Reported by: richard.jaraczewski@… Owned by: Douglas Gregor
Milestone: Boost 1.40.0 Component: function
Version: Boost 1.39.0 Severity: Problem
Keywords: Cc:

Description

When compiling my app with exception handling disabled, I get the same error reported in tickets 2494 and 2499: /vobs/Opera_3rdParty/boost/boost/function/function_template.hpp:965: error: declaration of `class R' /vobs/Opera_3rdParty/boost/boost/function/function_template.hpp:654: error: shadows template parm `class R'

The fix indicated in 2494 solves the issue. It looks as if the version of function_template.hpp in 1.39.0 is still incorrect.

Change History (2)

comment:1 by Steven Watanabe, 13 years ago

Component: Nonefunction
Owner: set to Douglas Gregor

comment:2 by Jeremiah Willcock, 12 years ago

Resolution: duplicate
Status: newclosed

The fix for #2494 is in trunk and release branches, so this is likely to be fixed; I am marking at as duplicate of #2494. If there is a test case that still fails, please reopen this bug.

Note: See TracTickets for help on using tickets.