Commit ae23f3ed by Tom Tromey Committed by Tom Tromey

* lang.c (lang_decode_option): Enable -Wunused when -Wall given.

From-SVN: r32591
parent 26725434
2000-03-16 Tom Tromey <tromey@cygnus.com>
* lang.c (lang_decode_option): Enable -Wunused when -Wall given.
2000-03-15 Tom Tromey <tromey@cygnus.com>
* decl.c (init_decl_processing): Set type of `sync_info' to be
......
......@@ -246,6 +246,9 @@ lang_decode_option (argc, argv)
{
flag_wall = 1;
flag_redundant = 1;
/* When -Wall given, enable -Wunused. We do this because the C
compiler does it, and people expect it. */
warn_unused = 1;
return 1;
}
......
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