Makefile.in (LOOSE_WARN): Add -fno-common.
authorRichard Henderson <rth@redhat.com>
Thu, 15 Aug 2002 00:00:56 +0000 (17:00 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 15 Aug 2002 00:00:56 +0000 (17:00 -0700)
        * Makefile.in (LOOSE_WARN): Add -fno-common.
        * c-common.h (constant_string_class_name): Add missing extern.

From-SVN: r56334

gcc/ChangeLog
gcc/Makefile.in
gcc/c-common.h

index 2142ccd750a7d5f8d29e38d5406e7d7454165c94..eb1f21717e334f84188c717150f5e22d44a984c9 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-14  Richard Henderson  <rth@redhat.com>
+
+       * Makefile.in (LOOSE_WARN): Add -fno-common.
+       * c-common.h (constant_string_class_name): Add missing extern.
+
 2002-08-15  Neil Booth  <neil@daikokuya.co.uk>
 
        PR preprocessor/7358
index 658fce34e2c2951981e06945d644b665eaf4b527..798426d11be18d223f83c412dfd823d216bd9c5e 100644 (file)
@@ -88,7 +88,7 @@ coverageexts = .{da,bb,bbg}
 # apply to the back end and the C front end, which may be compiled
 # with other compilers.  This is partially controlled by configure in
 # stage1, as not all versions of gcc understand -Wno-long-long.
-LOOSE_WARN = -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
+LOOSE_WARN = -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common
 STRICT_WARN = -Wtraditional @strict1_warn@
 STRICT2_WARN = -Wtraditional -pedantic -Wno-long-long
 
index 8cdbbcee42a9329b16982fceeef8043ba74069ff..038b23982e359b53b418bff93828f37f20f7985d 100644 (file)
@@ -606,7 +606,7 @@ extern int print_struct_values;
 
 /* ???.  Undocumented.  */
 
-const char *constant_string_class_name;
+extern const char *constant_string_class_name;
 
 /* Warn if multiple methods are seen for the same selector, but with
    different argument types.  */