Bug #1039
Compiler warnings with clang 11.0
Start date:
December 07, 2020
Due date:
% Done:
100%
Estimated time:
Affects version:
Description
The recently released Clang 11.0 generates the following compiler warnings for audacious-plugins:
hotkey (GTK):
gui.cc:71:5: warning: array designators are a C99 extension [-Wc99-designator]
[EVENT_PREV_TRACK] = N_("Previous track"),
^~~~~~~~~~~~~~~~~~
sid:
In file included from xs_config.cc:24:
./xmms-sid.h:39:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
^
xs_subtuneinfo_t
./xmms-sid.h:40:22: note: type is not C-compatible due to this default member initializer
int tuneLength = -1;
^~
./xmms-sid.h:41:3: note: type is given name 'xs_subtuneinfo_t' for linkage purposes by this typedef declaration
} xs_subtuneinfo_t;
^
History
#1
Updated by Thomas Lange almost 5 years ago
- Target version set to 4.1
#2
Updated by John Lindgren almost 5 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
