Commit 9af3a23b by Jason Merrill Committed by Jason Merrill

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

From-SVN: r26060
parent bba975d4
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.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment