Commit 34097e36 by Ian Lance Taylor Committed by Ian Lance Taylor

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
parent 94ab808c
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
......
......@@ -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" },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment