[Home]

Summary:ASTERISK-27808: [patch] chan_vpb: Avoid GNU old-style field designator extension.
Reporter:Alexander Traud (traud)Labels:patch
Date Opened:2018-04-17 04:49:56Date Closed:2018-04-19 14:38:20
Priority:TrivialRegression?
Status:Closed/CompleteComponents:Channels/chan_vpb
Versions:13.20.0 15.3.0 Frequency of
Occurrence
Related
Issues:
Environment:clang 6.0Attachments:( 0) chan_vpb_with_clang.patch
Description: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]
Comments:By: Asterisk Team (asteriskteam) 2018-04-17 04:49:57.393-0500

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].

By: Friendly Automation (friendly-automation) 2018-04-19 14:38:21.114-0500

Change 8788 merged by Jenkins2:
chan_vpb: Avoid GNU old-style field designator extension.

[https://gerrit.asterisk.org/8788|https://gerrit.asterisk.org/8788]

By: Friendly Automation (friendly-automation) 2018-04-19 14:42:40.398-0500

Change 8786 merged by Jenkins2:
chan_vpb: Avoid GNU old-style field designator extension.

[https://gerrit.asterisk.org/8786|https://gerrit.asterisk.org/8786]

By: Friendly Automation (friendly-automation) 2018-04-19 15:51:50.749-0500

Change 8787 merged by Jenkins2:
chan_vpb: Avoid GNU old-style field designator extension.

[https://gerrit.asterisk.org/8787|https://gerrit.asterisk.org/8787]