]> gcc.gnu.org Git - gcc.git/commitdiff
* lang.c (lang_decode_option): Enable -Wunused when -Wall given.
authorTom Tromey <tromey@cygnus.com>
Thu, 16 Mar 2000 17:26:46 +0000 (17:26 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 16 Mar 2000 17:26:46 +0000 (17:26 +0000)
From-SVN: r32591

gcc/java/ChangeLog
gcc/java/lang.c

index 685972e1f76b9708640742b5e2068a50db0062ee..56435eb829cb3a1cc39250092de4ea678b4736c8 100644 (file)
@@ -1,3 +1,7 @@
+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
index d11cee1915c5ba37592d7d459546c43f380aba4e..d6c808a3eceb2747375eed8a942e046c218a7e4f 100644 (file)
@@ -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;
     }
 
This page took 0.0782119999999999 seconds and 5 git commands to generate.