James Peach created TS-4603:
-------------------------------
Summary: 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
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)