[asterisk-bugs] [JIRA] (ASTERISK-25592) chan_unistim: Clang Warning: variable sized type not at end of a struct

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Jan 22 04:41:33 CST 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229116#comment-229116 ] 

Asterisk Team commented on ASTERISK-25592:
------------------------------------------

This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.

> chan_unistim: 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
>            Assignee: Igor Goncharovsky
>            Severity: Minor
>         Attachments: unistim.clang.patch
>
>
> {{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