Snippets for alsa-tools 1.2.15 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/alsa-tools/1.2.15/5.fc45/data/logs/i686/build.log.
-
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ -
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ -
hdspconf.cxx:116:21: warning: variable ‘lad_banner’ set but not used [-Wunused-but-set-variable=] 116 | HC_XpmRenderer *lad_banner; | ^~~~~~~~~~ -
hdspconf.cxx:117:21: warning: variable ‘alsa_logo’ set but not used [-Wunused-but-set-variable=] 117 | HC_XpmRenderer *alsa_logo; | ^~~~~~~~~ -
hdspconf.cxx:118:21: warning: variable ‘rme_logo’ set but not used [-Wunused-but-set-variable=] 118 | HC_XpmRenderer *rme_logo; | ^~~~~~~~ -
hdspconf.cxx:119:19: warning: variable ‘about_text’ set but not used [-Wunused-but-set-variable=] 119 | HC_AboutText *about_text; | ^~~~~~~~~~ -
HC_CardPane.cxx:31:37: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 31 | snprintf(name, 19, "Card %d (%s)", index+1, card_names[t]); | ^ -
HDSPMixerOutput.cxx:134:20: warning: ‘labels_aio_qs_playback’ defined but not used [-Wunused-variable] 134 | static char const *labels_aio_qs_playback[14] = { | ^~~~~~~~~~~~~~~~~~~~~~ -
HDSPMixerWindow.cxx:100:106: warning: array subscript has type ‘char’ [-Wchar-subscripts] 100 | w->inputs->strips[i]->meter->update(input_peaks[(w->cards[w->current_card]->meter_map_input[i])] & 0xffffff00, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -
HDSPMixerWindow.cxx:101:78: warning: array subscript has type ‘char’ [-Wchar-subscripts] 101 | input_peaks[(w->cards[w->current_card]->meter_map_input[i])] & 0xf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -
HDSPMixerWindow.cxx:102:76: warning: array subscript has type ‘char’ [-Wchar-subscripts] 102 | input_rms[(w->cards[w->current_card]->meter_map_input[i])]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -
HDSPMixerWindow.cxx:108:115: warning: array subscript has type ‘char’ [-Wchar-subscripts] 108 | w->playbacks->strips[i]->meter->update(playback_peaks[(w->cards[w->current_card]->meter_map_playback[i])] & 0xffffff00, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -
HDSPMixerWindow.cxx:109:84: warning: array subscript has type ‘char’ [-Wchar-subscripts] 109 | playback_peaks[(w->cards[w->current_card]->meter_map_playback[i])] & 0xf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -
HDSPMixerWindow.cxx:110:82: warning: array subscript has type ‘char’ [-Wchar-subscripts] 110 | playback_rms[(w->cards[w->current_card]->meter_map_playback[i])]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -
HDSPMixerWindow.cxx:116:111: warning: array subscript has type ‘char’ [-Wchar-subscripts] 116 | w->outputs->strips[i]->meter->update(output_peaks[(w->cards[w->current_card]->meter_map_playback[i])] & 0xffffff00, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -
HDSPMixerWindow.cxx:117:82: warning: array subscript has type ‘char’ [-Wchar-subscripts] 117 | output_peaks[(w->cards[w->current_card]->meter_map_playback[i])] & 0xf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -
HDSPMixerWindow.cxx:118:80: warning: array subscript has type ‘char’ [-Wchar-subscripts] 118 | output_rms[(w->cards[w->current_card]->meter_map_playback[i])]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -
HDSPMixerWindow.cxx:582:141: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 582 | if (fread((void *)&(inputs->strips[channel]->data[card][speed][preset]->pan_pos[0]), sizeof(int), pan_array_size, file) != pan_array_size) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
HDSPMixerWindow.cxx:585:143: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 585 | if (fread((void *)&(inputs->strips[channel]->data[card][speed][preset]->fader_pos[0]), sizeof(int), pan_array_size, file) != pan_array_size) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
HDSPMixerWindow.cxx:589:144: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 589 | if (fread((void *)&(playbacks->strips[channel]->data[card][speed][preset]->pan_pos[0]), sizeof(int), pan_array_size, file) != pan_array_size) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
HDSPMixerWindow.cxx:592:146: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 592 | if (fread((void *)&(playbacks->strips[channel]->data[card][speed][preset]->fader_pos[0]), sizeof(int), pan_array_size, file) != pan_array_size) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
HDSPMixerWindow.cxx:1278:26: warning: variable ‘gmute_active’ set but not used [-Wunused-but-set-variable=] 1278 | int err,gsolo_active,gmute_active, gmute, gsolo; | ^~~~~~~~~~~~ -
HDSPMixerGain.cxx:38:12: warning: ‘strncpy’ specified bound 10 equals destination size [-Wstringop-truncation] 38 | strncpy(text, txt, 10); | ^ -
Cus428State.h:186:13: warning: ‘Cus428State::Y’ will be initialized after [-Wreorder] 186 | int Y; | ^ -
Cus428State.h:161:26: warning: ‘Cus428_ctls* Cus428State::us428_ctls’ [-Wreorder] 161 | Cus428_ctls *us428_ctls; | ^~~~~~~~~~ -
Cus428State.h:33:9: warning: when initialized here [-Wreorder] 33 | Cus428State(struct us428ctls_sharedmem* Pus428ctls_sharedmem, int y = 8) | ^~~~~~~~~~~ -
Cus428_ctls.cc:34:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 34 | for (; n < sizeof(*this); n++) | ~~^~~~~~~~~~~~~~~ -
Cus428State.cc:83:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 83 | if (StateInputMonitor() && S <= eFader3 || S == eFaderM) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
us428control.cc:93:33: warning: unused variable ‘idx’ [-Wunused-variable] 93 | unsigned int idx, dsps, loaded; | ^~~ -
us428control.cc:93:38: warning: unused variable ‘dsps’ [-Wunused-variable] 93 | unsigned int idx, dsps, loaded; | ^~~~ -
us428control.cc:93:44: warning: unused variable ‘loaded’ [-Wunused-variable] 93 | unsigned int idx, dsps, loaded; | ^~~~~~ -
Cus428State.cc:323:16: warning: enumeration value ‘eFader0’ not handled in switch [-Wswitch] 323 | switch (W) { | ^ -
Cus428State.cc:323:16: warning: enumeration value ‘eFader1’ not handled in switch [-Wswitch]
-
Cus428State.cc:323:16: warning: enumeration value ‘eFader2’ not handled in switch [-Wswitch]
-
Cus428State.cc:323:16: warning: enumeration value ‘eFader3’ not handled in switch [-Wswitch]
-
Cus428State.cc:323:16: warning: enumeration value ‘eFader4’ not handled in switch [-Wswitch]
-
Cus428State.cc:323:16: warning: enumeration value ‘eFader5’ not handled in switch [-Wswitch]
-
Cus428State.cc:323:16: warning: enumeration value ‘eFader6’ not handled in switch [-Wswitch]
-
Cus428State.cc:323:16: warning: enumeration value ‘eFader7’ not handled in switch [-Wswitch]
-
Cus428State.cc:323:16: warning: enumeration value ‘eFaderM’ not handled in switch [-Wswitch]
-
Cus428State.cc:323:16: warning: enumeration value ‘eTransport’ not handled in switch [-Wswitch]
-
Cus428State.cc:323:16: warning: enumeration value ‘eModifier’ not handled in switch [-Wswitch]
-
Cus428State.cc:323:16: warning: enumeration value ‘eFilterSelect’ not handled in switch [-Wswitch]
-
Cus428State.cc:323:16: warning: enumeration value ‘eSelect’ not handled in switch [-Wswitch]
-
Cus428State.cc:323:16: warning: enumeration value ‘eMute’ not handled in switch [-Wswitch]
-
Cus428State.cc:323:16: warning: enumeration value ‘eSwitch’ not handled in switch [-Wswitch]
-
Cus428State.cc:845:16: warning: enumeration value ‘eFader0’ not handled in switch [-Wswitch] 845 | switch (W) { | ^ -
Cus428State.cc:845:16: warning: enumeration value ‘eFader1’ not handled in switch [-Wswitch]
-
Cus428State.cc:845:16: warning: enumeration value ‘eFader2’ not handled in switch [-Wswitch]
-
Cus428State.cc:845:16: warning: enumeration value ‘eFader3’ not handled in switch [-Wswitch]
-
Cus428State.cc:845:16: warning: enumeration value ‘eFader4’ not handled in switch [-Wswitch]
-
Cus428State.cc:845:16: warning: enumeration value ‘eFader5’ not handled in switch [-Wswitch]
-
Cus428State.cc:845:16: warning: enumeration value ‘eFader6’ not handled in switch [-Wswitch]
-
Cus428State.cc:845:16: warning: enumeration value ‘eFader7’ not handled in switch [-Wswitch]
-
Cus428State.cc:845:16: warning: enumeration value ‘eFaderM’ not handled in switch [-Wswitch]
-
Cus428State.cc:845:16: warning: enumeration value ‘eTransport’ not handled in switch [-Wswitch]
-
Cus428State.cc:845:16: warning: enumeration value ‘eModifier’ not handled in switch [-Wswitch]
-
Cus428State.cc:845:16: warning: enumeration value ‘eFilterSelect’ not handled in switch [-Wswitch]
-
Cus428State.cc:845:16: warning: enumeration value ‘eSelect’ not handled in switch [-Wswitch]
-
Cus428State.cc:845:16: warning: enumeration value ‘eMute’ not handled in switch [-Wswitch]
-
Cus428State.cc:845:16: warning: enumeration value ‘eSwitch’ not handled in switch [-Wswitch]
-
Cus428Midi.h:98:57: warning: ‘Param’ may be used uninitialized [-Wmaybe-uninitialized] 98 | snd_seq_ev_set_controller(&Ev, Channel, Param, Val & 0x7F); | ^ -
usbus428ctldefs.h:138:36: warning: ‘NewPan’ may be used uninitialized [-Wmaybe-uninitialized] 138 | if (NewPan < -128 || NewPan > 127) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~