Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.2.0 (incubating), 0.2.1 (incubating)
-
None
-
None
Description
The autogenerated header file "autogen/Lucy/Test.h", derived from
core/Lucy/Test.cfh, incorporates va_list arguments and therefore requires
stdarg.h. The fact that stdarg.h is missing causes autogen/parcel.c to fail
to build on some systems.
The solution is to pound-include stdarg.h within charmony.h, which gets
pound-included before any autogenerated header content. Alternately, we could
pound-include stdarg.h within Test.cfh alone (as was done within CharBuf.cfh)
but since Clownfish always allows va_list as a variable type specifier, the
more robust fix is to ensure that stdarg.h is always pound-included where it
might be needed.
This problem does not afflict 0.1.x because by coincidence, Test.h was always
pound-included after another header file which pulled in stdarg.h.