Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:misc
gcc3
gcc34-rh156291.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc34-rh156291.patch of Package gcc3
2005-09-29 Alexandre Oliva <aoliva@redhat.com> * error.c (dump_type) <UNKNOWN_TYPE>: Print reworded message. * g++.dg/overload/unknown1.C: New. --- gcc/cp/error.c.orig 2004-11-07 11:22:11.000000000 -0200 +++ gcc/cp/error.c 2005-09-29 16:13:20.000000000 -0300 @@ -302,7 +302,7 @@ switch (TREE_CODE (t)) { case UNKNOWN_TYPE: - pp_identifier (cxx_pp, "<unknown type>"); + pp_identifier (cxx_pp, "<unresolved overloaded function type>"); break; case TREE_LIST: --- gcc/testsuite/g++.dg/overload/unknown1.C 1970-01-01 00:00:00.000000000 +0000 +++ gcc/testsuite/g++.dg/overload/unknown1.C 2005-09-29 16:12:49.000000000 -0300 @@ -0,0 +1,9 @@ +// { dg-do compile } + +void foo(void); +int foo(int); +template <typename T> void bar(T f); + +void baz() { + bar(foo); // { dg-error "<unresolved overloaded function type>" } +}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor