mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-31 01:05:25 +08:00
* decl2.c (lang_decode_option): Remove -Wsign-promo from -Wall.
From-SVN: r26060
This commit is contained in:
parent
bba975d430
commit
9af3a23b20
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user