diff options
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 7e4e956..2bce7f8 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -1096,7 +1096,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 ("vtable layout for class %qT may not be ABI-compliant" + warning (0, "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); |