Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-686

va_copy is C99 (not C89) and is not supported by the Microsoft Visual Studio C compiler before VS 2013

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • proton-0.8
    • proton-0.8
    • proton-c
    • None

    Description

      in r1625123 proton-c/src/engine/string.c was introduced: this uses va_copy() in pn_string_vaddf().

      However this does not exist in the Microsoft C Compiler before VS 2013 (which has most of the useful C99 features in it).

      It is probable that the macro could be a simple assignment in any case as vsprintf() can't change the arguments.

      Attachments

        Activity

          People

            astitcher Andrew Stitcher
            astitcher Andrew Stitcher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: