You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/09/16 09:28:33 UTC

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

    [ https://issues.apache.org/jira/browse/PROTON-686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14135089#comment-14135089 ] 

ASF subversion and git services commented on PROTON-686:
--------------------------------------------------------

Commit 1625220 from [~astitcher] in branch 'proton/trunk'
[ https://svn.apache.org/r1625220 ]

PROTON-686, PROTON-???: Fix recent changes to compile on windows

> va_copy is C99 (not C89) and is not supported by the Microsoft 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
>            Assignee: 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)