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

Leif Hedstrom updated TS-4603:
------------------------------
    Assignee: James Peach

> 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.0.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)

Reply via email to