[asterisk-bugs] [JIRA] (ASTERISK-25592) Clang Warning: variable sized type not at end of a struct
Alexander Traud (JIRA)
noreply at issues.asterisk.org
Wed Nov 25 07:58:33 CST 2015
Alexander Traud created ASTERISK-25592:
------------------------------------------
Summary: Clang Warning: variable sized type not at end of a struct
Key: ASTERISK-25592
URL: https://issues.asterisk.org/jira/browse/ASTERISK-25592
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Channels/chan_unistim
Affects Versions: 13.6.0
Environment: Clang 3.3
Reporter: Alexander Traud
Severity: Minor
{{chan_unistim.c:1003:18: warning: field 'cm' with variable sized type 'struct cmsghdr' not at the end of a struct}}
This happened on Ubuntu 14.04 LTS:
{{sudo apt-get -y install build-essential libssl-dev libncurses-dev libnewt-dev libxml2-dev libsqlite3-dev uuid-dev libjansson-dev libblocksruntime-dev git iwyu}}
{{cd /usr/src/}}
{{git clone http://gerrit.asterisk.org/asterisk}}
{{cd asterisk/}}
{{CC=clang CXX=clang++ ./configure}}
{{make}}
The affected source code was introduced with [Mantis-8864|http://bugs.digium.com/view.php?id= 8864]. I have no idea what this code does and how it works. Therefore, I cannot provide a patch.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list