aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-08-14 17:00:56 -0700
committerRichard Henderson <rth@gcc.gnu.org>2002-08-14 17:00:56 -0700
commitfd350d241fecf6ce538c72978ba4483e6a8fb549 (patch)
tree548fe551fcdee2dd685c51071004d4a7a0349345
parent182d89a3e9e9477e6fd7fae846e2033ee6e287cd (diff)
downloadgcc-fd350d241fecf6ce538c72978ba4483e6a8fb549.zip
gcc-fd350d241fecf6ce538c72978ba4483e6a8fb549.tar.gz
gcc-fd350d241fecf6ce538c72978ba4483e6a8fb549.tar.bz2
Makefile.in (LOOSE_WARN): Add -fno-common.
* Makefile.in (LOOSE_WARN): Add -fno-common. * c-common.h (constant_string_class_name): Add missing extern. From-SVN: r56334
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/Makefile.in2
-rw-r--r--gcc/c-common.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2142ccd..eb1f217 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 658fce3..798426d 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -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
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 8cdbbcee..038b239 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -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. */