summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-15 00:00:56 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-15 00:00:56 +0000
commite23fd334f5220ef3b579f2553bf2be34c966c469 (patch)
tree548fe551fcdee2dd685c51071004d4a7a0349345
parent3c556f04c64ac43ce21344ceb0d94165934b2b52 (diff)
downloadppe42-gcc-e23fd334f5220ef3b579f2553bf2be34c966c469.tar.gz
ppe42-gcc-e23fd334f5220ef3b579f2553bf2be34c966c469.zip
* Makefile.in (LOOSE_WARN): Add -fno-common.
* c-common.h (constant_string_class_name): Add missing extern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56334 138bc75d-0d04-0410-961f-82ee72b054a4
-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 2142ccd750a..eb1f21717e3 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 658fce34e2c..798426d11be 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 8cdbbcee42a..038b23982e3 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. */
OpenPOWER on IntegriCloud