This is the mail archive of the cygwin-apps mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Then there is this const struct patch I applied, though I don't know if it is needed:
diff -urNd ORBit2-2.12.3/src/idl-compiler/orbit-idl-c-typecode.c ORBit2-2.12.2/src/idl-compiler/orbit-idl-c-typecode.c
--- ORBit2-2.12.3/src/idl-compiler/orbit-idl-c-typecode.c 2005-08-15 16:49:50.000000000 +0200
+++ ORBit2-2.12.2/src/idl-compiler/orbit-idl-c-typecode.c 2005-08-16 18:50:14.000000000 +0200
@@ -99,7 +99,7 @@
if (!IDL_TYPE_ENUM (node).enumerator_list)
break;
- fprintf (fh, "static const char *anon_subnames_array%d[] = {", subnames_id);
+ fprintf (fh, "static char *anon_subnames_array%d[] = {", subnames_id);
for (l = IDL_TYPE_ENUM (node).enumerator_list; l; l = IDL_LIST (l).next) {
g_assert (IDL_NODE_TYPE (IDL_LIST (l).data) == IDLN_IDENT);
@@ -116,7 +116,7 @@
if (!IDL_TYPE_STRUCT (node).member_list)
break;
- fprintf (fh, "static const char *anon_subnames_array%d[] = {", subnames_id);
+ fprintf (fh, "static char *anon_subnames_array%d[] = {", subnames_id);
for (l = IDL_TYPE_STRUCT (node).member_list; l; l = IDL_LIST (l).next) {
IDL_tree dcl;
@@ -148,7 +148,7 @@
if (!IDL_TYPE_UNION (node).switch_body)
break;
- fprintf (fh, "static const char * anon_subnames_array%d[] = {", subnames_id);
+ fprintf (fh, "static char * anon_subnames_array%d[] = {", subnames_id);
for (l = IDL_TYPE_UNION (node).switch_body; l; l = IDL_LIST (l).next) {
IDL_tree dcl, label;
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |