Opened 17 years ago

Closed 17 years ago

#427 closed Bugs (None)

sorry, unimplemented: call_expr cannot be mangled

Reported by: mattiasellert Owned by: John Maddock
Milestone: Component: type_traits
Version: None Severity:
Keywords: Cc:

Description

[ellert@ellert boost-test]$ rpm -q boost
boost-1.32.0-5.fc3
[ellert@ellert boost-test]$ gccxml --version
GCC-XML version 0.7.0
[ellert@ellert boost-test]$ gccxml -fxml=test.xml -I.
test.h
/usr/include/boost/tuple/detail/tuple_basic.hpp:311:
sorry, unimplemented: call_expr
   cannot be mangled due to a defect in the C++ ABI

If I apply the attached patch to
boost/type_traits/config.hpp it works:

[ellert@ellert boost-test]$ gccxml -fxml=test.xml -I.
-Ipatched test.h
[ellert@ellert boost-test]$ 

(I have removed the "xml_find_template_parm encountered
unsupported type" messages in the output above for
clarity.)

The files used in the example are attached in the tarfile.

Change History (2)

comment:1 by John Maddock, 17 years ago

Logged In: YES 
user_id=14804

Unfortunately the patch you suggest will cause other tests
that currently work perfectly well to fail.  I haven't
looked at your code yet, but which file do I have to build
to reproduce the problem?  Also have you tried your test
case with a regular gcc version, to verify that this isn't a
gccxml specific bug?

Thanks,

John Maddock

comment:2 by mattiasellert, 17 years ago

Status: assignedclosed
Logged In: YES 
user_id=1009278

Following your suggestion I submitted this bug to gccxml
instead. And you were right, this was a gccxml bug and not a
boost bug. My appologies.
Note: See TracTickets for help on using tickets.