Modulinos: Difference between revisions

Content deleted Content added
→‎{{header|OCaml}}: code no longer hides other errors
→‎{{header|C}}: Added works with.
Line 11: Line 11:


=={{header|C}}==
=={{header|C}}==

{{works with|GCC}}

C programs cannot normally do scripted main, because main() is implicitly included by another program, test.c, even though scriptedmain.h omits any main() prototype. A compiler directive fixes this.
C programs cannot normally do scripted main, because main() is implicitly included by another program, test.c, even though scriptedmain.h omits any main() prototype. A compiler directive fixes this.