c++/7546: g++: Internal compiler error in make_typename_type, at cp/decl.c:5715

Reichelt reichelt@igpm.rwth-aachen.de
Fri Aug 9 05:55:00 GMT 2002


Hi,

the lines where the error occurs read

  Binder2nd(const _Operation& __x,
            typename boost::type_traits<typename _Operation::second_argument_type>::param_type __y)

however, "type_traits" is a namespace and not a template! Hence, the
testcase is illegal code. In fact it's the same problem as in PR 7229
(see audit trail). Therefore this PR can probably closed as a duplicate
(although the testcases differ).

Greetings,
Volker Reichelt

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7546
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7229




More information about the Gcc-bugs mailing list