Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.2.0 (incubating), 0.2.1 (incubating)
    • Component/s: None
    • Labels:
      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.

      1. stdarg.patch
        6 kB
        Marvin Humphrey

        Activity

          People

          • Assignee:
            Marvin Humphrey
            Reporter:
            Marvin Humphrey
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development