Snippets for ardour 8.12.0 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/ardour/8.12.0_3/150amd64-default.log.
-
../libs/pbd/string_convert.cc:154:9: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 154 | val = std::numeric_limits<FloatType>::infinity (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/pbd/string_convert.cc:158:10: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 158 | val = -std::numeric_limits<FloatType>::infinity (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/pbd/string_convert.cc:313:13: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 313 | if (val == std::numeric_limits<FloatType>::infinity ()) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/pbd/string_convert.cc:316:21: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 316 | } else if (val == -std::numeric_limits<FloatType>::infinity ()) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/temporal/tempo.cc:2624:11: warning: unused variable 'beats_delta' [-Wunused-variable] 2624 | Beats beats_delta = _meters.front().to_quarters (delta); | ^~~~~~~~~~~ -
../libs/temporal/tempo.cc:3849:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 3849 | int cnt = 0; | ^ -
../libs/ptformat/ptformat.cc:669:11: warning: variable 'i' set but not used [-Wunused-but-set-variable] 669 | uint32_t i, n; | ^ -
../libs/ptformat/ptformat.cc:1121:39: warning: variable 'mindex' set but not used [-Wunused-but-set-variable] 1121 | uint32_t i, j, k, n, rindex, tindex, mindex, count, rawindex; | ^ -
../libs/lua/lua-5.3.5/lundump.c:237:33: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 237 | checkliteral(S, LUA_SIGNATURE + 1, "not a"); /* 1st char already checked */ | ~~~~~~~~~~~~~~^~~ -
../libs/audiographer/src/general/analyser.cc:310:46: warning: use of infinity via a macro is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 310 | return a > 1e-12 ? 10.0 * fast_log10 (a) : -INFINITY; | ^ -
../libs/ardour/ardour/dB.h:40:30: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 40 | if (coeff < 1e-15) return -std::numeric_limits<float>::infinity(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/fluidsynth/src/fluid_sfont.c:492:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 492 | new_fluid_sample() | ^ | void -
../libs/fluidsynth/src/fluid_sfont.c:539:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 539 | size_t fluid_sample_sizeof() | ^ | void -
../libs/fluidsynth/src/fluid_midi.c:1057:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1057 | new_fluid_midi_event() | ^ | void -
../libs/fluidsynth/src/fluid_event.c:58:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | new_fluid_event() | ^ | void -
../libs/fluidsynth/src/fluid_mod.c:485:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 485 | new_fluid_mod() | ^ | void -
../libs/fluidsynth/src/fluid_mod.c:516:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 516 | size_t fluid_mod_sizeof() | ^ | void -
../libs/fluidsynth/src/fluid_defsfont.c:1695:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1695 | new_fluid_inst() | ^ | void -
../libs/libltc/decoder.c:106:11: warning: use of infinity via a macro is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 106 | return -INFINITY; | ^ -
../libs/zita-resampler/zita-resampler/resampler.h:73:23: warning: private field '_dummy' is not used [-Wunused-private-field] 73 | void *_dummy [8]; | ^ -
../libs/zita-resampler/zita-resampler/vresampler.h:79:23: warning: private field '_dummy' is not used [-Wunused-private-field] 79 | void *_dummy [8]; | ^ -
../libs/zita-convolver/zita-convolver/zita-convolver.h:225:6: warning: private field '_error' is not used [-Wunused-private-field] 225 | int _error; | ^ -
../libs/zita-convolver/zita-convolver/zita-convolver.h:423:13: warning: private field '_dummy' is not used [-Wunused-private-field] 423 | void* _dummy[64]; | ^ -
../libs/ardour/port_insert.cc:50:59: warning: base class 'ARDOUR::IOProcessor' is uninitialized when used here to access 'ARDOUR::IOProcessor::_bitslot' [-Wuninitialized] 50 | : IOProcessor (s, true, true, name_and_id_new_insert (s, _bitslot), "", DataType::AUDIO, true) | ^ -
../libs/ardour/luaproc.cc:1166:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 1166 | int cnt = 0; | ^ -
../libs/ardour/export_profile_manager.cc:303:9: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] 303 | return set_global_state (root) & set_local_state (root); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | && -
../libs/ardour/export_profile_manager.cc:309:9: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] 309 | return init_filenames (root.children ("ExportFilename")) & | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | && 310 | init_formats (root.children ("ExportFormat")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/ardour/export_profile_manager.cc:316:9: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] 316 | return init_timespans (root.children ("ExportTimespan")) & | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | && 317 | init_channel_configs (root.children ("ExportChannelConfiguration")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/ardour/triggerbox.cc:1024:2: warning: when Global Quantize is implemented, use that instead of '1 bar' here [-W#warnings] 1024 | #warning when Global Quantize is implemented, use that instead of '1 bar' here | ^ -
../libs/ardour/triggerbox.cc:1719:30: warning: expression result unused [-Wunused-value] 1719 | DEBUG_RESULT (double, est, _estimated_tempo); | ^~~~~~~~~~~~~~~~ -
../libs/ardour/triggerbox.cc:3256:26: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] 3256 | if (c == cues.rend() || (c->cue == CueRecord::stop_all) | (c->time == transport_position)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | || -
../libs/ardour/transport_fsm.cc:727:40: warning: expression result unused [-Wunused-value] 727 | DEBUG_RESULT (const MotionState, old, _motion_state); | ^~~~~~~~~~~~~ -
../libs/ardour/transport_fsm.cc:736:40: warning: expression result unused [-Wunused-value] 736 | DEBUG_RESULT (const ButlerState, old, _butler_state); | ^~~~~~~~~~~~~ -
../libs/ardour/transport_fsm.cc:745:43: warning: expression result unused [-Wunused-value] 745 | DEBUG_RESULT (const DirectionState, old, _direction_state); | ^~~~~~~~~~~~~~~~ -
../libs/ardour/track.cc:1063:14: warning: variable 'total_capture' set but not used [-Wunused-but-set-variable] 1063 | samplecnt_t total_capture = 0; | ^ -
../libs/ardour/ladspa_plugin.cc:684:11: warning: variable 'in_index' set but not used [-Wunused-but-set-variable] 684 | uint32_t in_index = 0; | ^ -
../libs/ardour/ladspa_plugin.cc:685:11: warning: variable 'out_index' set but not used [-Wunused-but-set-variable] 685 | uint32_t out_index = 0; | ^ -
../libs/audiographer/audiographer/general/silence_trimmer.h:44:77: warning: use of infinity via a macro is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 44 | SilenceTrimmer(samplecnt_t silence_buffer_size_ = 1024, float thresh_dB = -INFINITY) | ^ -
../libs/ardour/export_graph_builder.cc:1003:25: warning: use of infinity via a macro is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 1003 | if (est >= 0.f) est = -INFINITY; | ^ -
../libs/ardour/dsp_filter.cc:568:46: warning: use of infinity via a macro is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 568 | return a > 1e-12 ? 10.0 * fast_log10 (a) : -INFINITY; | ^ -
../libs/ardour/minibpm.cc:173:12: warning: private field 'm_fs' is not used [-Wunused-private-field] 173 | double m_fs; | ^ -
../libs/ardour/globals.cc:876:7: warning: unused variable 'fpu' [-Wunused-variable] 876 | FPU* fpu = FPU::instance (); | ^~~ -
../libs/ardour/ardour/session_configuration.h:76:6: warning: private field 'foo' is not used [-Wunused-private-field] 76 | int foo; | ^ -
../libs/pbd/pbd/abstract_ui.cc:223:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 223 | int cnt = 0; | ^ -
../libs/ardour/return.cc:49:81: warning: base class 'ARDOUR::IOProcessor' is uninitialized when used here to access 'ARDOUR::IOProcessor::_bitslot' [-Wuninitialized] 49 | : IOProcessor (s, (internal ? false : true), false, name_and_id_new_return (s, _bitslot), "", DataType::AUDIO, true) | ^ -
../libs/ardour/region_fx_plugin.cc:986:15: warning: unused variable 'r' [-Wunused-variable] 986 | bool const r = _plugins.front ()->match_variable_io (din, daux, dout); | ^ -
../libs/ardour/ardour/ffmpegfilesource.h:56:6: warning: private field '_channel' is not used [-Wunused-private-field] 56 | int _channel; | ^ -
../libs/ardour/midi_model.cc:1134:6: warning: variable 'id' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] 1134 | if (!n->get_property ("property", c.property) || !n->get_property ("id", id)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/ardour/meter.cc:163:23: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 163 | _peak_power[n] = -std::numeric_limits<float>::infinity (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/ardour/meter.cc:169:23: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 169 | _peak_power[n] = -std::numeric_limits<float>::infinity (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/ardour/meter.cc:194:26: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 194 | _peak_power[i] = -std::numeric_limits<float>::infinity (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/ardour/meter.cc:210:23: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 210 | _peak_power[i] = -std::numeric_limits<float>::infinity (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/ardour/meter.cc:321:28: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 321 | _peak_power.push_back (-std::numeric_limits<float>::infinity ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/ardour/meter.cc:420:21: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 420 | float mcptmp = -std::numeric_limits<float>::infinity (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 47 | typedef void (*GtkItemFactoryCallback) (); | ^ | void -
/usr/local/include/glibmm-2.4/glibmm/containers.h:212:12: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] 212 | return *static_cast<pointer>(nullptr); // boom! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/gtkmm2ext/gtkmm2ext/cairo_widget.h:145:8: warning: private field '_nsglview' is not used [-Wunused-private-field] 145 | void* _nsglview; | ^ -
../libs/canvas/table.cc:36:13: warning: braces around scalar initializer [-Wbraced-scalar-init] 36 | , padding ({ 0 }) | ^~~~~ -
../libs/canvas/table.cc:37:12: warning: braces around scalar initializer [-Wbraced-scalar-init] 37 | , margin ({ 0 }) | ^~~~~ -
../libs/canvas/table.cc:49:13: warning: braces around scalar initializer [-Wbraced-scalar-init] 49 | , padding ({ 0 }) | ^~~~~ -
../libs/canvas/table.cc:50:12: warning: braces around scalar initializer [-Wbraced-scalar-init] 50 | , margin ({ 0 }) | ^~~~~ -
../libs/canvas/canvas/table.h:98:7: warning: private field 'collapse_on_hide' is not used [-Wunused-private-field] 98 | bool collapse_on_hide; | ^ -
../libs/canvas/canvas/table.h:101:7: warning: private field 'draw_hgrid' is not used [-Wunused-private-field] 101 | bool draw_hgrid; | ^ -
../libs/canvas/canvas/table.h:102:7: warning: private field 'draw_vgrid' is not used [-Wunused-private-field] 102 | bool draw_vgrid; | ^ -
../libs/canvas/canvas/step_button.h:63:7: warning: private field 'dragging' is not used [-Wunused-private-field] 63 | bool dragging; | ^ -
../libs/canvas/canvas/step_button.h:64:7: warning: private field 'clicking' is not used [-Wunused-private-field] 64 | bool clicking; | ^ -
../libs/canvas/canvas/step_button.h:65:9: warning: private field 'scale' is not used [-Wunused-private-field] 65 | double scale; | ^ -
../libs/ctrl-interface/midi_surface/midi_byte_array.cc:47:22: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 47 | va_start (var_args, first); | ^ -
../libs/aaf/AAFIEssenceFile.c:360:8: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 360 | int tmp = 0; | ^ -
../libs/aaf/AAFIParser.c:292:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 292 | int rc = snprintf (audioEssenceFile->originationDate, sizeof (((aafiAudioEssenceFile*)0)->originationDate), "%04u:%02u:%02u", | ^ -
../libs/aaf/AAFDump.c:112:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] 112 | int i = 0; | ^ -
../libs/aaf/AAFToText.c:120:7: warning: unused variable 'rc' [-Wunused-variable] 120 | int rc = snprintf (str, sizeof (str), "%04i-%02u-%02u %02u:%02u:%02u.%02u", | ^~ -
../libs/aaf/AAFToText.c:146:7: warning: unused variable 'rc' [-Wunused-variable] 146 | int rc = snprintf (str, sizeof (str), "%i.%i", | ^~ -
../libs/aaf/AAFToText.c:167:7: warning: unused variable 'rc' [-Wunused-variable] 167 | int rc = snprintf (str, sizeof (str), "%u.%u.%u.%u %s (%i)", | ^~ -
../libs/aaf/AAFToText.c:956:8: warning: unused variable 'rc' [-Wunused-variable] 956 | int rc = snprintf (TEXTDataDef, sizeof (TEXTDataDef), "%s", name); | ^~ -
../libs/aaf/AAFToText.c:1056:8: warning: unused variable 'rc' [-Wunused-variable] 1056 | int rc = snprintf (TEXTOperationDef, sizeof (TEXTOperationDef), "%s", name); | ^~ -
../libs/aaf/AAFToText.c:1248:8: warning: unused variable 'rc' [-Wunused-variable] 1248 | int rc = snprintf (TEXTParameterDef, sizeof (TEXTParameterDef), "%s", name); | ^~ -
../libs/aaf/AAFToText.c:2002:9: warning: unused variable 'rc' [-Wunused-variable] 2002 | int rc = snprintf (PIDText, sizeof (PIDText), "%s%s%s", | ^~ -
../libs/aaf/AAFToText.c:2241:8: warning: unused variable 'rc' [-Wunused-variable] 2241 | int rc = snprintf (ClassIDText, sizeof (ClassIDText), "%s%s%s", | ^~ -
../libs/aaf/AAFToText.c:2268:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 2268 | int rc = 0; | ^ -
../libs/qm-dsp/ext/kissfft/tools/kiss_fftr.c:53:18: warning: cast from 'char *' to 'kiss_fft_cpx *' increases required alignment from 1 to 8 [-Wcast-align] 53 | st->tmpbuf = (kiss_fft_cpx *) (((char *) st->substate) + subsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/qm-dsp/maths/MathUtilities.cpp:247:19: warning: cast from 'const void *' to 'int *' drops const qualifier [-Wcast-qual] 247 | return ( *(int*)a - *(int*)b ); | ^ -
../libs/qm-dsp/maths/MathUtilities.cpp:247:30: warning: cast from 'const void *' to 'int *' drops const qualifier [-Wcast-qual] 247 | return ( *(int*)a - *(int*)b ); | ^ -
../libs/qm-dsp/dsp/tempotracking/TempoTrack.h:92:13: warning: private field 'm_ACoeffs' is not used [-Wunused-private-field] 92 | double* m_ACoeffs; | ^ -
../libs/qm-dsp/dsp/tempotracking/TempoTrack.h:93:13: warning: private field 'm_BCoeffs' is not used [-Wunused-private-field] 93 | double* m_BCoeffs; | ^ -
../libs/vamp-pyin/PYinVamp.cpp:502:11: warning: variable 'salienceSum' set but not used [-Wunused-but-set-variable] 502 | float salienceSum = 0; | ^ -
../libs/vamp-pyin/Yin.cpp:100:12: warning: variable 'probSum' set but not used [-Wunused-but-set-variable] 100 | double probSum = 0; | ^ -
../libs/clearlooks-newer/clearlooks_draw.c:1428:45: warning: implicit conversion from 'double' to 'int' changes value from 1.5 to 1 [-Wliteral-conversion] 1427 | params->style_functions->draw_separator (cr, colors, params, &separator, | ~~~~~~ 1428 | 1.5, 4.0, 2, height-8.0); | ^~~ -
../libs/clearlooks-newer/clearlooks_draw_gummy.c:1154:45: warning: implicit conversion from 'double' to 'int' changes value from 1.5 to 1 [-Wliteral-conversion] 1153 | params->style_functions->draw_separator (cr, colors, params, &separator, | ~~~~~~ 1154 | 1.5, 4.0, 2, height-8.0); | ^~~ -
../libs/clearlooks-newer/clearlooks_draw_inverted.c:734:45: warning: implicit conversion from 'double' to 'int' changes value from 1.5 to 1 [-Wliteral-conversion] 733 | params->style_functions->draw_separator (cr, colors, params, &separator, | ~~~~~~ 734 | 1.5, 4.0, 2, height-8.0); | ^~~ -
../libs/clearlooks-newer/clearlooks_draw_glossy.c:1080:45: warning: implicit conversion from 'double' to 'int' changes value from 1.5 to 1 [-Wliteral-conversion] 1079 | params->style_functions->draw_separator (cr, colors, params, &separator, | ~~~~~~ 1080 | 1.5, 4.0, 2, height-8.0); | ^~~ -
../libs/clearlooks-newer/support.c:59:19: warning: cast from 'const struct _GtkWidget *' to 'void *' drops const qualifier [-Wcast-qual] 59 | while (parent && GTK_WIDGET_NO_WINDOW (parent) && !((GTK_IS_NOTEBOOK (parent)) || (GTK_IS_TOOLBAR (parent)))) | ^ -
../libs/clearlooks-newer/support.c:59:55: warning: cast from 'const struct _GtkWidget *' to 'struct _GTypeInstance *' drops const qualifier [-Wcast-qual] 59 | while (parent && GTK_WIDGET_NO_WINDOW (parent) && !((GTK_IS_NOTEBOOK (parent)) || (GTK_IS_TOOLBAR (parent)))) | ^ -
../libs/clearlooks-newer/support.c:59:85: warning: cast from 'const struct _GtkWidget *' to 'struct _GTypeInstance *' drops const qualifier [-Wcast-qual] 59 | while (parent && GTK_WIDGET_NO_WINDOW (parent) && !((GTK_IS_NOTEBOOK (parent)) || (GTK_IS_TOOLBAR (parent)))) | ^ -
../libs/clearlooks-newer/support.c:65:15: warning: cast from 'const struct _GtkWidget *' to 'void *' drops const qualifier [-Wcast-qual] 65 | state_type = GTK_WIDGET_STATE (parent); | ^ -
../libs/clearlooks-newer/clearlooks_style.c:64:70: warning: cast from 'const struct _GtkStyle *' to 'void *' drops const qualifier [-Wcast-qual] 64 | params->style_functions = &(clearlooks_style_class->style_functions[CLEARLOOKS_STYLE (style)->style]); | ^ -
../libs/clearlooks-newer/clearlooks_style.c:75:24: warning: cast from 'const struct _GtkStyle *' to 'void *' drops const qualifier [-Wcast-qual] 75 | params->radius = CLEARLOOKS_STYLE (style)->radius; | ^ -
../libs/clearlooks-newer/clearlooks_style.c:87:21: warning: cast from 'const struct _GtkStyle *' to 'void *' drops const qualifier [-Wcast-qual] 87 | params->parentbg = CLEARLOOKS_STYLE (style)->colors.bg[state_type]; | ^ -
../libs/clearlooks-newer/clearlooks_style.c:204:19: warning: implicit conversion from enumeration type 'GtkShadowType' to different enumeration type 'ClearlooksShadowType' [-Wenum-conversion] 204 | frame.shadow = shadow_type; | ~ ^~~~~~~~~~~ -
../libs/clearlooks-newer/clearlooks_style.c:228:18: warning: implicit conversion from enumeration type 'GtkShadowType' to different enumeration type 'ClearlooksShadowType' [-Wenum-conversion] 228 | frame.shadow = shadow_type; | ~ ^~~~~~~~~~~ -
../libs/clearlooks-newer/clearlooks_style.c:261:21: warning: implicit conversion from enumeration type 'GtkShadowType' to different enumeration type 'ClearlooksShadowType' [-Wenum-conversion] 261 | frame.shadow = shadow_type; | ~ ^~~~~~~~~~~ -
../libs/clearlooks-newer/clearlooks_style.c:262:21: warning: implicit conversion from enumeration type 'GtkPositionType' to different enumeration type 'ClearlooksGapSide' [-Wenum-conversion] 262 | frame.gap_side = gap_side; | ~ ^~~~~~~~ -
../libs/clearlooks-newer/clearlooks_style.c:693:30: warning: implicit conversion from enumeration type 'GtkProgressBarOrientation' to different enumeration type 'ClearlooksOrientation' [-Wenum-conversion] 693 | progressbar.orientation = gtk_progress_bar_get_orientation (GTK_PROGRESS_BAR (widget)); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/clearlooks-newer/clearlooks_style.c:707:31: warning: implicit conversion from enumeration type 'GtkProgressBarOrientation' to different enumeration type 'ClearlooksOrientation' [-Wenum-conversion] 707 | progressbar.orientation = GTK_PROGRESS_RIGHT_TO_LEFT; | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/clearlooks-newer/clearlooks_style.c:709:31: warning: implicit conversion from enumeration type 'GtkProgressBarOrientation' to different enumeration type 'ClearlooksOrientation' [-Wenum-conversion] 709 | progressbar.orientation = GTK_PROGRESS_LEFT_TO_RIGHT; | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/clearlooks-newer/clearlooks_style.c:969:25: warning: implicit conversion from enumeration type 'GtkShadowType' to different enumeration type 'ClearlooksShadowType' [-Wenum-conversion] 969 | checkbox.shadow_type = shadow_type; | ~ ^~~~~~~~~~~ -
../libs/clearlooks-newer/clearlooks_style.c:996:25: warning: implicit conversion from enumeration type 'GtkShadowType' to different enumeration type 'ClearlooksShadowType' [-Wenum-conversion] 996 | checkbox.shadow_type = shadow_type; | ~ ^~~~~~~~~~~ -
../libs/clearlooks-newer/clearlooks_style.c:1102:21: warning: implicit conversion from enumeration type 'GtkShadowType' to different enumeration type 'ClearlooksShadowType' [-Wenum-conversion] 1102 | frame.shadow = shadow_type; | ~ ^~~~~~~~~~~ -
../libs/clearlooks-newer/clearlooks_style.c:1103:21: warning: implicit conversion from enumeration type 'GtkPositionType' to different enumeration type 'ClearlooksGapSide' [-Wenum-conversion] 1103 | frame.gap_side = gap_side; | ~ ^~~~~~~~ -
../libs/clearlooks-newer/clearlooks_style.c:1432:24: warning: cast from 'const struct _GdkPixbuf *' to 'struct _GTypeInstance *' drops const qualifier [-Wcast-qual] 1432 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL); | ^ -
../libs/vamp-plugins/TruePeak.h:112:23: warning: private field '_dummy' is not used [-Wunused-private-field] 112 | void *_dummy [8]; | ^ -
../libs/vamp-plugins/BarBeatTrack.cpp:347:20: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 347 | double dfinput[fl]; | ^~ -
../libs/surfaces/mackie/midi_byte_array.cc:46:22: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 46 | va_start (var_args, first); | ^ -
../libs/surfaces/us2400/surface.cc:401:30: warning: expression result unused [-Wunused-value] 401 | DEBUG_RESULT (Button*, bb, dynamic_cast<Button*> (Button::factory ( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 402 | *this, | ~~~~~~ 403 | Button::MasterFaderTouch, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 404 | master_button.id, | ~~~~~~~~~~~~~~~~~ 405 | master_button.label, | ~~~~~~~~~~~~~~~~~~~~ 406 | *(group_it->second) | ~~~~~~~~~~~~~~~~~~~ 407 | ))); | ~~~ -
../libs/surfaces/us2400/midi_byte_array.cc:45:22: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 45 | va_start (var_args, first); | ^ -
../libs/surfaces/launch_control_xl/midi_byte_array.cc:45:22: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 45 | va_start (var_args, first); | ^ -
../libs/surfaces/console1/c1_operations.cc:1137:6: warning: variable 'gain' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1137 | if (!control) { | ^~~~~~~~ -
../libs/surfaces/console1/console1.cc:1211:7: warning: unused variable 'monitor_active' [-Wunused-variable] 1211 | bool monitor_active = session->monitor_active (); | ^~~~~~~~~~~~~~ -
../libs/surfaces/push2/level_meter.h:75:16: warning: use of infinity via a macro is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 75 | max_peak = -INFINITY; | ^ -
../libs/surfaces/push2/mix.cc:546:11: warning: variable 'different' set but not used [-Wunused-but-set-variable] 546 | uint32_t different = 0; | ^ -
../libs/surfaces/push2/midi_byte_array.cc:43:22: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 43 | va_start (var_args, first); | ^ -
../libs/surfaces/websockets/typed_value.cc:166:17: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 166 | double inf = std::numeric_limits<double>::infinity (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/surfaces/websockets/mixer.cc:259:11: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 259 | return -std::numeric_limits<double>::infinity (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/surfaces/websockets/message.cc:81:11: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 81 | d = std::numeric_limits<double>::infinity (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/surfaces/websockets/message.cc:83:12: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 83 | d = -std::numeric_limits<double>::infinity (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/surfaces/websockets/message.cc:164:15: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 164 | if (d == std::numeric_limits<double>::infinity ()) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/surfaces/websockets/message.cc:166:23: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 166 | } else if (d == -std::numeric_limits<double>::infinity ()) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/backends/jack/jack_utils.cc:96:21: warning: unused variable 'alsaseq_midi_driver_name' [-Wunused-const-variable] 96 | const char * const alsaseq_midi_driver_name = X_("seq"); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/backends/jack/jack_utils.cc:97:21: warning: unused variable 'alsaraw_midi_driver_name' [-Wunused-const-variable] 97 | const char * const alsaraw_midi_driver_name = X_("raw"); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/backends/jack/jack_utils.cc:98:21: warning: unused variable 'winmme_midi_driver_name' [-Wunused-const-variable] 98 | const char * const winmme_midi_driver_name = X_("winmme"); | ^~~~~~~~~~~~~~~~~~~~~~~ -
../libs/backends/jack/jack_utils.cc:99:21: warning: unused variable 'coremidi_midi_driver_name' [-Wunused-const-variable] 99 | const char * const coremidi_midi_driver_name = X_("coremidi"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
../libs/backends/dummy/dummy_audiobackend.cc:1418:3: warning: use of infinity via a macro is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 1418 | INFINITY, /* +inf */ | ^ -
../libs/backends/dummy/dummy_audiobackend.cc:1419:3: warning: use of infinity via a macro is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 1419 | -INFINITY, /* -inf */ | ^ -
../libs/backends/dummy/dummy_audiobackend.cc:1420:3: warning: use of NaN via a macro is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 1420 | -NAN, /* -nan */ | ^ -
../libs/backends/dummy/dummy_audiobackend.cc:1420:3: warning: use of NaN is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 1420 | -NAN, /* -nan */ | ^~~ -
../libs/backends/dummy/dummy_audiobackend.cc:1421:3: warning: use of NaN via a macro is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 1421 | NAN, /* nan */ | ^ -
../libs/backends/dummy/dummy_audiobackend.cc:1421:3: warning: use of NaN is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 1421 | NAN, /* nan */ | ^~~ -
../libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc:975:31: warning: cast from 'const void *' to 'unsigned char *' drops const qualifier [-Wcast-qual] 975 | memcpy (self->queue_tuning, LV2_ATOM_BODY (value), 128 * sizeof (double)); | ^ -
../gtk2_ardour/level_meter.h:96:16: warning: use of infinity via a macro is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 96 | max_peak = -INFINITY; | ^ -
../gtk2_ardour/transcode_ffmpeg.cc:196:69: warning: 'sscanf' may overflow; destination buffer in argument 6 has size 32, but the corresponding specifier may require size 33 [-Wfortify-source] 196 | if (sscanf (i->at (16).c_str (), "%d:%d:%d:%32s", &h, &m, &s, f) == 4) { | ^ -
../gtk2_ardour/port_matrix_grid.cc:73:11: warning: variable 'N' set but not used [-Wunused-but-set-variable] 73 | uint32_t N = 0; | ^ -
../gtk2_ardour/selection_properties_box.h:68:28: warning: private field '_mregions_prop_box' is not used [-Wunused-private-field] 68 | MultiRegionPropertiesBox* _mregions_prop_box; | ^ -
../gtk2_ardour/selection_properties_box.h:70:28: warning: private field '_audio_prop_box' is not used [-Wunused-private-field] 70 | AudioRegionPropertiesBox* _audio_prop_box; | ^ -
../gtk2_ardour/selection_properties_box.h:71:27: warning: private field '_midi_prop_box' is not used [-Wunused-private-field] 71 | MidiRegionPropertiesBox* _midi_prop_box; | ^ -
../gtk2_ardour/selection_properties_box.h:73:28: warning: private field '_audio_ops_box' is not used [-Wunused-private-field] 73 | AudioRegionOperationsBox* _audio_ops_box; | ^ -
../gtk2_ardour/selection_properties_box.h:74:27: warning: private field '_midi_ops_box' is not used [-Wunused-private-field] 74 | MidiRegionOperationsBox* _midi_ops_box; | ^ -
../gtk2_ardour/selection_properties_box.h:76:21: warning: private field '_slot_prop_box' is not used [-Wunused-private-field] 76 | SlotPropertiesBox* _slot_prop_box; | ^ -
../gtk2_ardour/sfdb_ui.cc:1411:6: warning: 'sprintf' will always overflow; destination buffer has size 16, but format string expands to at least 26 [-Wformat-overflow] 1411 | sprintf(duration_hhmmss, "%2.fh:%02.fm:%04.1fs", h, m, s); | ^ -
../gtk2_ardour/linux_vst_gui_support.cc:57:12: warning: unused variable 'magic' [-Wunused-const-variable] 57 | const char magic[] = "VSTFX Plugin State v002"; | ^~~~~ -
../gtk2_ardour/editor_summary.cc:161:27: warning: implicit conversion from 'const samplepos_t' (aka 'const long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] 161 | _end = theoretical_end < max_samplepos ? theoretical_end : max_samplepos; | ~ ^~~~~~~~~~~~~ -
../gtk2_ardour/editor_summary.cc:283:2: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] 283 | std::min(8, width); | ^~~~~~~~ ~~~~~~~~ -
../gtk2_ardour/shuttle_control.cc:158:26: warning: implicit conversion from 'int' to 'float' changes value from -99999999 to -1.0E+8 [-Wimplicit-const-int-float-conversion] 158 | last_speed_displayed = -99999999; | ~ ^~~~~~~~~ -
../gtk2_ardour/shuttle_control.cc:159:26: warning: implicit conversion from 'int' to 'float' changes value from -99999999 to -1.0E+8 [-Wimplicit-const-int-float-conversion] 159 | last_shuttle_fract = -99999999; | ~ ^~~~~~~~~ -
../gtk2_ardour/shuttle_control.cc:772:26: warning: implicit conversion from 'int' to 'float' changes value from -99999999 to -1.0E+8 [-Wimplicit-const-int-float-conversion] 772 | last_speed_displayed = -99999999; | ~ ^~~~~~~~~ -
../gtk2_ardour/shuttle_control.cc:773:24: warning: implicit conversion from 'int' to 'float' changes value from -99999999 to -1.0E+8 [-Wimplicit-const-int-float-conversion] 773 | last_shuttle_fract = -99999999; | ~ ^~~~~~~~~ -
../gtk2_ardour/location_ui.cc:1019:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 1019 | gint n; | ^ -
../gtk2_ardour/trigger_master.cc:733:2: warning: @Ben disambiguate processor *active* vs *visibility* [-W#warnings] 733 | #warning @Ben disambiguate processor *active* vs *visibility* | ^ -
../gtk2_ardour/pianokeyboard.cc:78:4: warning: format specifies type 'wint_t' (aka 'int') but the argument has type 'guint32' (aka 'unsigned int') [-Wformat] 77 | snprintf (buf, 16, "%lc", | ~~~ | %c 78 | gdk_keyval_to_unicode (gdk_keyval_to_upper (gdk_keyval_from_name (key_name)))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../gtk2_ardour/audio_clip_editor.h:173:23: warning: private field 'editor' is not used [-Wunused-private-field] 173 | AudioClipEditor& editor; | ^ -
../gtk2_ardour/control_point_dialog.h:40:7: warning: private field 'all_selected_points_' is not used [-Wunused-private-field] 40 | bool all_selected_points_; | ^ -
../gtk2_ardour/mixer_ui.cc:588:11: warning: variable 'nroutes' set but not used [-Wunused-but-set-variable] 588 | uint32_t nroutes = 0; | ^ -
../gtk2_ardour/velocity_ghost_region.h:62:26: warning: private field 'dragging_line' is not used [-Wunused-private-field] 62 | ArdourCanvas::PolyLine* dragging_line; | ^ -
../gtk2_ardour/velocity_ghost_region.h:63:6: warning: private field 'last_drag_x' is not used [-Wunused-private-field] 63 | int last_drag_x; | ^ -
../gtk2_ardour/velocity_ghost_region.h:64:7: warning: private field 'drag_did_change' is not used [-Wunused-private-field] 64 | bool drag_did_change; | ^ -
../gtk2_ardour/editor_ops.cc:1912:18: warning: implicit conversion from 'const samplepos_t' (aka 'const long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] 1912 | } else if (l > max_samplepos) { | ~ ^~~~~~~~~~~~~ -
../gtk2_ardour/editor_ops.cc:1933:19: warning: implicit conversion from 'const samplepos_t' (aka 'const long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] 1933 | } else if (l > max_samplepos) { | ~ ^~~~~~~~~~~~~ -
../gtk2_ardour/editor_ops.cc:1958:19: warning: implicit conversion from 'const samplepos_t' (aka 'const long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] 1958 | } else if (l > max_samplepos) { | ~ ^~~~~~~~~~~~~ -
../gtk2_ardour/editor_ops.cc:6522:6: warning: variable 'n' set but not used [-Wunused-but-set-variable] 6522 | int n = 0; | ^ -
../gtk2_ardour/loudness_dialog.cc:698:76: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 698 | _lufs_i = p->integrated_loudness > -200 ? p->integrated_loudness : -std::numeric_limits<float>::infinity (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../gtk2_ardour/loudness_dialog.cc:699:76: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 699 | _lufs_s = p->max_loudness_short > -200 ? p->max_loudness_short : -std::numeric_limits<float>::infinity (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../gtk2_ardour/loudness_dialog.cc:700:76: warning: use of infinity is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 700 | _lufs_m = p->max_loudness_momentary > -200 ? p->max_loudness_momentary : -std::numeric_limits<float>::infinity (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../gtk2_ardour/midi_time_axis.cc:1097:12: warning: variable 'n_groups' set but not used [-Wunused-but-set-variable] 1097 | unsigned n_groups = 0; | ^ -
../gtk2_ardour/cuebox_ui.cc:310:2: warning: @Ben disambiguate processor *active* vs *visibility* [-W#warnings] 310 | #warning @Ben disambiguate processor *active* vs *visibility* | ^ -
../gtk2_ardour/ardour_ui.cc:1475:28: warning: implicit conversion from 'const samplecnt_t' (aka 'const long') to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] 1475 | format_disk_space_label (max_samplecnt); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ -
../gtk2_ardour/editor_rulers.cc:469:9: warning: variable 'tbgpos' set but not used [-Wunused-but-set-variable] 469 | double tbgpos = 0.0; | ^ -
../gtk2_ardour/editor_rulers.cc:1238:11: warning: variable 'bbt_beat_subdivision' set but not used [-Wunused-but-set-variable] 1238 | uint32_t bbt_beat_subdivision = 1; | ^ -
../gtk2_ardour/mini_timeline.cc:690:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] 690 | int id = 0; | ^ -
../gtk2_ardour/selection.cc:1367:8: warning: variable 'is_start' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] 1367 | if (!(*i)->get_property (X_("id"), id) || !(*i)->get_property (X_("start"), is_start)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../gtk2_ardour/editor_drag.cc:1672:2: warning: paul fix this code [-W#warnings] 1672 | #warning paul fix this code | ^ -
../gtk2_ardour/editor_drag.cc:1676:31: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 1676 | if (&_views.front ().view->get_time_axis_view ()) { | ~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -
../gtk2_ardour/editor_drag.cc:5850:7: warning: unused variable 'ok' [-Wunused-variable] 5850 | bool ok = _editor->get_selection_extents (_start_at_start, _end_at_start); | ^~