When c++filt unmangles a function type as an argument to a template, it
incorrectly inserts a () between the return type and the argument list. For
instance, function<void ()> comes out as function<void ()()>. These parentheses
are needed if there is an additional declarator on the function type (such as a
pointer declarator, void (*)()), but cause parser errors if used otherwise.
--
Summary: c++filt does not unmangle function types correctly
Product: binutils
Version: 2.20
Status: NEW
Severity: minor
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: rideau3 at gmail dot com
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=11066
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils