You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/09/08 16:22:20 UTC

[jira] [Updated] (TS-4603) varargs promotion in NetworkMessage

     [ https://issues.apache.org/jira/browse/TS-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-4603:
------------------------------
    Fix Version/s:     (was: 7.0.0)
                   7.1.0

> varargs promotion in NetworkMessage
> -----------------------------------
>
>                 Key: TS-4603
>                 URL: https://issues.apache.org/jira/browse/TS-4603
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: James Peach
>            Assignee: James Peach
>             Fix For: 7.1.0
>
>
> Building with top-of-tree clang:
> {code}
> NetworkMessage.cc:137:16: error: passing an object that undergoes default argument promotion
>       to 'va_start' has undefined behavior [-Werror,-Wvarargs]
>   va_start(ap, optype);
>                ^
> NetworkMessage.cc:127:58: note: parameter of type 'OpType' is declared here
> send_mgmt_request(const mgmt_message_sender &snd, OpType optype, ...)
>                                                          ^
> NetworkMessage.cc:147:16: error: passing an object that undergoes default argument promotion
>       to 'va_start' has undefined behavior [-Werror,-Wvarargs]
>   va_start(ap, optype);
> {code}



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