You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2014/09/16 05:15:34 UTC

[jira] [Created] (PROTON-686) va_copy is C99 (not C89) and is not supported by the Miscrosoft Visual Studio C compiler before VS 2013

Andrew Stitcher created PROTON-686:
--------------------------------------

             Summary: va_copy is C99 (not C89) and is not supported by the Miscrosoft Visual Studio C compiler before VS 2013
                 Key: PROTON-686
                 URL: https://issues.apache.org/jira/browse/PROTON-686
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: 0.8
            Reporter: Andrew Stitcher
            Priority: Blocker


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)