decl.c (cplus_expand_expr_stmt): Promote warning about naked member function referenc...
authorJason Merrill <jason@yorick.cygnus.com>
Mon, 16 Nov 1998 05:05:20 +0000 (05:05 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 16 Nov 1998 05:05:20 +0000 (00:05 -0500)
commit848b92e1cc58303988dadd22623b904697084092
tree0f6071e041f633ce262c6a0b66b63a6d1fb5e2eb
parent1f288b3fa1f207302986f89f2d76fa66c1c72b2d
decl.c (cplus_expand_expr_stmt): Promote warning about naked member function reference to error.

* decl.c (cplus_expand_expr_stmt): Promote warning about naked
member function reference to error.
* cvt.c (ocp_convert): Complain about converting an overloaded
function to void.
* init.c (build_offset_ref): Just return a lone static member
function.
* decl.c (cp_finish_decl): Only complain about real CONSTRUCTORs,
not internal ones.
* typeck.c (build_binary_op_nodefault): Improve error handling.
* decl.c (grokfndecl): Complain about making 'main' a template.
* typeck.c (string_conv_p): Don't convert from wchar_t[] to char*.
* call.c (build_method_call): Handle a BIT_NOT_EXPR around a
TYPE_DECL in a template.
* typeck2.c (my_friendly_abort): Add URL in the other case, too.

From-SVN: r23673
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cvt.c
gcc/cp/decl.c
gcc/cp/init.c
gcc/cp/typeck.c
gcc/cp/typeck2.c