You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2011/08/20 22:22:27 UTC

[lucy-issues] [jira] [Created] (LUCY-175) Missing stdarg.h breaks build

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.1 (incubating), 0.2.0 (incubating)
            Reporter: Marvin Humphrey
            Assignee: Marvin Humphrey
             Fix For: 0.2.2 (incubating), 0.3.0 (incubating)


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

        

[lucy-issues] [jira] [Updated] (LUCY-175) Missing stdarg.h breaks build

Posted by "Marvin Humphrey (JIRA)" <ji...@apache.org>.
     [ 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

        

[lucy-issues] [jira] [Resolved] (LUCY-175) Missing stdarg.h breaks build

Posted by "Marvin Humphrey (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCY-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marvin Humphrey resolved LUCY-175.
----------------------------------

    Resolution: Fixed
    
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira