diff options
author | Lee Millward <lmillward@gcc.gnu.org> | 2006-02-03 23:11:09 +0000 |
---|---|---|
committer | Lee Millward <lmillward@gcc.gnu.org> | 2006-02-03 23:11:09 +0000 |
commit | b323323f9b6324e9384b524e45ae0f4e406f9dc7 (patch) | |
tree | 5d08778d08f783d3ec1ddcdf874d0ebd56faa9b0 /gcc/cp/method.c | |
parent | 9b43c474f53803635b04c5b530f1ceddb13355f5 (diff) | |
download | gcc-b323323f9b6324e9384b524e45ae0f4e406f9dc7.tar.gz |
typeck.c (string_conv_p): Pass appropiate OPT_Wxxxx values when calling warning().
* typeck.c (string_conv_p): Pass appropiate
OPT_Wxxxx values when calling warning().
(build_array_ref, cxx_mark_addressable): Likewise.
(check_return_expr): Likewise.
* init.c (perform_member_init): Likewise.
(sort_mem_initializers, emit_mem_initializers): Likewise.
* class.c (check_field_decls): Likewise.
(warn_about_ambiguous_bases): Likewise.
* decl.c (pop_label, poplevel): Likewise.
(duplicate_decls, grok_op_properties): Likewise.
(start_preparsed_function, finish_function): Likewise.
* name-lookup.c (pushdecl_maybe_friend): Likewise.
(pushdecl_maybe_friend): Likewise.
* parser.c (cp_parser_warn_min_max): Likewise.
(cp_parser_cast_expression): Likewise.
* method.c (lazily_declare_fn): Likewise.
* cvt.c (convert_to_void): Likewise.
* mangle.c (finish_mangling): Likewise.
* cp-gimplify.c (gimplify_expr_stmt): Likewise
.
From-SVN: r110567
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r-- | gcc/cp/method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 4a1a4ed2dac..d2bee99dc5e 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -1135,7 +1135,7 @@ lazily_declare_fn (special_function_kind sfk, tree type) TYPE_METHODS list, which cause the destructor to be emitted in an incorrect location in the vtable. */ if (warn_abi && DECL_VIRTUAL_P (fn)) - warning (0, "vtable layout for class %qT may not be ABI-compliant" + warning (OPT_Wabi, "vtable layout for class %qT may not be ABI-compliant" "and may change in a future version of GCC due to " "implicit virtual destructor", type); |