Menu

#4 Generates bad pragma Convention

open
nobody
None
5
2008-01-08
2008-01-08
No

(Posted by dirk_dickmanns in a response to 1797851)

The following patch removes superfluous pragma Convention (C, "..."); lines (at least GNAT complains otherwise):

--- trunk/gen.c (revision 14)
+++ trunk/gen.c (working copy)
@@ -2674,7 +2674,7 @@

boolean was_to_spec = output_is_spec();
output_to(is_spec);
- putf("%>pragma Convention(C, %s);", 4, sym->sym_ada_name);
+ /* 2007-10-25 DDD !!! XXX putf("%>pragma Convention(C, %s);",
4, sym->sym_
ada_name); */
output_to(was_to_spec);
}
new_line();

Discussion


Log in to post a comment.

MongoDB Logo MongoDB