[PATCH] Export darwin_additional_format_types
Jack Howarth
howarth@bromo.med.uc.edu
Wed Nov 17 15:29:00 GMT 2010
The attached patch resolves the issue of the symbol
darwin_additional_format_types being undefined during the
--enable-build-with-cxx bootstrap on darwin. Bootstrap and
regression tested on x86_64-apple-darwin10. Okay for gcc trunk?
Jack
2011-11-16 Jack Howarth <howarth@bromo.med.uc.edu>
Ian Lance Taylor <iant@google.com>
* config/darwin-c.c (darwin_additional_format_types): Export.
Index: gcc/config/darwin-c.c
===================================================================
--- gcc/config/darwin-c.c (revision 166794)
+++ gcc/config/darwin-c.c (working copy)
@@ -706,7 +706,7 @@
}
/* The extra format types we recognize. */
-const format_kind_info darwin_additional_format_types[] = {
+EXPORTED_CONST format_kind_info darwin_additional_format_types[] = {
{ "CFString", NULL, NULL, NULL, NULL,
NULL, NULL,
FMT_FLAG_ARG_CONVERT|FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL, 0, 0, 0, 0, 0, 0,
More information about the Gcc-patches
mailing list