| Summary: | ASTERISK-19540: Use of GNU old-style field designator extension | ||
| Reporter: | Makoto Dei (makoto) | Labels: | |
| Date Opened: | 2012-03-15 02:11:34 | Date Closed: | 2012-04-04 11:38:19 |
| Priority: | Trivial | Regression? | No |
| Status: | Closed/Complete | Components: | Addons/chan_ooh323 Applications/app_externalivr Applications/app_milliwatt Channels/chan_iax2 Channels/chan_sip/General Core/General PBX/pbx_loopback PBX/pbx_realtime Resources/res_fax_spandsp |
| Versions: | SVN | Frequency of Occurrence | |
| Related Issues: | |||
| Environment: | Attachments: | ( 0) clang-gnu-designator.patch | |
| Description: | There are some code which use GNU old-style field designator extension. These are not bugs. However clang (http://clang.llvm.org/) complains about them as follows. chan_iax2.c:14039:2: warning: use of GNU old-style field designator extension [-Wgnu-designator] name: "IAX2", ^~~~~ .name = So it would be nice if these were changed to new-style. See attached patch for details. | ||
| Comments: | |||