* decl2.c (lang_decode_option): Remove -Wsign-promo from -Wall.

From-SVN: r26060
This commit is contained in:
Jason Merrill 1999-03-29 16:13:51 +00:00 committed by Jason Merrill
parent bba975d430
commit 9af3a23b20
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
1999-03-29 Jason Merrill <jason@yorick.cygnus.com>
* decl2.c (lang_decode_option): Remove -Wsign-promo from -Wall.
1999-03-28 Jason Merrill <jason@yorick.cygnus.com>
* pt.c (fn_type_unification): Ignore 'this' parm from conversion ops.

View File

@ -711,25 +711,25 @@ lang_decode_option (argc, argv)
warn_return_type = setting;
warn_unused = setting;
warn_implicit = setting;
warn_ctor_dtor_privacy = setting;
warn_switch = setting;
warn_format = setting;
warn_parentheses = setting;
warn_missing_braces = setting;
warn_sign_compare = setting;
warn_extern_inline = setting;
warn_nonvdtor = setting;
warn_multichar = setting;
/* We save the value of warn_uninitialized, since if they put
-Wuninitialized on the command line, we need to generate a
warning about not using it without also specifying -O. */
if (warn_uninitialized != 1)
warn_uninitialized = (setting ? 2 : 0);
warn_reorder = setting;
warn_sign_promo = setting;
/* Only warn about unknown pragmas that are not in system
headers. */
warn_unknown_pragmas = 1;
/* C++-specific warnings. */
warn_ctor_dtor_privacy = setting;
warn_nonvdtor = setting;
warn_reorder = setting;
warn_nontemplate_friend = setting;
}
else return strings_processed;