Bug 500030 - function_template bug is back...
Summary: function_template bug is back...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: boost
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Benjamin Kosnik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-10 09:53 UTC by Caolan McNamara
Modified: 2013-08-09 05:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-12 00:31:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
fix up header (659 bytes, patch)
2009-05-10 09:54 UTC, Caolan McNamara
no flags Details | Diff

Description Caolan McNamara 2009-05-10 09:53:15 UTC
Description of problem:
/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'

during a build of OOo in post-F11 rawhide

Version-Release number of selected component (if applicable):
boost-1.39.0

The is the same problem of a misplaced ifdef in the case of disabled exceptions as was solved earlier by #477131 but the .hpp has moved around a bit in the new boost release, attached is a updated patch that should solve it

Comment 1 Caolan McNamara 2009-05-10 09:54:16 UTC
Created attachment 343252 [details]
fix up header

Comment 2 Benjamin Kosnik 2009-05-12 00:31:55 UTC
Thanks Caolan. This should be fixed now, with boost-1_39_0-2_fc12.

-benjamin


Note You need to log in before you can comment on or make changes to this bug.