[ https://issues.apache.org/jira/browse/LUCY-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marvin Humphrey updated LUCY-175:
---------------------------------
Attachment: stdarg.patch
> Missing stdarg.h breaks build
> -----------------------------
>
> Key: LUCY-175
> URL: https://issues.apache.org/jira/browse/LUCY-175
> Project: Lucy
> Issue Type: Bug
> Affects Versions: 0.2.0 (incubating), 0.2.1 (incubating)
> Reporter: Marvin Humphrey
> Assignee: Marvin Humphrey
> Fix For: 0.2.2 (incubating), 0.3.0 (incubating)
>
> Attachments: stdarg.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|