From fd350d241fecf6ce538c72978ba4483e6a8fb549 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 14 Aug 2002 17:00:56 -0700 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/Makefile.in | 2 +- gcc/c-common.h | 2 +- 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 + + * Makefile.in (LOOSE_WARN): Add -fno-common. + * c-common.h (constant_string_class_name): Add missing extern. + 2002-08-15 Neil Booth 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. */ -- 2.30.2