]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/typeck.c
decl.c (cplus_expand_expr_stmt): Always complain about unresolved type.
authorJason Merrill <jason@yorick.cygnus.com>
Wed, 18 Nov 1998 12:27:30 +0000 (12:27 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 18 Nov 1998 12:27:30 +0000 (07:27 -0500)
commit59e76fc6ba25be94f98194ec5e4accdac8a50315
treef8d198f498d62e38807a0fd49db30db8a820e0ce
parentab1878854a909d581de35aaabe6b0e668781068c
decl.c (cplus_expand_expr_stmt): Always complain about unresolved type.

* 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

From-SVN: r23695
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
This page took 0.055921 seconds and 5 git commands to generate.