[asterisk-bugs] [JIRA] (ASTERISK-25592) Clang Warning: variable sized type not at end of a struct
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Wed Nov 25 07:58:33 CST 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=228457#comment-228457 ]
Asterisk Team commented on ASTERISK-25592:
------------------------------------------
Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.
A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.
Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].
> 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