[asterisk-bugs] [JIRA] (ASTERISK-27808) [patch] chan_vpb: Avoid GNU old-style field designator extension.

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Tue Apr 17 09:37:51 CDT 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Harwell updated ASTERISK-27808:
-------------------------------------

    Assignee: Alexander Traud

> [patch] chan_vpb: Avoid GNU old-style field designator extension.
> -----------------------------------------------------------------
>
>                 Key: ASTERISK-27808
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27808
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_vpb
>    Affects Versions: 13.20.0, 15.3.0
>         Environment: clang 6.0
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>            Severity: Trivial
>              Labels: patch
>         Attachments: chan_vpb_with_clang.patch
>
>
> On Ubuntu 18.04 LTS with clang 6.0, I go for:{code}sudo apt install build-essential pkg-config libblocksruntime-dev
> sudo apt install libedit-dev libjansson-dev libsqlite3-dev uuid-dev libxml2-dev
> sudo apt install libvpb-dev
> CC=clang CXX=clang++ ./configure
> make menuselect.makeopts
> ./menuselect/menuselect --enable chan_vpb{code}then 62 times:
> {code}chan_vpb.cc ... warning: use of GNU old-style field designator extension [-Wgnu-designator]{code}then 1 time:{code}chan_vpb.cc ... warning: unused variable 'desc' [-Wunused-const-variable]{code}The latter is not caught by GCC [because...|https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28901]



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list