diff options
author | Ian Lance Taylor <iant@google.com> | 2009-07-04 22:52:57 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2009-07-04 22:52:57 +0000 |
commit | 34097e36ee17821c0b83abe8d82b4bf8184dbf0b (patch) | |
tree | e929baa4b70920871d8ca1fd2a358806bcb34275 /gcc | |
parent | 94ab808c5d7f7510f8a173a2ce8f36b6026197f9 (diff) | |
download | gcc-34097e36ee17821c0b83abe8d82b4bf8184dbf0b.zip gcc-34097e36ee17821c0b83abe8d82b4bf8184dbf0b.tar.gz gcc-34097e36ee17821c0b83abe8d82b4bf8184dbf0b.tar.bz2 |
re PR target/40636 (Build failed with --enable-build-with-cxx (mingw32 target))
PR target/40636
* config/i386/msformat-c.c (mingw_format_attributes): Declare as
EXPORTED_CONST.
(mingw_format_attribute_overrides): Likewise.
From-SVN: r149243
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/i386/msformat-c.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6d96786..5e51659 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2009-07-04 Ian Lance Taylor <iant@google.com> + + PR target/40636 + * config/i386/msformat-c.c (mingw_format_attributes): Declare as + EXPORTED_CONST. + (mingw_format_attribute_overrides): Likewise. + 2009-07-04 Jakub Jelinek <jakub@redhat.com> PR debug/40596 diff --git a/gcc/config/i386/msformat-c.c b/gcc/config/i386/msformat-c.c index dec8f40..d7eb42d 100644 --- a/gcc/config/i386/msformat-c.c +++ b/gcc/config/i386/msformat-c.c @@ -145,7 +145,7 @@ static const format_char_info ms_time_char_table[] = { NULL, 0, STD_C89, NOLENGTHS, NULL, NULL, NULL } }; -const format_kind_info mingw_format_attributes[3] = +EXPORTED_CONST format_kind_info mingw_format_attributes[3] = { { "ms_printf", ms_printf_length_specs, ms_print_char_table, " +#0-'", NULL, ms_printf_flag_specs, ms_printf_flag_pairs, @@ -167,7 +167,7 @@ const format_kind_info mingw_format_attributes[3] = }; /* Default overrides for printf, scanf and strftime. */ -const target_ovr_attr mingw_format_attribute_overrides[4] = +EXPORTED_CONST target_ovr_attr mingw_format_attribute_overrides[4] = { { "ms_printf", "printf" }, { "ms_scanf", "scanf" }, |