* decl.c (cplus_expand_expr_stmt): Always complain about unresolved
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Nov 1998 12:27:30 +0000 (12:27 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Nov 1998 12:27:30 +0000 (12:27 +0000)
commit6cbb4197f8978be82fdbf13eb6e35a7ac34cfb95
treef8d198f498d62e38807a0fd49db30db8a820e0ce
parentec35db73dc154a6550905f09e29bca85037a97de
* decl.c (cplus_expand_expr_stmt): Always complain about unresolved
type.
Fixes Sec13/4/E13417.C
* tree.c (lvalue_p_1): An INDIRECT_REF to a function is an lvalue.
* call.c (build_object_call): Also support references to functions.
* typeck.c (convert_for_initialization): Don't decay a function
if the target is a reference to function.
Fixes Sec13/2_1_1_2/P13120.C
* search.c (add_conversions): Get all the overloads from a class.
Fixes Sec13/2/P13101.C
* decl.c (grok_ctor_properties): Complain about any constructor
that will take a single arg of the class type by value.
Fixes Sec12/8/S12072.C
* typeck2.c (build_functional_cast): Can't create objects of
abstract classes this way.
* cvt.c (ocp_convert): Likewise.
Fixes Sec10/4/S10018.C
* decl.c (grokfndecl): Member functions of local classes are not
public.
Fixes Sec10/3/P10092.C

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23695 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cvt.c
gcc/cp/decl.c
gcc/cp/search.c
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/cp/typeck2.c