Ardour Nightly Builds

Log file: A_Linux_x86_64_SCAN/analyze_log.txt.

 

hint: Pulling without specifying how to reconcile divergent branches is

hint: discouraged. You can squelch this message by running one of the following

hint: commands sometime before your next pull:

hint:

hint: git config pull.rebase false # merge (the default strategy)

hint: git config pull.rebase true # rebase

hint: git config pull.ff only # fast-forward only

hint:

hint: You can replace "git config" with "git config --global" to set a default

hint: preference for all repositories. You can also pass --rebase, --no-rebase,

hint: or --ff-only on the command line to override the configured default per

hint: invocation.

Already up to date.

9.0-rc2-96-ge381c29281

Linux opendaw 6.17.13+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.17.13-1~bpo13+1 (2025-12-28) x86_64 GNU/Linux

-------------------------------------------------------------------------------

Scan start: 2026-01-11 21:18:08 +0000

# scan build ./waf configure --strict --with-backends=jack,alsa,pulseaudio,dummy --libjack=weak --cxx17

scan-build: Using '/usr/lib/llvm-11/bin/clang' for static analysis

Setting top to : /home/ardour/linux-x86_64-v10/ardour-scan

Setting out to : /home/ardour/linux-x86_64-v10/ardour-scan/build

Checking for 'gcc' (C compiler) : /usr/share/clang/scan-build-11/bin/../libexec/ccc-analyzer

Checking for 'g++' (C++ compiler) : /usr/share/clang/scan-build-11/bin/../libexec/c++-analyzer

Global Configuration

* Install prefix : /usr/local

* Debuggable build : True

* Build documentation : False

Ardour Configuration

* Will build against private GTK dependency stack in /home/ardour/linux-x86_64/gtk/inst : yes

* Will rely on libintl built into libc : yes

* Will build against private Ardour dependency stack : no

Checking for function 'dlopen' in dlfcn.h : yes

Checking for boost library >= 1.68 : yes

Checking for program 'pkg-config' : /home/ardour/linux-x86_64/gtk/inst/bin/pkg-config

Checking for 'alsa' : yes

Checking for 'libpulse' : yes

Checking for 'glib-2.0' >= 2.28 : yes

Checking for 'gthread-2.0' >= 2.2 : yes

Checking for 'glibmm-2.4' >= 2.32.0 : yes

Checking for 'sndfile' >= 1.0.18 : yes

Checking for 'giomm-2.4' >= 2.2 : yes

Checking for 'libcurl' >= 7.0.0 : yes

Checking for 'libarchive' >= 3.0.0 : yes

Checking for 'liblo' >= 0.26 : yes

Checking for 'taglib' >= 1.9 : yes

Checking for 'vamp-sdk' >= 2.1 : yes

Checking for 'vamp-hostsdk' >= 2.1 : yes

Checking for 'rubberband' : yes

Checking for 'libusb-1.0' >= 1.0.16 : yes

Checking for rubberband >= 3.0.0 : yes

Checking for sndfile RF64=>RIFF support : Found

Checking for int128 support : lots of bits found.

Checking for 'futex' syscall support : yes

Checking for clang : no

Checking compiler for AVX512F intrinsics : Found

Checking compiler for AVX/FMA intrinsics : Found

Checking for compiler flags ['-std=c++17'] : yes

Checking for gcc/lld-style -zexecstack : yes

Checking for 'fftw3f' : yes

Checking for 'libudev' : yes

Checking for 'aubio' >= 0.3.2 : yes

Checking for 'aubio' >= 0.4.0 : not found

Checking for 'gobject-2.0' : yes

Checking for 'gio-2.0' >= 2.2 : yes

Checking for 'libpng' : yes

Checking for header unistd.h : yes

Checking for 'pango' >= 1.20 : yes

Checking for 'cairo' >= 1.12 : yes

Checking for 'pangocairo' : yes

Checking for 'gio-unix-2.0' : yes

Checking for 'xrandr' >= 1.2.99 : yes

Checking for 'xrandr' >= 1.5.0 : yes

Checking for header X11/extensions/Xinerama.h : yes

Checking for 'xi' >= 1.7.10 : yes

Checking for header unistd.h : yes

Checking for 'gmodule-2.0' : yes

Checking for 'x11' : yes

Checking for 'xext' : yes

Checking for header unistd.h : yes

Checking for 'sigc++-2.0' >= 2.0 : yes

Checking for 'cairomm-1.0' >= 1.8.4 : yes

Checking for 'pangomm-1.4' >= 1.4 : yes

Checking for 'lv2' >= 1.16.0 : yes

Checking for 'libxml-2.0' : yes

Checking for header execinfo.h : yes

Checking for header unistd.h : yes

Checking for function 'posix_memalign' in stdlib.h : yes

Checking for function 'getmntent' in mntent.h : yes

Checking for function 'localtime_r' in time.h : yes

Checking for 'cppunit' >= 1.12.0 : not found

Checking for header cwiid.h : not found

You are missing the cwiid headers needed to compile wiimote support

Checking for 'libwebsockets' >= 2.0.0 : yes

Checking for 'jack' >= 1.9.10 : yes

Checking for JACK metadata API : ok

Checking for program 'gas, gcc' : /usr/lib/ccache/gcc

Checking for program 'ar' : /usr/bin/ar

Checking for 'lrdf' >= 0.4.0 : yes

Checking for 'samplerate' >= 0.1.0 : yes

Checking for 'lv2' >= 1.2.0 : yes

Checking for 'lv2' >= 1.10.0 : yes

Checking for 'lv2' >= 1.17.2 : yes

Checking for 'lv2' >= 1.18.6 : not found

Checking for 'serd-0' >= 0.14.0 : yes

Checking for 'sord-0' >= 0.8.0 : yes

Checking for 'sratom-0' >= 0.2.0 : yes

Checking for 'lilv-0' >= 0.24.2 : yes

Checking for 'ogg' >= 1.1.2 : yes

Checking for 'flac' >= 1.2.1 : yes

Checking for 'fftw3f' >= 3.3.5 : yes

Checking for header sys/vfs.h : yes

Checking for header sys/statvfs.h : yes

Checking for 'ioprio_set' syscall support : yes

Checking for header boost/ptr_container/ptr_list.hpp : yes

Checking for 'samplerate' >= 0.1.7 : yes

Checking for 'lv2' >= 1.0.0 : yes

Checking for 'cairo' >= 1.12.0 : yes

Checking for 'gthread-2.0' >= 2.10.1 : yes

Checking for 'pangoft2' >= 1.36.8 : yes

Checking for 'fontconfig' : yes

Checking for header unistd.h : yes

Checking for static libreadline : yes

* build session-utils : yes

Checking for 'dbus-1' : yes

* Build documentation : False

* Debuggable build : True

* Export all symbols (backtrace) : False

* Install prefix : /usr/local

* Strict compiler flags : []

* Internal Shared Libraries : True

* Use External Libraries : False

* Library exports hidden : True

* Free/Demo copy : False

* ALSA DBus Reservation : True

* Architecture flags : None

* ARM NEON support : False

* Aubio : True

* AudioUnits : False

* Build target : x86_64

* Canvas Test UI : False

* Beatbox test app : False

* CoreAudio : False

* Debug RT allocations : False

* Debug Symbols : True

* Denormal exceptions : False

* Dr. Mingw : False

* FLAC : True

* FPU optimization : True

* FPU AVX512F support : True

* FPU AVX/FMA support : True

* Futex Semaphore : True

* Freedesktop files : False

* G_ENABLE_DEBUG : True

* I/O Priority Set : True

* Libjack linking : weak

* Libjack metadata : True

* Lua Binding Doc : False

* Lua Commandline Tool : True

* LV2 UI embedding : True

* LV2 support : True

* LV2 extensions : True

* LXVST support : True

* Mac VST support : False

* NI-Maschine : False

* OGG : True

* Phone home : True

* Program name : Ardour

* Samplerate : True

* PT format : False

* PTW32 Semaphore : False

* Threaded WaveViews : True

* Translation : True

* Unit tests : False

* Use LLD linker : False

* VST3 support : True

* Windows VST support : False

* Wiimote support : False

* Windows key : Mod4><Super

* PortAudio Backend : False

* CoreAudio/Midi Backend : False

* ALSA Backend : True

* Dummy backend : True

* JACK Backend : True

* PulseAudio Backend : True

* Buildstack : eb6066e

* Mac i386 Architecture : False

* Mac ppc Architecture : False

* Mac arm64 Architecture : False

* C compiler flags : ['-I/home/ardour/linux-x86_64-v10/ardour-scan', '-I/home/ardour/linux-x86_64/gtk/inst/include', '-DHAVE_RF64_RIFF', '-DCOMPILER_INT128_SUPPORT', '-DWAF_BUILD', '-g', '-std=c99', '-pedantic', '-Wshadow', '-Wall', '-Wcast-align', '-Wextra', '-Wwrite-strings', '-Wunsafe-loop-optimizations', '-Wlogical-op', '-fshow-column', '-DG_ENABLE_DEBUG', '-DARCH_X86', '-mmmx', '-msse', '-mfpmath=sse', '-DUSE_XMMINTRIN', '-DBUILD_SSE_OPTIMIZATIONS', '-DLXVST_64BIT', '-Wall', '-Wpointer-arith', '-Wcast-qual', '-Wcast-align', '-Wno-unused-parameter', '-DBOOST_SYSTEM_NO_DEPRECATED', '-D_ISOC9X_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-DPROGRAM_NAME="Ardour"', '-DPROGRAM_VERSION="9"', '-Wstrict-prototypes', '-Wmissing-prototypes', '-D_POSIX_C_SOURCE=200809L']

* C++ compiler flags : ['-I/home/ardour/linux-x86_64-v10/ardour-scan', '-I/home/ardour/linux-x86_64/gtk/inst/include', '-DHAVE_RF64_RIFF', '-DCOMPILER_INT128_SUPPORT', '-DWAF_BUILD', '-g', '-Wnon-virtual-dtor', '-Woverloaded-virtual', '-fstrict-overflow', '-Wall', '-Wcast-align', '-Wextra', '-Wwrite-strings', '-Wunsafe-loop-optimizations', '-Wlogical-op', '-fshow-column', '-DG_ENABLE_DEBUG', '-DARCH_X86', '-mmmx', '-msse', '-mfpmath=sse', '-DUSE_XMMINTRIN', '-DBUILD_SSE_OPTIMIZATIONS', '-DLXVST_64BIT', '-Wall', '-Wpointer-arith', '-Wcast-qual', '-Wcast-align', '-Wno-unused-parameter', '-DBOOST_SYSTEM_NO_DEPRECATED', '-D_ISOC9X_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-DPROGRAM_NAME="Ardour"', '-DPROGRAM_VERSION="9"', '-std=c++17', '-DBOOST_NO_AUTO_PTR', '-Woverloaded-virtual', '-Wno-unused-local-typedefs', '-Wno-deprecated-copy', '-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS', '-DCANVAS_DEBUG', '-DBOOST_ERROR_CODE_HEADER_ONLY']

* Linker flags : ['-L/home/ardour/linux-x86_64/gtk/inst/lib', '']

'configure' finished successfully (14.096s)

scan-build: Analysis run complete.

scan-build: 1 bug found.

scan-build: Run 'scan-view /tmp/scan-build-2026-01-11-211808-1759061-1' to examine bug reports.

# scan-build ./waf

scan-build: Using '/usr/lib/llvm-11/bin/clang' for static analysis

Waf: Entering directory `/home/ardour/linux-x86_64-v10/ardour-scan/build'

Git version: 9.0-rc2-96-ge381c29281

Writing revision info to libs/ardour/revision.cc using 9.0-rc2-96-ge381c29281, 2026-01-11

[ 1/1879] Compiling libs/pbd/xml++.cc

[ 2/1879] Compiling libs/pbd/whitespace.cc

[ 3/1879] Compiling libs/pbd/uuid.cc

[ 4/1879] Compiling libs/pbd/utf8_utils.cc

[ 5/1879] Compiling libs/pbd/undo.cc

[ 6/1879] Compiling libs/pbd/transmitter.cc

[ 7/1879] Compiling libs/pbd/tlsf.cc

[ 8/1879] Compiling libs/pbd/timing.cc

[ 9/1879] Compiling libs/pbd/timer.cc

[ 10/1879] Compiling libs/pbd/textreceiver.cc

[ 11/1879] Compiling libs/pbd/system_exec.cc

[ 12/1879] Compiling libs/pbd/strsplit.cc

[ 13/1879] Compiling libs/pbd/strreplace.cc

[ 14/1879] Compiling libs/pbd/string_convert.cc

[ 15/1879] Compiling libs/pbd/stateful.cc

[ 16/1879] Compiling libs/pbd/stateful_diff_command.cc

[ 17/1879] Compiling libs/pbd/stacktrace.cc

[ 18/1879] Compiling libs/pbd/spinlock.cc

[ 19/1879] Compiling libs/pbd/signals.cc

[ 20/1879] Compiling libs/pbd/shortpath.cc

[ 21/1879] Compiling libs/pbd/semutils.cc

[ 22/1879] Compiling libs/pbd/search_path.cc

[ 23/1879] Compiling libs/pbd/receiver.cc

[ 24/1879] Compiling libs/pbd/progress.cc

[ 25/1879] Compiling libs/pbd/md5.cc

[ 26/1879] Compiling libs/pbd/enumwriter.cc

[ 27/1879] Compiling libs/pbd/event_loop.cc

[ 28/1879] Compiling libs/pbd/microseconds.cc

[ 29/1879] Compiling libs/pbd/enums.cc

[ 30/1879] Compiling libs/pbd/epa.cc

[ 31/1879] Compiling libs/pbd/property_list.cc

[ 32/1879] Compiling libs/pbd/mountpoint.cc

[ 33/1879] Compiling libs/pbd/error.cc

[ 34/1879] Compiling libs/pbd/ffs.cc

[ 35/1879] Compiling libs/pbd/openuri.cc

[ 36/1879] Compiling libs/pbd/file_archive.cc

[ 37/1879] Compiling libs/pbd/file_utils.cc

[ 38/1879] Compiling libs/pbd/resource.cc

[ 39/1879] Compiling libs/pbd/pthread_utils.cc

[ 40/1879] Compiling libs/pbd/pathexpand.cc

[ 41/1879] Compiling libs/pbd/fpu.cc

[ 42/1879] Compiling libs/pbd/glib_event_source.cc

[ 43/1879] Compiling libs/pbd/basename.cc

[ 44/1879] Compiling libs/pbd/base_ui.cc

[ 45/1879] Compiling libs/pbd/pbd.cc

[ 46/1879] Compiling libs/pbd/history_owner.cc

[ 47/1879] Compiling libs/pbd/boost_debug.cc

[ 48/1879] Compiling libs/pbd/cartesian.cc

[ 49/1879] Compiling libs/pbd/id.cc

[ 50/1879] Compiling libs/pbd/ccurl.cc

[ 51/1879] Compiling libs/pbd/command.cc

[ 52/1879] Compiling libs/pbd/reallocpool.cc

../libs/pbd/system_exec.cc:825:2: warning: This assignment is prohibited after a successful vfork [unix.Vfork]

int argn = 0;

^~~~~~~~

1 warning generated.

[ 53/1879] Compiling libs/pbd/pcg_rand.cc

[ 54/1879] Compiling libs/pbd/inflater.cc

[ 55/1879] Compiling libs/pbd/configuration_variable.cc

[ 56/1879] Compiling libs/pbd/convert.cc

[ 57/1879] Compiling libs/pbd/locale_guard.cc

[ 58/1879] Compiling libs/pbd/controllable.cc

[ 59/1879] Compiling libs/pbd/crossthread.cc

[ 60/1879] Compiling libs/pbd/pool.cc

[ 61/1879] Compiling libs/pbd/localtime_r.cc

[ 62/1879] Compiling libs/pbd/cpus.cc

[ 63/1879] Compiling libs/pbd/debug.cc

[ 64/1879] Compiling libs/pbd/malign.cc

[ 65/1879] Compiling libs/pbd/demangle.cc

[ 66/1879] Compiling libs/pbd/downloader.cc

[ 67/1879] Compiling libs/temporal/debug.cc

[ 68/1879] Compiling libs/temporal/bbt_time.cc

[ 69/1879] Compiling libs/temporal/beats.cc

[ 70/1879] Compiling libs/temporal/domain.cc

[ 71/1879] Compiling libs/temporal/enums.cc

[ 72/1879] Compiling libs/temporal/range.cc

[ 73/1879] Compiling libs/temporal/superclock.cc

[ 74/1879] Compiling libs/temporal/tempo.cc

[ 75/1879] Compiling libs/temporal/time.cc

[ 76/1879] Compiling libs/temporal/timeline.cc

[ 77/1879] Compiling libs/tk/ztk/atkstreamablecontent.c

[ 78/1879] Compiling libs/tk/ztk/atkhypertext.c

../libs/tk/ztk/atkstreamablecontent.c: In function 'atk_streamable_content_get_type':

../libs/tk/ztk/atkstreamablecontent.c:60:5: warning: missing initializer for field 'class_init' of 'GTypeInfo' {aka 'struct _GTypeInfo'} [-Wmissing-field-initializers]

60 | };

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atkstreamablecontent.h:27,

from ../libs/tk/ztk/atkstreamablecontent.c:22:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1046:26: note: 'class_init' declared here

1046 | GClassInitFunc class_init;

| ^~~~~~~~~~

[ 79/1879] Compiling libs/tk/ztk/atkhyperlink.c

../libs/tk/ztk/atkhypertext.c: In function 'atk_hypertext_get_type':

../libs/tk/ztk/atkhypertext.c:62:5: warning: missing initializer for field 'class_init' of 'GTypeInfo' {aka 'const struct _GTypeInfo'} [-Wmissing-field-initializers]

62 | };

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atkhypertext.h:27,

from ../libs/tk/ztk/atkhypertext.c:22:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1046:26: note: 'class_init' declared here

1046 | GClassInitFunc class_init;

| ^~~~~~~~~~

[ 80/1879] Compiling libs/tk/ztk/atkcomponent.c

../libs/tk/ztk/atkhyperlink.c: In function 'atk_hyperlink_get_type':

../libs/tk/ztk/atkhyperlink.c:83:9: warning: cast between incompatible function types from 'void (*)(AtkHyperlinkClass *)' {aka 'void (*)(struct _AtkHyperlinkClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

83 | (GClassInitFunc) atk_hyperlink_class_init,

| ^

../libs/tk/ztk/atkhyperlink.c:89:7: warning: missing initializer for field 'value_table' of 'GTypeInfo' {aka 'const struct _GTypeInfo'} [-Wmissing-field-initializers]

89 | } ;

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atkaction.h:27,

from ../libs/tk/ztk/ztk/atkhyperlink.h:27,

from ../libs/tk/ztk/atkhyperlink.c:21:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1056:26: note: 'value_table' declared here

1056 | const GTypeValueTable *value_table;

| ^~~~~~~~~~~

../libs/tk/ztk/atkhyperlink.c:93:9: warning: cast between incompatible function types from 'void (*)(AtkActionIface *)' {aka 'void (*)(struct _AtkActionIface *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

93 | (GInterfaceInitFunc) atk_hyperlink_action_iface_init,

| ^

In file included from ../libs/tk/ztk/atkhyperlink.c:22:

../libs/tk/ztk/atkhyperlink.c: In function 'atk_hyperlink_class_init':

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkhyperlink.c:128:58: note: in expansion of macro '_'

128 | _("Selected Link"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkhyperlink.c:129:58: note: in expansion of macro '_'

129 | _("Specifies whether the AtkHyperlink object is selected"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkhyperlink.c:135:54: note: in expansion of macro '_'

135 | _("Number of Anchors"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkhyperlink.c:136:54: note: in expansion of macro '_'

136 | _("The number of anchors associated with the AtkHyperlink object"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkhyperlink.c:144:54: note: in expansion of macro '_'

144 | _("End index"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkhyperlink.c:145:54: note: in expansion of macro '_'

145 | _("The end index of the AtkHyperlink object"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkhyperlink.c:153:54: note: in expansion of macro '_'

153 | _("Start index"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkhyperlink.c:154:54: note: in expansion of macro '_'

154 | _("The start index of the AtkHyperlink object"),

| ^

[ 81/1879] Compiling libs/tk/ztk/atktable.c

[ 82/1879] Compiling libs/tk/ztk/atktablecell.c

[ 83/1879] Compiling libs/tk/ztk/atkhyperlinkimpl.c

../libs/tk/ztk/atkcomponent.c: In function 'atk_component_get_type':

../libs/tk/ztk/atkcomponent.c:83:5: warning: missing initializer for field 'class_init' of 'GTypeInfo' {aka 'const struct _GTypeInfo'} [-Wmissing-field-initializers]

83 | };

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atkcomponent.h:27,

from ../libs/tk/ztk/atkcomponent.c:22:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1046:26: note: 'class_init' declared here

1046 | GClassInitFunc class_init;

| ^~~~~~~~~~

[ 84/1879] Compiling libs/tk/ztk/atktext.c

../libs/tk/ztk/atktable.c: In function 'atk_table_get_type':

../libs/tk/ztk/atktable.c:88:5: warning: missing initializer for field 'class_init' of 'GTypeInfo' {aka 'struct _GTypeInfo'} [-Wmissing-field-initializers]

88 | };

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atktable.h:27,

from ../libs/tk/ztk/atktable.c:22:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1046:26: note: 'class_init' declared here

1046 | GClassInitFunc class_init;

| ^~~~~~~~~~

[ 85/1879] Compiling libs/tk/ztk/atkutil.c

[ 86/1879] Compiling libs/tk/ztk/atkgobjectaccessible.c

../libs/tk/ztk/atkhyperlinkimpl.c: In function 'atk_hyperlink_impl_get_type':

../libs/tk/ztk/atkhyperlinkimpl.c:73:5: warning: missing initializer for field 'class_init' of 'GTypeInfo' {aka 'struct _GTypeInfo'} [-Wmissing-field-initializers]

73 | };

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atkhyperlinkimpl.h:27,

from ../libs/tk/ztk/atkhyperlinkimpl.c:23:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1046:26: note: 'class_init' declared here

1046 | GClassInitFunc class_init;

| ^~~~~~~~~~

[ 87/1879] Compiling libs/tk/ztk/atkdocument.c

../libs/tk/ztk/atktablecell.c: In function 'atk_table_cell_real_get_row_column_span':

../libs/tk/ztk/atktablecell.c:275:47: warning: ordered comparison of pointer with integer zero [-Wpedantic]

275 | return (row != 0 && column != 0 && row_span > 0 && column_span > 0);

| ^

../libs/tk/ztk/atktablecell.c:275:66: warning: ordered comparison of pointer with integer zero [-Wpedantic]

275 | return (row != 0 && column != 0 && row_span > 0 && column_span > 0);

| ^

[ 88/1879] Compiling libs/tk/ztk/atkvalue.c

In file included from ../libs/tk/ztk/atkutil.c:23:

../libs/tk/ztk/atkmarshal.c:52:1: warning: no previous prototype for 'atk_marshal_VOID__INT_INT' [-Wmissing-prototypes]

52 | atk_marshal_VOID__INT_INT (GClosure *closure,

| ^~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkmarshal.c: In function 'atk_marshal_VOID__INT_INT':

../libs/tk/ztk/atkmarshal.c:79:14: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]

79 | callback = (GMarshalFunc_VOID__INT_INT) (marshal_data ? marshal_data : cc->callback);

| ^

../libs/tk/ztk/atkmarshal.c: At top level:

../libs/tk/ztk/atkmarshal.c:89:1: warning: no previous prototype for 'atk_marshal_VOID__INT_INT_STRING' [-Wmissing-prototypes]

89 | atk_marshal_VOID__INT_INT_STRING (GClosure *closure,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkmarshal.c: In function 'atk_marshal_VOID__INT_INT_STRING':

../libs/tk/ztk/atkmarshal.c:117:14: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]

117 | callback = (GMarshalFunc_VOID__INT_INT_STRING) (marshal_data ? marshal_data : cc->callback);

| ^

../libs/tk/ztk/atkmarshal.c:18:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

18 | #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)

| ^

../libs/tk/ztk/atkmarshal.c:122:13: note: in expansion of macro 'g_marshal_value_peek_string'

122 | g_marshal_value_peek_string (param_values + 3),

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkmarshal.c: At top level:

../libs/tk/ztk/atkmarshal.c:128:1: warning: no previous prototype for 'atk_marshal_VOID__INT_INT_INT_STRING' [-Wmissing-prototypes]

128 | atk_marshal_VOID__INT_INT_INT_STRING (GClosure *closure,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkmarshal.c: In function 'atk_marshal_VOID__INT_INT_INT_STRING':

../libs/tk/ztk/atkmarshal.c:157:14: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]

157 | callback = (GMarshalFunc_VOID__INT_INT_INT_STRING) (marshal_data ? marshal_data : cc->callback);

| ^

../libs/tk/ztk/atkmarshal.c:18:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

18 | #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)

| ^

../libs/tk/ztk/atkmarshal.c:163:13: note: in expansion of macro 'g_marshal_value_peek_string'

163 | g_marshal_value_peek_string (param_values + 4),

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkmarshal.c: At top level:

../libs/tk/ztk/atkmarshal.c:169:1: warning: no previous prototype for 'atk_marshal_VOID__STRING_BOOLEAN' [-Wmissing-prototypes]

169 | atk_marshal_VOID__STRING_BOOLEAN (GClosure *closure,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkmarshal.c: In function 'atk_marshal_VOID__STRING_BOOLEAN':

../libs/tk/ztk/atkmarshal.c:196:14: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]

196 | callback = (GMarshalFunc_VOID__STRING_BOOLEAN) (marshal_data ? marshal_data : cc->callback);

| ^

../libs/tk/ztk/atkmarshal.c:18:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

18 | #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)

| ^

../libs/tk/ztk/atkmarshal.c:199:13: note: in expansion of macro 'g_marshal_value_peek_string'

199 | g_marshal_value_peek_string (param_values + 1),

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkmarshal.c: At top level:

../libs/tk/ztk/atkmarshal.c:206:1: warning: no previous prototype for 'atk_marshal_VOID__DOUBLE_STRING' [-Wmissing-prototypes]

206 | atk_marshal_VOID__DOUBLE_STRING (GClosure *closure,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkmarshal.c: In function 'atk_marshal_VOID__DOUBLE_STRING':

../libs/tk/ztk/atkmarshal.c:233:14: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]

233 | callback = (GMarshalFunc_VOID__DOUBLE_STRING) (marshal_data ? marshal_data : cc->callback);

| ^

../libs/tk/ztk/atkmarshal.c:18:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

18 | #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)

| ^

../libs/tk/ztk/atkmarshal.c:237:13: note: in expansion of macro 'g_marshal_value_peek_string'

237 | g_marshal_value_peek_string (param_values + 2),

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkutil.c: In function 'atk_util_get_type':

../libs/tk/ztk/atkutil.c:61:9: warning: cast between incompatible function types from 'void (*)(AtkUtilClass *)' {aka 'void (*)(struct _AtkUtilClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

61 | (GClassInitFunc) atk_util_class_init,

| ^

../libs/tk/ztk/atkutil.c:67:7: warning: missing initializer for field 'value_table' of 'GTypeInfo' {aka 'const struct _GTypeInfo'} [-Wmissing-field-initializers]

67 | } ;

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atkutil.h:27,

from ../libs/tk/ztk/atkutil.c:22:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1056:26: note: 'value_table' declared here

1056 | const GTypeValueTable *value_table;

| ^~~~~~~~~~~

[ 89/1879] Compiling libs/tk/ztk/atkversion.c

../libs/tk/ztk/atkgobjectaccessible.c: In function 'atk_gobject_accessible_get_type':

../libs/tk/ztk/atkgobjectaccessible.c:58:9: warning: cast between incompatible function types from 'void (*)(AtkGObjectAccessibleClass *)' {aka 'void (*)(struct _AtkGObjectAccessibleClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

58 | (GClassInitFunc) atk_gobject_accessible_class_init,

| ^

../libs/tk/ztk/atkgobjectaccessible.c: In function 'atk_gobject_accessible_for_object':

../libs/tk/ztk/atkgobjectaccessible.c:110:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type]

110 | (GWeakNotify) g_object_unref,

| ^

../libs/tk/ztk/atkgobjectaccessible.c: In function 'atk_real_gobject_accessible_initialize':

../libs/tk/ztk/atkgobjectaccessible.c:149:22: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type]

149 | (GWeakNotify) atk_gobject_accessible_dispose,

| ^

[ 90/1879] Compiling libs/tk/ztk/atkeditabletext.c

../libs/tk/ztk/atkdocument.c: In function 'atk_document_get_type':

../libs/tk/ztk/atkdocument.c:64:5: warning: missing initializer for field 'class_init' of 'GTypeInfo' {aka 'const struct _GTypeInfo'} [-Wmissing-field-initializers]

64 | };

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atkdocument.h:27,

from ../libs/tk/ztk/atkdocument.c:22:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1046:26: note: 'class_init' declared here

1046 | GClassInitFunc class_init;

| ^~~~~~~~~~

[ 91/1879] Compiling libs/tk/ztk/atkwindow.c

[ 92/1879] Compiling libs/tk/ztk/atkaction.c

../libs/tk/ztk/atkvalue.c: In function 'atk_value_get_type':

../libs/tk/ztk/atkvalue.c:313:5: warning: missing initializer for field 'class_init' of 'GTypeInfo' {aka 'struct _GTypeInfo'} [-Wmissing-field-initializers]

313 | };

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atkvalue.h:27,

from ../libs/tk/ztk/atkvalue.c:25:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1046:26: note: 'class_init' declared here

1046 | GClassInitFunc class_init;

| ^~~~~~~~~~

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:21,

from ../libs/tk/ztk/atkvalue.c:23:

../libs/tk/ztk/atkvalue.c: In function 'atk_value_set_current_value':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2232:48: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2232 | #define _G_TYPE_CHV(vl) (g_type_check_value ((GValue*) vl))

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ztk/atkvalue.c:510:3: note: in expansion of macro 'g_return_val_if_fail'

510 | g_return_val_if_fail (G_IS_VALUE (value), FALSE);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:576:39: note: in expansion of macro '_G_TYPE_CHV'

576 | #define G_TYPE_CHECK_VALUE(value) (_G_TYPE_CHV ((value)))

| ^~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gvalue.h:50:29: note: in expansion of macro 'G_TYPE_CHECK_VALUE'

50 | #define G_IS_VALUE(value) (G_TYPE_CHECK_VALUE (value))

| ^~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkvalue.c:510:25: note: in expansion of macro 'G_IS_VALUE'

510 | g_return_val_if_fail (G_IS_VALUE (value), FALSE);

| ^~~~~~~~~~

../libs/tk/ztk/atkvalue.c: At top level:

../libs/tk/ztk/atkvalue.c:682:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]

682 | initialize_value_type_names ()

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

[ 93/1879] Compiling libs/tk/ztk/atk-enum-types.c

[ 94/1879] Compiling libs/tk/ztk/atkimage.c

../libs/tk/ztk/atkeditabletext.c: In function 'atk_editable_text_get_type':

../libs/tk/ztk/atkeditabletext.c:53:5: warning: missing initializer for field 'class_init' of 'GTypeInfo' {aka 'const struct _GTypeInfo'} [-Wmissing-field-initializers]

53 | };

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atkeditabletext.h:27,

from ../libs/tk/ztk/atkeditabletext.c:22:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1046:26: note: 'class_init' declared here

1046 | GClassInitFunc class_init;

| ^~~~~~~~~~

[ 95/1879] Compiling libs/tk/ztk/atkmisc.c

[ 96/1879] Compiling libs/tk/ztk/atknoopobject.c

[ 97/1879] Compiling libs/tk/ztk/atknoopobjectfactory.c

[ 98/1879] Compiling libs/tk/ztk/atkobject.c

../libs/tk/ztk/atkimage.c: In function 'atk_image_get_type':

../libs/tk/ztk/atkimage.c:56:5: warning: missing initializer for field 'class_init' of 'GTypeInfo' {aka 'const struct _GTypeInfo'} [-Wmissing-field-initializers]

56 | };

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atkimage.h:27,

from ../libs/tk/ztk/atkimage.c:22:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1046:26: note: 'class_init' declared here

1046 | GClassInitFunc class_init;

| ^~~~~~~~~~

[ 99/1879] Compiling libs/tk/ztk/atkobjectfactory.c

../libs/tk/ztk/atkaction.c: In function 'atk_action_get_type':

../libs/tk/ztk/atkaction.c:62:5: warning: missing initializer for field 'class_init' of 'GTypeInfo' {aka 'struct _GTypeInfo'} [-Wmissing-field-initializers]

62 | };

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atkaction.h:27,

from ../libs/tk/ztk/atkaction.c:22:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1046:26: note: 'class_init' declared here

1046 | GClassInitFunc class_init;

| ^~~~~~~~~~

[ 100/1879] Compiling libs/tk/ztk/atkplug.c

../libs/tk/ztk/atkmisc.c: In function 'atk_misc_get_type':

../libs/tk/ztk/atkmisc.c:47:9: warning: cast between incompatible function types from 'void (*)(AtkMiscClass *)' {aka 'void (*)(struct _AtkMiscClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

47 | (GClassInitFunc) atk_misc_class_init,

| ^

../libs/tk/ztk/atkmisc.c:53:7: warning: missing initializer for field 'value_table' of 'GTypeInfo' {aka 'const struct _GTypeInfo'} [-Wmissing-field-initializers]

53 | } ;

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkmisc.h:27,

from ../libs/tk/ztk/atkmisc.c:22:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1056:26: note: 'value_table' declared here

1056 | const GTypeValueTable *value_table;

| ^~~~~~~~~~~

[ 101/1879] Compiling libs/tk/ztk/atkprivate.c

../libs/tk/ztk/atknoopobject.c: In function 'atk_no_op_object_get_type':

../libs/tk/ztk/atknoopobject.c:55:7: warning: cast between incompatible function types from 'void (*)(AtkNoOpObjectClass *)' {aka 'void (*)(struct _AtkNoOpObjectClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

55 | (GClassInitFunc) atk_no_op_object_class_init, /* class init */

| ^

[ 102/1879] Compiling libs/tk/ztk/atkrange.c

../libs/tk/ztk/atkobjectfactory.c: In function 'atk_object_factory_get_type':

../libs/tk/ztk/atkobjectfactory.c:53:7: warning: cast between incompatible function types from 'void (*)(AtkObjectFactoryClass *)' {aka 'void (*)(struct _AtkObjectFactoryClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

53 | (GClassInitFunc) atk_object_factory_class_init, /* class init */

| ^

[ 103/1879] Compiling libs/tk/ztk/atkregistry.c

../libs/tk/ztk/atknoopobjectfactory.c: In function 'atk_no_op_object_factory_get_type':

../libs/tk/ztk/atknoopobjectfactory.c:56:7: warning: cast between incompatible function types from 'void (*)(AtkNoOpObjectFactoryClass *)' {aka 'void (*)(struct _AtkNoOpObjectFactoryClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

56 | (GClassInitFunc) atk_no_op_object_factory_class_init, /* class init */

| ^

[ 104/1879] Compiling libs/tk/ztk/atkrelation.c

[ 105/1879] Compiling libs/tk/ztk/atkrelationset.c

[ 106/1879] Compiling libs/tk/ztk/atkselection.c

[ 107/1879] Compiling libs/tk/ztk/atksocket.c

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atkvalue.h:27,

from ../libs/tk/ztk/atkrange.c:24:

../libs/tk/ztk/atkrange.c: In function 'atk_range_get_type':

../libs/tk/ztk/atkrange.c:83:43: warning: ISO C prohibits argument conversion to union type [-Wpedantic]

83 | G_DEFINE_BOXED_TYPE (AtkRange, atk_range, atk_range_copy,

| ^~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2094:64: note: in definition of macro '_G_DEFINE_BOXED_TYPE_BEGIN'

2094 | _g_register_boxed (g_intern_static_string (#TypeName), copy_func, free_func); \

| ^~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2039:72: note: in expansion of macro 'G_DEFINE_BOXED_TYPE_WITH_CODE'

2039 | #define G_DEFINE_BOXED_TYPE(TypeName, type_name, copy_func, free_func) G_DEFINE_BOXED_TYPE_WITH_CODE (TypeName, type_name, copy_func, free_func, {})

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkrange.c:83:1: note: in expansion of macro 'G_DEFINE_BOXED_TYPE'

83 | G_DEFINE_BOXED_TYPE (AtkRange, atk_range, atk_range_copy,

| ^~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkrange.c:84:22: warning: ISO C prohibits argument conversion to union type [-Wpedantic]

84 | atk_range_free)

| ^~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2094:75: note: in definition of macro '_G_DEFINE_BOXED_TYPE_BEGIN'

2094 | _g_register_boxed (g_intern_static_string (#TypeName), copy_func, free_func); \

| ^~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2039:72: note: in expansion of macro 'G_DEFINE_BOXED_TYPE_WITH_CODE'

2039 | #define G_DEFINE_BOXED_TYPE(TypeName, type_name, copy_func, free_func) G_DEFINE_BOXED_TYPE_WITH_CODE (TypeName, type_name, copy_func, free_func, {})

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkrange.c:83:1: note: in expansion of macro 'G_DEFINE_BOXED_TYPE'

83 | G_DEFINE_BOXED_TYPE (AtkRange, atk_range, atk_range_copy,

| ^~~~~~~~~~~~~~~~~~~

[ 108/1879] Compiling libs/tk/ztk/atkstate.c

../libs/tk/ztk/atkregistry.c: In function 'atk_registry_get_type':

../libs/tk/ztk/atkregistry.c:62:9: warning: cast between incompatible function types from 'void (*)(AtkRegistryClass *)' {aka 'void (*)(struct _AtkRegistryClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

62 | (GClassInitFunc) atk_registry_class_init, /* class_init */

| ^

[ 109/1879] Compiling libs/tk/ztk/atkstateset.c

[ 110/1879] Compiling libs/tk/ydk-pixbuf/io-pixdata.c

../libs/tk/ztk/atkobject.c:276:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]

276 | initialize_role_names ()

| ^~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkobject.c: In function 'atk_object_get_type':

../libs/tk/ztk/atkobject.c:316:9: warning: cast between incompatible function types from 'void (*)(AtkObjectClass *)' {aka 'void (*)(struct _AtkObjectClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

316 | (GClassInitFunc) atk_object_class_init,

| ^

../libs/tk/ztk/atkobject.c:322:7: warning: missing initializer for field 'value_table' of 'GTypeInfo' {aka 'const struct _GTypeInfo'} [-Wmissing-field-initializers]

322 | } ;

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/atkobject.c:25:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1056:26: note: 'value_table' declared here

1056 | const GTypeValueTable *value_table;

| ^~~~~~~~~~~

In file included from ../libs/tk/ztk/atkobject.c:26:

../libs/tk/ztk/atkobject.c: In function 'atk_object_class_init':

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:372:57: note: in expansion of macro '_'

372 | _("Accessible Name"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:373:57: note: in expansion of macro '_'

373 | _("Object instance\'s name formatted for assistive technology access"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:379:57: note: in expansion of macro '_'

379 | _("Accessible Description"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:380:57: note: in expansion of macro '_'

380 | _("Description of an object, formatted for assistive technology access"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:386:57: note: in expansion of macro '_'

386 | _("Accessible Parent"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:387:57: note: in expansion of macro '_'

387 | _("Parent of the current accessible as returned by atk_object_get_parent()"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:403:57: note: in expansion of macro '_'

403 | _("Accessible Value"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:404:57: note: in expansion of macro '_'

404 | _("Is used to notify that the value has changed"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:412:57: note: in expansion of macro '_'

412 | _("Accessible Role"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:413:57: note: in expansion of macro '_'

413 | _("The accessible role of this object"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:421:57: note: in expansion of macro '_'

421 | _("Accessible Layer"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:422:57: note: in expansion of macro '_'

422 | _("The accessible layer of this object"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:430:57: note: in expansion of macro '_'

430 | _("Accessible MDI Value"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:431:57: note: in expansion of macro '_'

431 | _("The accessible MDI value of this object"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:447:57: note: in expansion of macro '_'

447 | _("Accessible Table Caption"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:448:57: note: in expansion of macro '_'

448 | _("Is used to notify that the table caption has changed; this property should not be used. accessible-table-caption-object should be used instead"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:462:57: note: in expansion of macro '_'

462 | _("Accessible Table Column Header"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:463:57: note: in expansion of macro '_'

463 | _("Is used to notify that the table column header has changed"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:478:57: note: in expansion of macro '_'

478 | _("Accessible Table Column Description"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:479:57: note: in expansion of macro '_'

479 | _("Is used to notify that the table column description has changed"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:494:57: note: in expansion of macro '_'

494 | _("Accessible Table Row Header"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:495:57: note: in expansion of macro '_'

495 | _("Is used to notify that the table row header has changed"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:509:57: note: in expansion of macro '_'

509 | _("Accessible Table Row Description"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:510:57: note: in expansion of macro '_'

510 | _("Is used to notify that the table row description has changed"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:516:57: note: in expansion of macro '_'

516 | _("Accessible Table Summary"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:517:57: note: in expansion of macro '_'

517 | _("Is used to notify that the table summary has changed"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:523:57: note: in expansion of macro '_'

523 | _("Accessible Table Caption Object"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:524:57: note: in expansion of macro '_'

524 | _("Is used to notify that the table caption has changed"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:530:57: note: in expansion of macro '_'

530 | _("Number of Accessible Hypertext Links"),

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gi18n-lib.h:30:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))

| ^

../libs/tk/ztk/atkobject.c:531:57: note: in expansion of macro '_'

531 | _("The number of links which the current AtkHypertext has"),

| ^

../libs/tk/ztk/atkobject.c: In function 'atk_implementor_get_type':

../libs/tk/ztk/atkobject.c:693:7: warning: missing initializer for field 'class_init' of 'GTypeInfo' {aka 'const struct _GTypeInfo'} [-Wmissing-field-initializers]

693 | } ;

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/atkobject.c:25:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1046:26: note: 'class_init' declared here

1046 | GClassInitFunc class_init;

| ^~~~~~~~~~

../libs/tk/ztk/atkobject.c: In function 'atk_object_real_set_property':

../libs/tk/ztk/atkobject.c:1317:9: warning: 'atk_value_set_current_value' is deprecated: Use 'atk_value_set_value' instead [-Wdeprecated-declarations]

1317 | atk_value_set_current_value (ATK_VALUE (accessible), value);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/tk/ztk/ztk/atk.h:55,

from ../libs/tk/ztk/atkobject.c:28:

../libs/tk/ztk/ztk/atkvalue.h:136:10: note: declared here

136 | gboolean atk_value_set_current_value (AtkValue *obj,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkobject.c: In function 'atk_object_real_get_property':

../libs/tk/ztk/atkobject.c:1366:9: warning: 'atk_value_get_current_value' is deprecated: Use 'atk_value_get_value_and_text' instead [-Wdeprecated-declarations]

1366 | atk_value_get_current_value (ATK_VALUE (accessible), value);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/tk/ztk/ztk/atk.h:55,

from ../libs/tk/ztk/atkobject.c:28:

../libs/tk/ztk/ztk/atkvalue.h:126:11: note: declared here

126 | void atk_value_get_current_value (AtkValue *obj,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atkobject.c: In function 'atk_role_for_name':

../libs/tk/ztk/atkobject.c:1627:17: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

1627 | for (i = 0; i < role_names->len; i++)

| ^

[ 111/1879] Compiling libs/tk/ydk-pixbuf/pixops/pixops.c

../libs/tk/ztk/atkselection.c: In function 'atk_selection_get_type':

../libs/tk/ztk/atkselection.c:64:5: warning: missing initializer for field 'class_init' of 'GTypeInfo' {aka 'struct _GTypeInfo'} [-Wmissing-field-initializers]

64 | };

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atkselection.h:27,

from ../libs/tk/ztk/atkselection.c:22:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1046:26: note: 'class_init' declared here

1046 | GClassInitFunc class_init;

| ^~~~~~~~~~

[ 112/1879] Compiling libs/tk/ydk-pixbuf/gdk-pixdata.c

../libs/tk/ztk/atkrelation.c: In function 'atk_relation_get_type':

../libs/tk/ztk/atkrelation.c:75:9: warning: cast between incompatible function types from 'void (*)(AtkRelationClass *)' {aka 'void (*)(struct _AtkRelationClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

75 | (GClassInitFunc) atk_relation_class_init,

| ^

../libs/tk/ztk/atkrelation.c:81:7: warning: missing initializer for field 'value_table' of 'GTypeInfo' {aka 'const struct _GTypeInfo'} [-Wmissing-field-initializers]

81 | } ;

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/atkrelation.c:23:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1056:26: note: 'value_table' declared here

1056 | const GTypeValueTable *value_table;

| ^~~~~~~~~~~

../libs/tk/ztk/atkrelation.c: In function 'atk_relation_type_get_name':

../libs/tk/ztk/atkrelation.c:168:17: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

168 | if (n < extra_names->len)

| ^

../libs/tk/ztk/atkrelation.c: In function 'atk_relation_type_for_name':

../libs/tk/ztk/atkrelation.c:209:25: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

209 | for (i = 0; i < extra_names->len; i++)

| ^

../libs/tk/ztk/atkrelation.c: In function 'atk_relation_finalize':

../libs/tk/ztk/atkrelation.c:390:19: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

390 | for (i = 0; i < relation->target->len; i++)

| ^

../libs/tk/ztk/atkrelation.c: In function 'atk_relation_set_property':

../libs/tk/ztk/atkrelation.c:423:23: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

423 | for (i = 0; i < relation->target->len; i++)

| ^

../libs/tk/ztk/atkrelation.c: In function 'atk_relation_get_ptr_array_from_value_array':

../libs/tk/ztk/atkrelation.c:474:17: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

474 | for (i = 0; i < array->n_values; i++)

| ^

../libs/tk/ztk/atkrelation.c: In function 'atk_relation_get_value_array_from_ptr_array':

../libs/tk/ztk/atkrelation.c:493:17: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare]

493 | for (i = 0; i < array->len; i++)

| ^

[ 113/1879] Compiling libs/tk/ydk-pixbuf/io-xbm.c

../libs/tk/ztk/atkstate.c: In function 'atk_state_type_for_name':

../libs/tk/ztk/atkstate.c:129:46: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

129 | for (i = ATK_STATE_LAST_DEFINED + 1; i <= last_type; i++)

| ^~

[ 114/1879] Compiling libs/tk/ydk-pixbuf/io-xpm.c

[ 115/1879] Compiling libs/tk/ydk-pixbuf/io-png.c

[ 116/1879] Compiling libs/tk/ydk-pixbuf/gdk-pixbuf.c

[ 117/1879] Compiling libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c

../libs/tk/ztk/atkstateset.c: In function 'atk_state_set_get_type':

../libs/tk/ztk/atkstateset.c:61:9: warning: cast between incompatible function types from 'void (*)(AtkStateSetClass *)' {aka 'void (*)(struct _AtkStateSetClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

61 | (GClassInitFunc) atk_state_set_class_init,

| ^

../libs/tk/ztk/atkstateset.c:67:7: warning: missing initializer for field 'value_table' of 'GTypeInfo' {aka 'const struct _GTypeInfo'} [-Wmissing-field-initializers]

67 | } ;

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/atkstateset.c:22:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1056:26: note: 'value_table' declared here

1056 | const GTypeValueTable *value_table;

| ^~~~~~~~~~~

[ 118/1879] Compiling libs/tk/ydk-pixbuf/gdk-pixbuf-util.c

../libs/tk/ztk/atkrelationset.c: In function 'atk_relation_set_get_type':

../libs/tk/ztk/atkrelationset.c:59:9: warning: cast between incompatible function types from 'void (*)(AtkRelationSetClass *)' {aka 'void (*)(struct _AtkRelationSetClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

59 | (GClassInitFunc) atk_relation_set_class_init,

| ^

../libs/tk/ztk/atkrelationset.c:65:7: warning: missing initializer for field 'value_table' of 'GTypeInfo' {aka 'const struct _GTypeInfo'} [-Wmissing-field-initializers]

65 | } ;

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/atkrelationset.c:22:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1056:26: note: 'value_table' declared here

1056 | const GTypeValueTable *value_table;

| ^~~~~~~~~~~

../libs/tk/ztk/atkrelationset.c: In function 'atk_relation_set_contains':

../libs/tk/ztk/atkrelationset.c:121:17: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

121 | for (i = 0; i < array_item->len; i++)

| ^

../libs/tk/ztk/atkrelationset.c: In function 'atk_relation_set_remove':

../libs/tk/ztk/atkrelationset.c:164:21: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

164 | for (i = 0; i < relation->target->len; i++)

| ^

../libs/tk/ztk/atkrelationset.c: In function 'atk_relation_set_add':

../libs/tk/ztk/atkrelationset.c:209:19: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

209 | for (i = 0; i < relation->target->len; i++)

| ^

../libs/tk/ztk/atkrelationset.c: In function 'atk_relation_set_get_relation_by_type':

../libs/tk/ztk/atkrelationset.c:289:17: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

289 | for (i = 0; i < array_item->len; i++)

| ^

../libs/tk/ztk/atkrelationset.c: In function 'atk_relation_set_finalize':

../libs/tk/ztk/atkrelationset.c:312:19: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

312 | for (i = 0; i < array->len; i++)

| ^

../libs/tk/ztk/atkrelationset.c: In function 'atk_relation_set_contains_target':

../libs/tk/ztk/atkrelationset.c:393:17: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

393 | for (i = 0; i < array_relations->len; i++)

| ^

../libs/tk/ztk/atkrelationset.c:399:23: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

399 | for (c = 0; c < array_target->len; c++)

| ^

[ 119/1879] Compiling libs/tk/ydk-pixbuf/gdk-pixbuf-simple-anim.c

[ 120/1879] Compiling libs/tk/ydk-pixbuf/gdk-pixbuf-scaled-anim.c

../libs/tk/ydk-pixbuf/io-pixdata.c: In function 'pixdata_image_load_increment':

../libs/tk/ydk-pixbuf/io-pixdata.c:120:39: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

120 | g_string_append_len (context->data, (char *)buf, size);

| ^

../libs/tk/ydk-pixbuf/io-pixdata.c: At top level:

../libs/tk/ydk-pixbuf/io-pixdata.c:158:37: warning: no previous prototype for '_gdk_pixbuf__pixdata_fill_vtable' [-Wmissing-prototypes]

158 | #define MODULE_ENTRY(function) void _gdk_pixbuf__pixdata_ ## function

| ^~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-pixdata.c:160:1: note: in expansion of macro 'MODULE_ENTRY'

160 | MODULE_ENTRY (fill_vtable) (GdkPixbufModule * module)

| ^~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-pixdata.c:158:37: warning: no previous prototype for '_gdk_pixbuf__pixdata_fill_info' [-Wmissing-prototypes]

158 | #define MODULE_ENTRY(function) void _gdk_pixbuf__pixdata_ ## function

| ^~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-pixdata.c:167:1: note: in expansion of macro 'MODULE_ENTRY'

167 | MODULE_ENTRY (fill_info) (GdkPixbufFormat * info)

| ^~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-pixdata.c: In function '_gdk_pixbuf__pixdata_fill_info':

../libs/tk/ydk-pixbuf/io-pixdata.c:170:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

170 | { "GdkP", NULL, 100 }, /* file begins with 'GdkP' at offset 0 */

| ^~~~~~

../libs/tk/ydk-pixbuf/io-pixdata.c:182:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

182 | info->name = "GdkPixdata";

| ^

../libs/tk/ydk-pixbuf/io-pixdata.c:183:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

183 | info->signature = (GdkPixbufModulePattern *) signature;

| ^

../libs/tk/ydk-pixbuf/io-pixdata.c:184:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

184 | info->description = N_("The GdkPixdata format");

| ^

../libs/tk/ydk-pixbuf/io-pixdata.c:185:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

185 | info->mime_types = (gchar **) mime_types;

| ^

../libs/tk/ydk-pixbuf/io-pixdata.c:186:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

186 | info->extensions = (gchar **) extensions;

| ^

../libs/tk/ydk-pixbuf/io-pixdata.c:188:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

188 | info->license = "LGPL";

| ^

[ 121/1879] Compiling libs/tk/ydk-pixbuf/gdk-pixbuf-loader.c

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-transform.h:31,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c:24:

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c: In function 'gdk_pixbuf_scale':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c:144:3: note: in expansion of macro 'g_return_if_fail'

144 | g_return_if_fail (GDK_IS_PIXBUF (src));

| ^~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c:144:21: note: in expansion of macro 'GDK_IS_PIXBUF'

144 | g_return_if_fail (GDK_IS_PIXBUF (src));

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c: In function 'gdk_pixbuf_composite':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c:208:3: note: in expansion of macro 'g_return_if_fail'

208 | g_return_if_fail (GDK_IS_PIXBUF (src));

| ^~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c:208:21: note: in expansion of macro 'GDK_IS_PIXBUF'

208 | g_return_if_fail (GDK_IS_PIXBUF (src));

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c: In function 'gdk_pixbuf_composite_color':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c:282:3: note: in expansion of macro 'g_return_if_fail'

282 | g_return_if_fail (GDK_IS_PIXBUF (src));

| ^~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c:282:21: note: in expansion of macro 'GDK_IS_PIXBUF'

282 | g_return_if_fail (GDK_IS_PIXBUF (src));

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c: In function 'gdk_pixbuf_scale_simple':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c:336:3: note: in expansion of macro 'g_return_val_if_fail'

336 | g_return_val_if_fail (GDK_IS_PIXBUF (src), NULL);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c:336:25: note: in expansion of macro 'GDK_IS_PIXBUF'

336 | g_return_val_if_fail (GDK_IS_PIXBUF (src), NULL);

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c: In function 'gdk_pixbuf_composite_color_simple':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c:382:3: note: in expansion of macro 'g_return_val_if_fail'

382 | g_return_val_if_fail (GDK_IS_PIXBUF (src), NULL);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-scale.c:382:25: note: in expansion of macro 'GDK_IS_PIXBUF'

382 | g_return_val_if_fail (GDK_IS_PIXBUF (src), NULL);

| ^~~~~~~~~~~~~

[ 122/1879] Compiling libs/tk/ydk-pixbuf/gdk-pixbuf-data.c

../libs/tk/ydk-pixbuf/gdk-pixbuf-scaled-anim.c:81:87: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic]

81 | G_DEFINE_TYPE (GdkPixbufScaledAnim, gdk_pixbuf_scaled_anim, GDK_TYPE_PIXBUF_ANIMATION);

| ^

../libs/tk/ydk-pixbuf/gdk-pixbuf-scaled-anim.c:208:101: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic]

208 | G_DEFINE_TYPE (GdkPixbufScaledAnimIter, gdk_pixbuf_scaled_anim_iter, GDK_TYPE_PIXBUF_ANIMATION_ITER);

| ^

[ 123/1879] Compiling libs/tk/ydk-pixbuf/gdk-pixbuf-enum-types.c

[ 124/1879] Compiling libs/tk/ydk-pixbuf/gdk-pixbuf-io.c

[ 125/1879] Compiling libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../libs/tk/ydk-pixbuf/ydk-pixbuf/ydk-pixbuf.h:29,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf-data.c:22:

../libs/tk/ydk-pixbuf/gdk-pixbuf-data.c: In function 'gdk_pixbuf_new_from_bytes':

../libs/tk/ydk-pixbuf/gdk-pixbuf-data.c:113:48: warning: comparison of integer expressions of different signedness: 'gsize' {aka 'long unsigned int'} and 'int' [-Wsign-compare]

113 | g_return_val_if_fail (g_bytes_get_size (data) >= width * height * (has_alpha ? 4 : 3), NULL);

| ^~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-data.c:113:2: note: in expansion of macro 'g_return_val_if_fail'

113 | g_return_val_if_fail (g_bytes_get_size (data) >= width * height * (has_alpha ? 4 : 3), NULL);

| ^~~~~~~~~~~~~~~~~~~~

[ 126/1879] Compiling libs/evoral/libsmf/smf_load.c

In file included from ../libs/tk/ydk-pixbuf/gdk-pixbuf.c:38:

../libs/tk/ydk-pixbuf/gdk-pixbuf-marshal.c:56:1: warning: no previous prototype for '_gdk_pixbuf_marshal_VOID__INT_INT' [-Wmissing-prototypes]

56 | _gdk_pixbuf_marshal_VOID__INT_INT (GClosure *closure,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-marshal.c: In function '_gdk_pixbuf_marshal_VOID__INT_INT':

../libs/tk/ydk-pixbuf/gdk-pixbuf-marshal.c:83:14: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]

83 | callback = (GMarshalFunc_VOID__INT_INT) (marshal_data ? marshal_data : cc->callback);

| ^

../libs/tk/ydk-pixbuf/gdk-pixbuf-marshal.c: At top level:

../libs/tk/ydk-pixbuf/gdk-pixbuf-marshal.c:93:1: warning: no previous prototype for '_gdk_pixbuf_marshal_VOID__INT_INT_INT_INT' [-Wmissing-prototypes]

93 | _gdk_pixbuf_marshal_VOID__INT_INT_INT_INT (GClosure *closure,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-marshal.c: In function '_gdk_pixbuf_marshal_VOID__INT_INT_INT_INT':

../libs/tk/ydk-pixbuf/gdk-pixbuf-marshal.c:122:14: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]

122 | callback = (GMarshalFunc_VOID__INT_INT_INT_INT) (marshal_data ? marshal_data : cc->callback);

| ^

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-private.h:30,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf.c:31:

../libs/tk/ydk-pixbuf/gdk-pixbuf.c: In function 'gdk_pixbuf_copy':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:481:2: note: in expansion of macro 'g_return_val_if_fail'

481 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:481:24: note: in expansion of macro 'GDK_IS_PIXBUF'

481 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c: In function 'gdk_pixbuf_get_colorspace':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:577:2: note: in expansion of macro 'g_return_val_if_fail'

577 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), GDK_COLORSPACE_RGB);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:577:24: note: in expansion of macro 'GDK_IS_PIXBUF'

577 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), GDK_COLORSPACE_RGB);

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c: In function 'gdk_pixbuf_get_n_channels':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:593:2: note: in expansion of macro 'g_return_val_if_fail'

593 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), -1);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:593:24: note: in expansion of macro 'GDK_IS_PIXBUF'

593 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), -1);

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c: In function 'gdk_pixbuf_get_has_alpha':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:609:2: note: in expansion of macro 'g_return_val_if_fail'

609 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), FALSE);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:609:24: note: in expansion of macro 'GDK_IS_PIXBUF'

609 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), FALSE);

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c: In function 'gdk_pixbuf_get_bits_per_sample':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:625:2: note: in expansion of macro 'g_return_val_if_fail'

625 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), -1);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:625:24: note: in expansion of macro 'GDK_IS_PIXBUF'

625 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), -1);

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c: In function 'gdk_pixbuf_get_pixels_with_length':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:671:2: note: in expansion of macro 'g_return_val_if_fail'

671 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:671:24: note: in expansion of macro 'GDK_IS_PIXBUF'

671 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:674:41: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

674 | GdkPixbuf *mut_pixbuf = (GdkPixbuf*)pixbuf;

| ^

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-private.h:30,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf.c:31:

../libs/tk/ydk-pixbuf/gdk-pixbuf.c: In function 'gdk_pixbuf_read_pixels':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:700:2: note: in expansion of macro 'g_return_val_if_fail'

700 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:700:24: note: in expansion of macro 'GDK_IS_PIXBUF'

700 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c: In function 'gdk_pixbuf_read_pixel_bytes':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:725:9: note: in expansion of macro 'g_return_val_if_fail'

725 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:725:31: note: in expansion of macro 'GDK_IS_PIXBUF'

725 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c: In function 'gdk_pixbuf_get_width':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:746:2: note: in expansion of macro 'g_return_val_if_fail'

746 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), -1);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:746:24: note: in expansion of macro 'GDK_IS_PIXBUF'

746 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), -1);

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c: In function 'gdk_pixbuf_get_height':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:762:2: note: in expansion of macro 'g_return_val_if_fail'

762 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), -1);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:762:24: note: in expansion of macro 'GDK_IS_PIXBUF'

762 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), -1);

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c: In function 'gdk_pixbuf_get_rowstride':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:779:2: note: in expansion of macro 'g_return_val_if_fail'

779 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), -1);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:779:24: note: in expansion of macro 'GDK_IS_PIXBUF'

779 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), -1);

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c: In function 'gdk_pixbuf_get_byte_length':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:797:2: note: in expansion of macro 'g_return_val_if_fail'

797 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), -1);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf.c:797:24: note: in expansion of macro 'GDK_IS_PIXBUF'

797 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), -1);

| ^~~~~~~~~~~~~

[ 127/1879] Compiling libs/evoral/libsmf/smf_save.c

[ 128/1879] Compiling libs/evoral/libsmf/smf_tempo.c

[ 129/1879] Compiling libs/evoral/libsmf/smf.c

[ 130/1879] Compiling libs/evoral/libsmf/smf_decode.c

../libs/tk/ztk/atktext.c: In function 'atk_text_get_type':

../libs/tk/ztk/atktext.c:169:7: warning: missing initializer for field 'class_data' of 'GTypeInfo' {aka 'const struct _GTypeInfo'} [-Wmissing-field-initializers]

169 | };

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atk.h:25,

from ../libs/tk/ztk/atktext.c:22:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:1048:26: note: 'class_data' declared here

1048 | gconstpointer class_data;

| ^~~~~~~~~~

../libs/tk/ztk/atktext.c: In function 'atk_text_attribute_get_name':

../libs/tk/ztk/atktext.c:1198:17: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

1198 | if (n < extra_attributes->len)

| ^

../libs/tk/ztk/atktext.c: In function 'atk_text_attribute_for_name':

../libs/tk/ztk/atktext.c:1241:25: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare]

1241 | for (i = 0; i < extra_attributes->len; i++)

| ^

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atk.h:25,

from ../libs/tk/ztk/atktext.c:22:

../libs/tk/ztk/atktext.c: In function 'atk_text_attribute_get_value':

../libs/tk/ztk/atktext.c:1283:37: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long unsigned int' [-Wsign-compare]

1283 | g_assert (index >= 0 && index < G_N_ELEMENTS (boolean_offsets));

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ztk/atktext.c:1283:7: note: in expansion of macro 'g_assert'

1283 | g_assert (index >= 0 && index < G_N_ELEMENTS (boolean_offsets));

| ^~~~~~~~

../libs/tk/ztk/atktext.c:1286:37: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long unsigned int' [-Wsign-compare]

1286 | g_assert (index >= 0 && index < G_N_ELEMENTS (underline_offsets));

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ztk/atktext.c:1286:7: note: in expansion of macro 'g_assert'

1286 | g_assert (index >= 0 && index < G_N_ELEMENTS (underline_offsets));

| ^~~~~~~~

../libs/tk/ztk/atktext.c:1289:37: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long unsigned int' [-Wsign-compare]

1289 | g_assert (index >= 0 && index < G_N_ELEMENTS (wrap_mode_offsets));

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ztk/atktext.c:1289:7: note: in expansion of macro 'g_assert'

1289 | g_assert (index >= 0 && index < G_N_ELEMENTS (wrap_mode_offsets));

| ^~~~~~~~

../libs/tk/ztk/atktext.c:1292:37: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long unsigned int' [-Wsign-compare]

1292 | g_assert (index >= 0 && index < G_N_ELEMENTS (direction_offsets));

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ztk/atktext.c:1292:7: note: in expansion of macro 'g_assert'

1292 | g_assert (index >= 0 && index < G_N_ELEMENTS (direction_offsets));

| ^~~~~~~~

../libs/tk/ztk/atktext.c:1295:37: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long unsigned int' [-Wsign-compare]

1295 | g_assert (index >= 0 && index < G_N_ELEMENTS (justification_offsets));

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ztk/atktext.c:1295:7: note: in expansion of macro 'g_assert'

1295 | g_assert (index >= 0 && index < G_N_ELEMENTS (justification_offsets));

| ^~~~~~~~

../libs/tk/ztk/atktext.c:1298:37: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long unsigned int' [-Wsign-compare]

1298 | g_assert (index >= 0 && index < G_N_ELEMENTS (stretch_offsets));

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ztk/atktext.c:1298:7: note: in expansion of macro 'g_assert'

1298 | g_assert (index >= 0 && index < G_N_ELEMENTS (stretch_offsets));

| ^~~~~~~~

../libs/tk/ztk/atktext.c:1301:37: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long unsigned int' [-Wsign-compare]

1301 | g_assert (index >= 0 && index < G_N_ELEMENTS (variant_offsets));

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ztk/atktext.c:1301:7: note: in expansion of macro 'g_assert'

1301 | g_assert (index >= 0 && index < G_N_ELEMENTS (variant_offsets));

| ^~~~~~~~

../libs/tk/ztk/atktext.c:1304:37: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long unsigned int' [-Wsign-compare]

1304 | g_assert (index >= 0 && index < G_N_ELEMENTS (style_offsets));

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ztk/atktext.c:1304:7: note: in expansion of macro 'g_assert'

1304 | g_assert (index >= 0 && index < G_N_ELEMENTS (style_offsets));

| ^~~~~~~~

../libs/tk/ztk/atktext.c: In function 'atk_text_real_get_bounded_ranges':

../libs/tk/ztk/atktext.c:1414:3: warning: 'atk_text_get_text_at_offset' is deprecated: Use 'atk_text_get_string_at_offset' instead [-Wdeprecated-declarations]

1414 | line = atk_text_get_text_at_offset (text, bounds_min_offset,

| ^~~~

../libs/tk/ztk/atktext.c:465:1: note: declared here

465 | atk_text_get_text_at_offset (AtkText *text,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atktext.c:1418:3: warning: 'atk_text_get_text_at_offset' is deprecated: Use 'atk_text_get_string_at_offset' instead [-Wdeprecated-declarations]

1418 | line = atk_text_get_text_at_offset (text, bounds_max_offset,

| ^~~~

../libs/tk/ztk/atktext.c:465:1: note: declared here

465 | atk_text_get_text_at_offset (AtkText *text,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ztk/ztk/atkobject.h:27,

from ../libs/tk/ztk/ztk/atk.h:25,

from ../libs/tk/ztk/atktext.c:22:

../libs/tk/ztk/atktext.c: In function 'atk_text_range_get_type':

../libs/tk/ztk/atktext.c:1514:52: warning: ISO C prohibits argument conversion to union type [-Wpedantic]

1514 | G_DEFINE_BOXED_TYPE (AtkTextRange, atk_text_range, atk_text_range_copy,

| ^~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2094:64: note: in definition of macro '_G_DEFINE_BOXED_TYPE_BEGIN'

2094 | _g_register_boxed (g_intern_static_string (#TypeName), copy_func, free_func); \

| ^~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2039:72: note: in expansion of macro 'G_DEFINE_BOXED_TYPE_WITH_CODE'

2039 | #define G_DEFINE_BOXED_TYPE(TypeName, type_name, copy_func, free_func) G_DEFINE_BOXED_TYPE_WITH_CODE (TypeName, type_name, copy_func, free_func, {})

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atktext.c:1514:1: note: in expansion of macro 'G_DEFINE_BOXED_TYPE'

1514 | G_DEFINE_BOXED_TYPE (AtkTextRange, atk_text_range, atk_text_range_copy,

| ^~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atktext.c:1515:22: warning: ISO C prohibits argument conversion to union type [-Wpedantic]

1515 | atk_text_range_free)

| ^~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2094:75: note: in definition of macro '_G_DEFINE_BOXED_TYPE_BEGIN'

2094 | _g_register_boxed (g_intern_static_string (#TypeName), copy_func, free_func); \

| ^~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2039:72: note: in expansion of macro 'G_DEFINE_BOXED_TYPE_WITH_CODE'

2039 | #define G_DEFINE_BOXED_TYPE(TypeName, type_name, copy_func, free_func) G_DEFINE_BOXED_TYPE_WITH_CODE (TypeName, type_name, copy_func, free_func, {})

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atktext.c:1514:1: note: in expansion of macro 'G_DEFINE_BOXED_TYPE'

1514 | G_DEFINE_BOXED_TYPE (AtkTextRange, atk_text_range, atk_text_range_copy,

| ^~~~~~~~~~~~~~~~~~~

../libs/tk/ztk/atktext.c:1422:23: warning: The left operand of '<' is a garbage value [core.UndefinedBinaryOperatorResult]

bounds_min_offset = MIN (min_line_start, max_line_start);

^ ~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:300:26: note: expanded from macro 'MIN'

#define MIN(a, b) (((a) < (b)) ? (a) : (b))

~ ^

../libs/tk/ztk/atktext.c:1422:23: warning: The right operand of '<' is a garbage value [core.UndefinedBinaryOperatorResult]

bounds_min_offset = MIN (min_line_start, max_line_start);

^ ~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:300:26: note: expanded from macro 'MIN'

#define MIN(a, b) (((a) < (b)) ? (a) : (b))

^ ~

2 warnings generated.

[ 131/1879] Compiling libs/evoral/Note.cc

[ 132/1879] Compiling libs/evoral/debug.cc

[ 133/1879] Linking build/libs/tk/ztk/libztk.so

../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c:97:72: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic]

97 | G_DEFINE_TYPE (GdkPixbufAnimation, gdk_pixbuf_animation, G_TYPE_OBJECT);

| ^

../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c: In function 'gdk_pixbuf_animation_new_from_file':

../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c:216:24: warning: declaration of 'buffer' shadows a previous local [-Wshadow]

216 | guchar buffer[4096];

| ^~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c:144:9: note: shadowed declaration is here

144 | guchar buffer [SNIFF_BUFFER_SIZE];

| ^~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c: In function 'gdk_pixbuf_animation_new_from_stream_async':

../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c:455:78: warning: ISO C forbids passing argument 4 of 'g_simple_async_result_new' between function pointer and 'void *' [-Wpedantic]

455 | result = g_simple_async_result_new (G_OBJECT (stream), callback, user_data, gdk_pixbuf_animation_new_from_stream_async);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gio.h:117,

from ../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:33,

from ../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-private.h:32,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c:25:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gsimpleasyncresult.h:54:37: note: expected 'gpointer' {aka 'void *'} but argument is of type 'void (*)(GInputStream *, GCancellable *, void (*)(GObject *, GAsyncResult *, void *), void *)' {aka 'void (*)(struct _GInputStream *, struct _GCancellable *, void (*)(struct _GObject *, struct _GAsyncResult *, void *), void *)'}

54 | gpointer source_tag);

| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-private.h:30,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c:25:

../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c: In function 'gdk_pixbuf_animation_new_from_stream_finish':

../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c:481:64: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic]

481 | g_warn_if_fail (g_simple_async_result_get_source_tag (result) == gdk_pixbuf_animation_new_from_stream_async);

| ^~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c:481:2: note: in expansion of macro 'g_warn_if_fail'

481 | g_warn_if_fail (g_simple_async_result_get_source_tag (result) == gdk_pixbuf_animation_new_from_stream_async);

| ^~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c: At top level:

../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c:705:81: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic]

705 | G_DEFINE_TYPE (GdkPixbufAnimationIter, gdk_pixbuf_animation_iter, G_TYPE_OBJECT);

| ^

../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c:839:81: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic]

839 | G_DEFINE_TYPE (GdkPixbufNonAnim, gdk_pixbuf_non_anim, GDK_TYPE_PIXBUF_ANIMATION);

| ^

../libs/tk/ydk-pixbuf/gdk-pixbuf-animation.c:943:47: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic]

943 | GDK_TYPE_PIXBUF_ANIMATION_ITER);

| ^

[ 134/1879] Compiling libs/evoral/Sequence.cc

[ 135/1879] Compiling libs/evoral/Event.cc

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-private.h:30,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf-loader.c:28:

../libs/tk/ydk-pixbuf/gdk-pixbuf-loader.c: In function 'gdk_pixbuf_loader_eat_header_write':

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:300:26: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'gsize' {aka 'long unsigned int'} [-Wsign-compare]

300 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))

| ^

../libs/tk/ydk-pixbuf/gdk-pixbuf-loader.c:460:19: note: in expansion of macro 'MIN'

460 | n_bytes = MIN(SNIFF_BUFFER_SIZE - priv->header_buf_offset, count);

| ^~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:300:35: warning: operand of '?:' changes signedness from 'gint' {aka 'int'} to 'gsize' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]

300 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))

| ^~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-loader.c:460:19: note: in expansion of macro 'MIN'

460 | n_bytes = MIN(SNIFF_BUFFER_SIZE - priv->header_buf_offset, count);

| ^~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-loader.c:380:20: warning: Access to field 'module_name' results in a dereference of a null pointer (loaded from field 'image_module') [core.NullDereference]

priv->image_module->module_name);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-loader.c:521:26: warning: Access to field 'load_increment' results in a dereference of a null pointer (loaded from field 'image_module') [core.NullDereference]

if (count > 0 && priv->image_module->load_increment)

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[ 136/1879] Compiling libs/evoral/SMF.cc

../libs/tk/ydk-pixbuf/io-xbm.c: In function 'read_bitmap_file_data':

../libs/tk/ydk-pixbuf/io-xbm.c:238:43: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare]

238 | if (size / bytes_per_line != hh) /* overflow */

| ^~

../libs/tk/ydk-pixbuf/io-xbm.c: In function 'gdk_pixbuf__xbm_image_load_real':

../libs/tk/ydk-pixbuf/io-xbm.c:334:16: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare]

334 | for (y = 0; y < h; y++) {

| ^

../libs/tk/ydk-pixbuf/io-xbm.c:336:17: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare]

336 | for (x = 0; x < w; x++) {

| ^

../libs/tk/ydk-pixbuf/io-xbm.c: At top level:

../libs/tk/ydk-pixbuf/io-xbm.c:470:37: warning: no previous prototype for '_gdk_pixbuf__xbm_fill_vtable' [-Wmissing-prototypes]

470 | #define MODULE_ENTRY(function) void _gdk_pixbuf__xbm_ ## function

| ^~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-xbm.c:473:1: note: in expansion of macro 'MODULE_ENTRY'

473 | MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)

| ^~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-xbm.c:470:37: warning: no previous prototype for '_gdk_pixbuf__xbm_fill_info' [-Wmissing-prototypes]

470 | #define MODULE_ENTRY(function) void _gdk_pixbuf__xbm_ ## function

| ^~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-xbm.c:481:1: note: in expansion of macro 'MODULE_ENTRY'

481 | MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)

| ^~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-xbm.c: In function '_gdk_pixbuf__xbm_fill_info':

../libs/tk/ydk-pixbuf/io-xbm.c:484:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

484 | { "#define ", NULL, 100 },

| ^~~~~~~~~~

../libs/tk/ydk-pixbuf/io-xbm.c:485:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

485 | { "/*", NULL, 50 },

| ^~~~

../libs/tk/ydk-pixbuf/io-xbm.c:497:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

497 | info->name = "xbm";

| ^

../libs/tk/ydk-pixbuf/io-xbm.c:498:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

498 | info->signature = (GdkPixbufModulePattern *) signature;

| ^

../libs/tk/ydk-pixbuf/io-xbm.c:499:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

499 | info->description = N_("The XBM image format");

| ^

../libs/tk/ydk-pixbuf/io-xbm.c:500:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

500 | info->mime_types = (gchar **) mime_types;

| ^

../libs/tk/ydk-pixbuf/io-xbm.c:501:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

501 | info->extensions = (gchar **) extensions;

| ^

../libs/tk/ydk-pixbuf/io-xbm.c:503:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

503 | info->license = "LGPL";

| ^

../libs/tk/ydk-pixbuf/io-xbm.c:309:17: warning: Potential leak of memory pointed to by 'data' [unix.Malloc]

g_set_error_literal (error,

^~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 137/1879] Compiling libs/evoral/Curve.cc

[ 138/1879] Compiling libs/evoral/ControlList.cc

[ 139/1879] Compiling libs/evoral/ControlSet.cc

../libs/evoral/libsmf/smf_load.c:627:2: warning: Value stored to 'buffer_length' is never read [deadcode.DeadStores]

buffer_length -= len;

^ ~~~

1 warning generated.

[ 140/1879] Compiling libs/evoral/Control.cc

In file included from ../libs/tk/ydk-pixbuf/io-xpm.c:115:

../libs/tk/ydk-pixbuf/ydk-pixbuf/xpm-color-table.h:672:3: warning: string length '6165' is greater than the length '4095' ISO C99 compilers are required to support [-Woverlength-strings]

672 | "YellowGreen\0";

| ^~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-xpm.c: In function 'parse_color':

../libs/tk/ydk-pixbuf/io-xpm.c:189:29: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=]

189 | if (sscanf (spec + 1, "%4x%4x%4x", &red, &green, &blue) != 3)

| ~~^ ~~~~

| | |

| | int *

| unsigned int *

| %4x

../libs/tk/ydk-pixbuf/io-xpm.c:189:32: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=]

189 | if (sscanf (spec + 1, "%4x%4x%4x", &red, &green, &blue) != 3)

| ~~^ ~~~~~~

| | |

| | int *

| unsigned int *

| %4x

../libs/tk/ydk-pixbuf/io-xpm.c:189:35: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=]

189 | if (sscanf (spec + 1, "%4x%4x%4x", &red, &green, &blue) != 3)

| ~~^ ~~~~~

| | |

| unsigned int * int *

| %4x

../libs/tk/ydk-pixbuf/io-xpm.c:195:29: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=]

195 | if (sscanf (spec + 1, "%1x%1x%1x", &red, &green, &blue) != 3)

| ~~^ ~~~~

| | |

| | int *

| unsigned int *

| %1x

../libs/tk/ydk-pixbuf/io-xpm.c:195:32: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=]

195 | if (sscanf (spec + 1, "%1x%1x%1x", &red, &green, &blue) != 3)

| ~~^ ~~~~~~

| | |

| | int *

| unsigned int *

| %1x

../libs/tk/ydk-pixbuf/io-xpm.c:195:35: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=]

195 | if (sscanf (spec + 1, "%1x%1x%1x", &red, &green, &blue) != 3)

| ~~^ ~~~~~

| | |

| unsigned int * int *

| %1x

../libs/tk/ydk-pixbuf/io-xpm.c:201:29: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=]

201 | if (sscanf (spec + 1, "%2x%2x%2x", &red, &green, &blue) != 3)

| ~~^ ~~~~

| | |

| | int *

| unsigned int *

| %2x

../libs/tk/ydk-pixbuf/io-xpm.c:201:32: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=]

201 | if (sscanf (spec + 1, "%2x%2x%2x", &red, &green, &blue) != 3)

| ~~^ ~~~~~~

| | |

| | int *

| unsigned int *

| %2x

../libs/tk/ydk-pixbuf/io-xpm.c:201:35: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=]

201 | if (sscanf (spec + 1, "%2x%2x%2x", &red, &green, &blue) != 3)

| ~~^ ~~~~~

| | |

| unsigned int * int *

| %2x

../libs/tk/ydk-pixbuf/io-xpm.c:207:29: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=]

207 | if (sscanf (spec + 1, "%3x%3x%3x", &red, &green, &blue) != 3)

| ~~^ ~~~~

| | |

| | int *

| unsigned int *

| %3x

../libs/tk/ydk-pixbuf/io-xpm.c:207:32: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=]

207 | if (sscanf (spec + 1, "%3x%3x%3x", &red, &green, &blue) != 3)

| ~~^ ~~~~~~

| | |

| | int *

| unsigned int *

| %3x

../libs/tk/ydk-pixbuf/io-xpm.c:207:35: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=]

207 | if (sscanf (spec + 1, "%3x%3x%3x", &red, &green, &blue) != 3)

| ~~^ ~~~~~

| | |

| unsigned int * int *

| %3x

../libs/tk/ydk-pixbuf/io-xpm.c: In function 'xpm_extract_color':

../libs/tk/ydk-pixbuf/io-xpm.c:331:66: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]

331 | for (r = word; *p != '\0' && !g_ascii_isspace (*p) && r - word < sizeof (word) - 1; p++, r++) {

| ^

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../libs/tk/ydk-pixbuf/io-xpm.c:28:

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:300:26: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]

300 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))

| ^

../libs/tk/ydk-pixbuf/io-xpm.c:366:13: note: in expansion of macro 'MIN'

366 | space -= MIN (space, strlen (word));

| ^~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:300:35: warning: operand of '?:' changes signedness from 'gint' {aka 'int'} to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare]

300 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))

| ^~~

../libs/tk/ydk-pixbuf/io-xpm.c:366:13: note: in expansion of macro 'MIN'

366 | space -= MIN (space, strlen (word));

| ^~~

../libs/tk/ydk-pixbuf/io-xpm.c: In function 'pixbuf_create_from_xpm':

../libs/tk/ydk-pixbuf/io-xpm.c:500:18: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'unsigned int' [-Wsign-compare]

500 | if ((h > 0 && w >= UINT_MAX / h) ||

| ^~

../libs/tk/ydk-pixbuf/io-xpm.c:501:12: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long unsigned int' [-Wsign-compare]

501 | w * h >= UINT_MAX / sizeof(unsigned int)) {

| ^~

../libs/tk/ydk-pixbuf/io-xpm.c:517:12: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long unsigned int' [-Wsign-compare]

517 | n_col >= G_MAXINT / sizeof (XPMColor)) {

| ^~

../libs/tk/ydk-pixbuf/io-xpm.c:603:37: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'gint' {aka 'int'} [-Wsign-compare]

603 | if ((!buffer) || (strlen (buffer) < wbytes)) {

| ^

../libs/tk/ydk-pixbuf/io-xpm.c: At top level:

../libs/tk/ydk-pixbuf/io-xpm.c:812:37: warning: no previous prototype for '_gdk_pixbuf__xpm_fill_vtable' [-Wmissing-prototypes]

812 | #define MODULE_ENTRY(function) void _gdk_pixbuf__xpm_ ## function

| ^~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-xpm.c:815:1: note: in expansion of macro 'MODULE_ENTRY'

815 | MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)

| ^~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-xpm.c:812:37: warning: no previous prototype for '_gdk_pixbuf__xpm_fill_info' [-Wmissing-prototypes]

812 | #define MODULE_ENTRY(function) void _gdk_pixbuf__xpm_ ## function

| ^~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-xpm.c:824:1: note: in expansion of macro 'MODULE_ENTRY'

824 | MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)

| ^~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-xpm.c: In function '_gdk_pixbuf__xpm_fill_info':

../libs/tk/ydk-pixbuf/io-xpm.c:827:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

827 | { "/* XPM */", NULL, 100 },

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-xpm.c:839:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

839 | info->name = "xpm";

| ^

../libs/tk/ydk-pixbuf/io-xpm.c:840:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

840 | info->signature = (GdkPixbufModulePattern *) signature;

| ^

../libs/tk/ydk-pixbuf/io-xpm.c:841:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

841 | info->description = N_("The XPM image format");

| ^

../libs/tk/ydk-pixbuf/io-xpm.c:842:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

842 | info->mime_types = (gchar **) mime_types;

| ^

../libs/tk/ydk-pixbuf/io-xpm.c:843:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

843 | info->extensions = (gchar **) extensions;

| ^

../libs/tk/ydk-pixbuf/io-xpm.c:845:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

845 | info->license = "LGPL";

| ^

../libs/tk/ydk-pixbuf/io-xpm.c: In function 'file_buffer':

../libs/tk/ydk-pixbuf/io-xpm.c:398:6: warning: this statement may fall through [-Wimplicit-fallthrough=]

398 | if (xpm_seek_char (h->infile, '{') != TRUE)

| ^

../libs/tk/ydk-pixbuf/io-xpm.c:402:2: note: here

402 | case op_cmap:

| ^~~~

../libs/tk/ydk-pixbuf/io-xpm.c:404:6: warning: this statement may fall through [-Wimplicit-fallthrough=]

404 | if (fseek (h->infile, -1, SEEK_CUR) != 0)

| ^

../libs/tk/ydk-pixbuf/io-xpm.c:408:2: note: here

408 | case op_body:

| ^~~~

[ 141/1879] Compiling libs/tk/ydk/x11/gdkkeys-x11.c

../libs/tk/ydk-pixbuf/io-png.c: In function 'png_text_to_pixbuf_option':

../libs/tk/ydk-pixbuf/io-png.c:209:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]

209 | for (i = 0; i < text_ptr.text_length; i++)

| ^

../libs/tk/ydk-pixbuf/io-png.c: In function 'gdk_pixbuf__png_image_load':

../libs/tk/ydk-pixbuf/io-png.c:324:16: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'png_uint_32' {aka 'unsigned int'} [-Wsign-compare]

324 | for (i = 0; i < h; i++)

| ^

../libs/tk/ydk-pixbuf/io-png.c:342:32: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

342 | (png_charpp) &icc_profile_title, &compression_type,

| ^

../libs/tk/ydk-pixbuf/io-png.c:343:32: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

343 | (png_bytepp) &icc_profile, (png_uint_32*) &icc_profile_size);

| ^

../libs/tk/ydk-pixbuf/io-png.c: In function 'gdk_pixbuf__png_image_load_increment':

../libs/tk/ydk-pixbuf/io-png.c:538:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

538 | (guchar*) buf, size);

| ^

../libs/tk/ydk-pixbuf/io-png.c: In function 'png_info_callback':

../libs/tk/ydk-pixbuf/io-png.c:679:32: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

679 | (png_charpp) &icc_profile_title, &compression_type,

| ^

../libs/tk/ydk-pixbuf/io-png.c:680:32: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

680 | (png_bytepp) &icc_profile, &icc_profile_size);

| ^

../libs/tk/ydk-pixbuf/io-png.c: In function 'png_row_callback':

../libs/tk/ydk-pixbuf/io-png.c:712:21: warning: comparison of integer expressions of different signedness: 'png_uint_32' {aka 'unsigned int'} and 'int' [-Wsign-compare]

712 | if (row_num >= lc->pixbuf->height) {

| ^~

../libs/tk/ydk-pixbuf/io-png.c: At top level:

../libs/tk/ydk-pixbuf/io-png.c:1087:37: warning: no previous prototype for '_gdk_pixbuf__png_fill_vtable' [-Wmissing-prototypes]

1087 | #define MODULE_ENTRY(function) void _gdk_pixbuf__png_ ## function

| ^~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-png.c:1090:1: note: in expansion of macro 'MODULE_ENTRY'

1090 | MODULE_ENTRY (fill_vtable) (GdkPixbufModule *module)

| ^~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-png.c:1087:37: warning: no previous prototype for '_gdk_pixbuf__png_fill_info' [-Wmissing-prototypes]

1087 | #define MODULE_ENTRY(function) void _gdk_pixbuf__png_ ## function

| ^~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-png.c:1100:1: note: in expansion of macro 'MODULE_ENTRY'

1100 | MODULE_ENTRY (fill_info) (GdkPixbufFormat *info)

| ^~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-png.c: In function '_gdk_pixbuf__png_fill_info':

../libs/tk/ydk-pixbuf/io-png.c:1103:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

1103 | { "\x89PNG\r\n\x1a\x0a", NULL, 100 },

| ^~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/io-png.c:1115:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

1115 | info->name = "png";

| ^

../libs/tk/ydk-pixbuf/io-png.c:1116:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1116 | info->signature = (GdkPixbufModulePattern *) signature;

| ^

../libs/tk/ydk-pixbuf/io-png.c:1117:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

1117 | info->description = N_("The PNG image format");

| ^

../libs/tk/ydk-pixbuf/io-png.c:1118:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1118 | info->mime_types = (gchar **) mime_types;

| ^

../libs/tk/ydk-pixbuf/io-png.c:1119:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1119 | info->extensions = (gchar **) extensions;

| ^

../libs/tk/ydk-pixbuf/io-png.c:1121:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

1121 | info->license = "LGPL";

| ^

../libs/tk/ydk-pixbuf/io-png.c:926:28: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker]

if (strncmp (*kiter, "tEXt::", 6) != 0) {

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 142/1879] Compiling libs/tk/ydk/x11/gdkglobals-x11.c

[ 143/1879] Compiling libs/tk/ydk/x11/gdkfont-x11.c

[ 144/1879] Compiling libs/tk/ydk/x11/gdkapplaunchcontext-x11.c

[ 145/1879] Compiling libs/tk/ydk/gdkdnd.c

[ 146/1879] Compiling libs/tk/ydk/x11/gdkimage-x11.c

[ 147/1879] Compiling libs/tk/ydk/x11/gdkim-x11.c

[ 148/1879] Compiling libs/tk/ydk/x11/gdkgc-x11.c

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-transform.h:31,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf-util.c:26:

../libs/tk/ydk-pixbuf/gdk-pixbuf-util.c: In function 'gdk_pixbuf_add_alpha':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-util.c:71:2: note: in expansion of macro 'g_return_val_if_fail'

71 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-util.c:71:24: note: in expansion of macro 'GDK_IS_PIXBUF'

71 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-util.c: In function 'gdk_pixbuf_saturate_and_pixelate':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-util.c:202:9: note: in expansion of macro 'g_return_if_fail'

202 | g_return_if_fail (GDK_IS_PIXBUF (src));

| ^~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-util.c:202:27: note: in expansion of macro 'GDK_IS_PIXBUF'

202 | g_return_if_fail (GDK_IS_PIXBUF (src));

| ^~~~~~~~~~~~~

[ 149/1879] Compiling libs/tk/ydk/x11/gdkgeometry-x11.c

[ 150/1879] Compiling libs/tk/ydk/x11/gdkevents-x11.c

../libs/tk/ydk/x11/gdkim-x11.c:167:4: warning: Value stored to 'src' is never read [deadcode.DeadStores]

src = (GdkWChar *)tmp;

^ ~~~~~~~~~~~~~~~

1 warning generated.

[ 151/1879] Compiling libs/tk/ydk/x11/gdkdnd-x11.c

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c: In function 'gdk_pixbuf_io_init':

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:393:37: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

393 | builtin_module->module_name = #format; \

| ^

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:400:9: note: in expansion of macro 'load_one_builtin_module'

400 | load_one_builtin_module (pixdata);

| ^~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:393:37: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

393 | builtin_module->module_name = #format; \

| ^

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:406:9: note: in expansion of macro 'load_one_builtin_module'

406 | load_one_builtin_module (png);

| ^~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:393:37: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

393 | builtin_module->module_name = #format; \

| ^

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:433:9: note: in expansion of macro 'load_one_builtin_module'

433 | load_one_builtin_module (xpm);

| ^~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:393:37: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

393 | builtin_module->module_name = #format; \

| ^

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:436:9: note: in expansion of macro 'load_one_builtin_module'

436 | load_one_builtin_module (xbm);

| ^~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c: In function 'gdk_pixbuf_new_from_stream_at_scale_async':

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:1613:31: warning: ISO C forbids passing argument 2 of 'g_task_set_source_tag' between function pointer and 'void *' [-Wpedantic]

1613 | g_task_set_source_tag (task, gdk_pixbuf_new_from_stream_at_scale_async);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gio.h:131,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:34:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gtask.h:76:66: note: expected 'gpointer' {aka 'void *'} but argument is of type 'void (*)(GInputStream *, gint, gint, gboolean, GCancellable *, void (*)(GObject *, GAsyncResult *, void *), void *)' {aka 'void (*)(struct _GInputStream *, int, int, int, struct _GCancellable *, void (*)(struct _GObject *, struct _GAsyncResult *, void *), void *)'}

76 | gpointer source_tag);

| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c: In function 'gdk_pixbuf_new_from_stream_async':

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:1808:31: warning: ISO C forbids passing argument 2 of 'g_task_set_source_tag' between function pointer and 'void *' [-Wpedantic]

1808 | g_task_set_source_tag (task, gdk_pixbuf_new_from_stream_async);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gio.h:131,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:34:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gtask.h:76:66: note: expected 'gpointer' {aka 'void *'} but argument is of type 'void (*)(GInputStream *, GCancellable *, void (*)(GObject *, GAsyncResult *, void *), void *)' {aka 'void (*)(struct _GInputStream *, struct _GCancellable *, void (*)(struct _GObject *, struct _GAsyncResult *, void *), void *)'}

76 | gpointer source_tag);

| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:33:

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c: In function 'gdk_pixbuf_new_from_stream_finish':

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:1840:47: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic]

1840 | g_warn_if_fail (g_task_get_source_tag (task) == gdk_pixbuf_new_from_stream_async ||

| ^~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:1840:2: note: in expansion of macro 'g_warn_if_fail'

1840 | g_warn_if_fail (g_task_get_source_tag (task) == gdk_pixbuf_new_from_stream_async ||

| ^~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:1841:33: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic]

1841 | g_task_get_source_tag (task) == gdk_pixbuf_new_from_stream_at_scale_async);

| ^~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:1840:2: note: in expansion of macro 'g_warn_if_fail'

1840 | g_warn_if_fail (g_task_get_source_tag (task) == gdk_pixbuf_new_from_stream_async ||

| ^~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c: In function 'gdk_pixbuf_get_file_info_async':

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:2006:38: warning: ISO C forbids passing argument 2 of 'g_task_set_source_tag' between function pointer and 'void *' [-Wpedantic]

2006 | g_task_set_source_tag (task, gdk_pixbuf_get_file_info_async);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gio.h:131,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:34:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gtask.h:76:66: note: expected 'gpointer' {aka 'void *'} but argument is of type 'void (*)(const gchar *, GCancellable *, void (*)(GObject *, GAsyncResult *, void *), void *)' {aka 'void (*)(const char *, struct _GCancellable *, void (*)(struct _GObject *, struct _GAsyncResult *, void *), void *)'}

76 | gpointer source_tag);

| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:33:

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c: In function 'gdk_pixbuf_get_file_info_finish':

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:2043:54: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic]

2043 | g_warn_if_fail (g_task_get_source_tag (task) == gdk_pixbuf_get_file_info_async);

| ^~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:2043:9: note: in expansion of macro 'g_warn_if_fail'

2043 | g_warn_if_fail (g_task_get_source_tag (task) == gdk_pixbuf_get_file_info_async);

| ^~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c: In function 'gdk_pixbuf_save_to_stream_async':

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:3014:31: warning: ISO C forbids passing argument 2 of 'g_task_set_source_tag' between function pointer and 'void *' [-Wpedantic]

3014 | g_task_set_source_tag (task, gdk_pixbuf_save_to_stream_async);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gio.h:131,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:34:

../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gtask.h:76:66: note: expected 'gpointer' {aka 'void *'} but argument is of type 'void (*)(GdkPixbuf *, GOutputStream *, const gchar *, GCancellable *, void (*)(GObject *, GAsyncResult *, void *), void *, ...)' {aka 'void (*)(struct _GdkPixbuf *, struct _GOutputStream *, const char *, struct _GCancellable *, void (*)(struct _GObject *, struct _GAsyncResult *, void *), void *, ...)'}

76 | gpointer source_tag);

| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:33:

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c: In function 'gdk_pixbuf_save_to_stream_finish':

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:3046:47: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic]

3046 | g_warn_if_fail (g_task_get_source_tag (task) == gdk_pixbuf_save_to_stream_async);

| ^~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:3046:2: note: in expansion of macro 'g_warn_if_fail'

3046 | g_warn_if_fail (g_task_get_source_tag (task) == gdk_pixbuf_save_to_stream_async);

| ^~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c: In function 'gdk_pixbuf_format_get_description':

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:3089:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

3089 | domain = GETTEXT_PACKAGE;

| ^

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gioenums.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/giotypes.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gio.h:26,

from ../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:34:

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c: In function 'gdk_pixbuf_format_get_type':

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:3307:8: warning: ISO C prohibits argument conversion to union type [-Wpedantic]

3307 | gdk_pixbuf_format_copy,

| ^~~~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2094:64: note: in definition of macro '_G_DEFINE_BOXED_TYPE_BEGIN'

2094 | _g_register_boxed (g_intern_static_string (#TypeName), copy_func, free_func); \

| ^~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2039:72: note: in expansion of macro 'G_DEFINE_BOXED_TYPE_WITH_CODE'

2039 | #define G_DEFINE_BOXED_TYPE(TypeName, type_name, copy_func, free_func) G_DEFINE_BOXED_TYPE_WITH_CODE (TypeName, type_name, copy_func, free_func, {})

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:3306:1: note: in expansion of macro 'G_DEFINE_BOXED_TYPE'

3306 | G_DEFINE_BOXED_TYPE (GdkPixbufFormat, gdk_pixbuf_format,

| ^~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:3308:8: warning: ISO C prohibits argument conversion to union type [-Wpedantic]

3308 | gdk_pixbuf_format_free)

| ^~~~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2094:75: note: in definition of macro '_G_DEFINE_BOXED_TYPE_BEGIN'

2094 | _g_register_boxed (g_intern_static_string (#TypeName), copy_func, free_func); \

| ^~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2039:72: note: in expansion of macro 'G_DEFINE_BOXED_TYPE_WITH_CODE'

2039 | #define G_DEFINE_BOXED_TYPE(TypeName, type_name, copy_func, free_func) G_DEFINE_BOXED_TYPE_WITH_CODE (TypeName, type_name, copy_func, free_func, {})

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixbuf-io.c:3306:1: note: in expansion of macro 'G_DEFINE_BOXED_TYPE'

3306 | G_DEFINE_BOXED_TYPE (GdkPixbufFormat, gdk_pixbuf_format,

| ^~~~~~~~~~~~~~~~~~~

[ 152/1879] Compiling libs/tk/ydk/x11/gdkasync.c

../libs/tk/ydk/x11/gdkimage-x11.c:169:17: warning: Access to field 'data' results in a dereference of a null pointer (loaded from field 'ximage') [core.NullDereference]

image->mem = private->ximage->data;

^~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/x11/gdkimage-x11.c:639:7: warning: Value stored to 'have_grab' is never read [deadcode.DeadStores]

have_grab = FALSE;

^ ~~~~~

../libs/tk/ydk/x11/gdkimage-x11.c:690:5: warning: Value stored to 'pixel' is never read [deadcode.DeadStores]

pixel = XPutPixel (private->ximage, x, y, pixel);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

3 warnings generated.

[ 153/1879] Compiling libs/tk/ydk/x11/gdkdrawable-x11.c

[ 154/1879] Compiling libs/tk/ydk/x11/gdkdisplay-x11.c

../libs/tk/ydk/x11/gdkasync.c:166:4: warning: Value stored to 'repl' is never read [deadcode.DeadStores]

repl = (xGetInputFocusReply *)

^ ~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/x11/gdkasync.c:319:4: warning: Value stored to 'repl' is never read [deadcode.DeadStores]

repl = (xGetInputFocusReply *)

^ ~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/x11/gdkasync.c:788:4: warning: Value stored to 'repl' is never read [deadcode.DeadStores]

repl = (xGetInputFocusReply *)

^ ~~~~~~~~~~~~~~~~~~~~~~~

3 warnings generated.

[ 155/1879] Compiling libs/tk/ydk/x11/gdkcolor-x11.c

../libs/tk/ydk-pixbuf/gdk-pixdata.c: In function 'gdk_pixdata_deserialize':

../libs/tk/ydk-pixbuf/gdk-pixdata.c:235:21: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'int' [-Wsign-compare]

235 | if (stream_length < pixdata->length - GDK_PIXDATA_HEADER_LENGTH)

| ^

../libs/tk/ydk-pixbuf/gdk-pixdata.c:237:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

237 | pixdata->pixel_data = (guint8 *)stream;

| ^

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-private.h:30,

from ../libs/tk/ydk-pixbuf/gdk-pixdata.c:19:

../libs/tk/ydk-pixbuf/gdk-pixdata.c: In function 'gdk_pixdata_from_pixbuf':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/tk/ydk-pixbuf/gdk-pixdata.c:336:3: note: in expansion of macro 'g_return_val_if_fail'

336 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixdata.c:336:25: note: in expansion of macro 'GDK_IS_PIXBUF'

336 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);

| ^~~~~~~~~~~~~

../libs/tk/ydk-pixbuf/gdk-pixdata.c:369:8: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

369 | buf = (GdkPixbuf *)pixbuf;

| ^

../libs/tk/ydk-pixbuf/gdk-pixdata.c: In function 'gdk_pixbuf_from_pixdata':

../libs/tk/ydk-pixbuf/gdk-pixdata.c:513:22: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(guchar *, void *)' {aka 'void (*)(unsigned char *, void *)'} [-Wcast-function-type]

513 | copy_pixels ? (GdkPixbufDestroyNotify) g_free : NULL, data);

| ^

../libs/tk/ydk-pixbuf/gdk-pixdata.c: In function 'gdk_pixdata_to_csource':

../libs/tk/ydk-pixbuf/gdk-pixdata.c:688:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

688 | s_uint_8 = "guint8 ";

| ^

../libs/tk/ydk-pixbuf/gdk-pixdata.c:690:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

690 | s_uint_8 = "unsigned char";

| ^

../libs/tk/ydk-pixbuf/gdk-pixdata.c:692:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

692 | s_uint_8 = "guint8";

| ^

../libs/tk/ydk-pixbuf/gdk-pixdata.c:694:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

694 | s_uint_8 = "unsigned char";

| ^

[ 156/1879] Compiling libs/tk/ydk/x11/gdkcursor-x11.c

[ 157/1879] Compiling libs/tk/ydk/x11/gdkspawn-x11.c

../libs/tk/ydk/x11/gdkgc-x11.c:643:66: warning: The result of the left shift is undefined because the left operand is negative [core.UndefinedBinaryOperatorResult]

XCopyGC (GDK_GC_XDISPLAY (src_gc), GDK_GC_XGC (src_gc), ~((~1) << GCLastBit),

~~~~ ^

1 warning generated.

[ 158/1879] Compiling libs/tk/ydk/gdkwindow.c

[ 159/1879] Compiling libs/tk/ydk/gdkgc.c

[ 160/1879] Compiling libs/tk/ydk/gdkdraw.c

[ 161/1879] Compiling libs/tk/ydk/gdkwindowimpl.c

../libs/tk/ydk-pixbuf/pixops/pixops.c: In function 'pixops_scale_nearest':

../libs/tk/ydk-pixbuf/pixops/pixops.c:332:51: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

332 | INNER_LOOP(4, 4, p32=(guint32*)dest;*p32=*((guint32*)p));

| ^

../libs/tk/ydk-pixbuf/pixops/pixops.c:281:11: note: in definition of macro 'INNER_LOOP'

281 | ASSIGN_PIXEL; \

| ^~~~~~~~~~~~

../libs/tk/ydk-pixbuf/pixops/pixops.c:332:51: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

332 | INNER_LOOP(4, 4, p32=(guint32*)dest;*p32=*((guint32*)p));

| ^

../libs/tk/ydk-pixbuf/pixops/pixops.c:288:11: note: in definition of macro 'INNER_LOOP'

288 | ASSIGN_PIXEL; \

| ^~~~~~~~~~~~

../libs/tk/ydk-pixbuf/pixops/pixops.c:332:51: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

332 | INNER_LOOP(4, 4, p32=(guint32*)dest;*p32=*((guint32*)p));

| ^

../libs/tk/ydk-pixbuf/pixops/pixops.c:296:11: note: in definition of macro 'INNER_LOOP'

296 | ASSIGN_PIXEL; \

| ^~~~~~~~~~~~

../libs/tk/ydk-pixbuf/pixops/pixops.c: In function 'pixops_process':

../libs/tk/ydk-pixbuf/pixops/pixops.c:1323:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1323 | line_bufs[j] = (guchar *)src_buf;

| ^

../libs/tk/ydk-pixbuf/pixops/pixops.c:1325:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1325 | line_bufs[j] = (guchar *)src_buf + src_rowstride * y_start;

| ^

../libs/tk/ydk-pixbuf/pixops/pixops.c:1327:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1327 | line_bufs[j] = (guchar *)src_buf + src_rowstride * (src_height - 1);

| ^

../libs/tk/ydk-pixbuf/pixops/pixops.c:1178:23: warning: The left operand of '+' is a garbage value [core.UndefinedBinaryOperatorResult]

if (*(weights + i) + c >= 0)

~~~~~~~~~~~~~~ ^

1 warning generated.

[ 162/1879] Compiling libs/tk/ydk/x11/gdkvisual-x11.c

[ 163/1879] Compiling libs/tk/ydk/gdkselection.c

[ 164/1879] Linking build/libs/tk/ydk-pixbuf/libydk-pixbuf.so

../libs/tk/ydk/x11/gdkdisplay-x11.c:637:3: warning: Value stored to 'display_x11' is never read [deadcode.DeadStores]

display_x11 = GDK_DISPLAY_X11 (display);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/x11/gdkdisplay-x11.c:677:3: warning: Value stored to 'display_x11' is never read [deadcode.DeadStores]

display_x11 = GDK_DISPLAY_X11 (display);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[ 165/1879] Linking build/libs/pbd/libpbd.so

[ 166/1879] Compiling libs/tk/ydk/gdkfont.c

[ 167/1879] Compiling libs/tk/ydk/gdkenumtypes.c

[ 168/1879] Compiling libs/tk/ydk/x11/gdkpixmap-x11.c

[ 169/1879] Compiling libs/tk/ydk/gdkaliasdef.c

[ 170/1879] Compiling libs/tk/ydk/gdkpixbuf-drawable.c

[ 171/1879] Compiling libs/tk/ydk/x11/gdkproperty-x11.c

[ 172/1879] Compiling libs/tk/ydk/gdkevents.c

[ 173/1879] Compiling libs/tk/ydk/x11/gdkselection-x11.c

[ 174/1879] Compiling libs/tk/ydk/x11/gdkscreen-x11.c

[ 175/1879] Compiling libs/tk/ydk/x11/gdkmain-x11.c

../libs/tk/ydk/x11/gdkevents-x11.c:1027:3: warning: Value stored to 'return_val' is never read [deadcode.DeadStores]

return_val = FALSE;

^ ~~~~~

../libs/tk/ydk/x11/gdkevents-x11.c:1100:7: warning: Value stored to 'window_impl' is never read [deadcode.DeadStores]

window_impl = GDK_WINDOW_IMPL_X11 (window_private->impl);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[ 176/1879] Compiling libs/tk/ydk/x11/gdkwindow-x11.c

../libs/tk/ydk/gdkevents.c:1243:3: warning: Value stored to 'link' is never read [deadcode.DeadStores]

link = _gdk_event_queue_append (display, event_copy);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 177/1879] Compiling libs/tk/ydk/gdkcairo.c

[ 178/1879] Compiling libs/tk/ydk/gdkglobals.c

[ 179/1879] Compiling libs/tk/ydk/gdkdisplay.c

[ 180/1879] Compiling libs/tk/ydk/gdkdisplaymanager.c

../libs/tk/ydk/x11/gdkcolor-x11.c:486:19: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

palette[i].red = colormap->colors[i].red;

^ ~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/x11/gdkcolor-x11.c:499:21: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

palette[i].green = colormap->colors[i].green;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/x11/gdkcolor-x11.c:512:20: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

palette[i].blue = colormap->colors[i].blue;

^ ~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/x11/gdkcolor-x11.c:1374:41: warning: Branch condition evaluates to a garbage value [core.uninitialized.Branch]

if ((!available) || (available && available[i]))

^~~~~~~~~~~~

4 warnings generated.

[ 181/1879] Compiling libs/tk/ydk/gdkcursor.c

[ 182/1879] Compiling libs/tk/ydk/gdkcolor.c

[ 183/1879] Compiling libs/tk/ydk/gdk.c

[ 184/1879] Compiling libs/tk/ydk/gdkapplaunchcontext.c

[ 185/1879] Compiling libs/tk/ydk/x11/gdkinput.c

[ 186/1879] Compiling libs/tk/ydk/gdkimage.c

[ 187/1879] Compiling libs/tk/ydk/x11/gdkinput-none.c

[ 188/1879] Compiling libs/tk/ydk/gdkrectangle.c

../libs/tk/ydk/x11/gdkkeys-x11.c:1143:20: warning: Access to field 'len' results in a dereference of a null pointer (loaded from variable 'key_array') [core.NullDereference]

*n_entries = key_array->len;

^~~~~~~~~~~~~~

../libs/tk/ydk/x11/gdkkeys-x11.c:1149:20: warning: Access to field 'len' results in a dereference of a null pointer (loaded from variable 'keyval_array') [core.NullDereference]

*n_entries = keyval_array->len;

^~~~~~~~~~~~~~~~~

../libs/tk/ydk/x11/gdkkeys-x11.c:1237:5: warning: Value stored to 'col' is never read [deadcode.DeadStores]

col = 0;

^ ~

3 warnings generated.

[ 189/1879] Compiling libs/tk/ydk/x11/gdkxftdefaults.c

[ 190/1879] Compiling libs/tk/ydk/gdkvisual.c

[ 191/1879] Compiling libs/tk/ydk/gdkpolyreg-generic.c

[ 192/1879] Compiling libs/tk/ydk/gdkregion-generic.c

[ 193/1879] Compiling libs/tk/ydk/gdkscreen.c

[ 194/1879] Compiling libs/tk/ydk/x11/gdkxid.c

[ 195/1879] Compiling libs/tk/ydk/gdkkeys.c

[ 196/1879] Compiling libs/tk/ydk/gdkpixbuf-render.c

../libs/evoral/SMF.cc: In member function 'void Evoral::SMF::end_write(const string&)':

../libs/evoral/SMF.cc:634:37: warning: ignoring return value of 'int smf_track_add_eot_pulses(smf_track_t*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]

634 | (void) smf_track_add_eot_pulses (trk, their_pulses);

| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~

../libs/evoral/SMF.cc:866:82: warning: Potential leak of memory pointed to by 't' [cplusplus.NewDeleteLeaks]

Beats beats (t->time_pulses / (uint64_t) ppqn(), ((t->time_pulses % (uint64_t) ppqn()) * ticks_per_beat) / ppqn());;

^~~~~~

1 warning generated.

[ 197/1879] Compiling libs/tk/ydk/gdkpixmap.c

[ 198/1879] Compiling libs/tk/ydk/gdkrgb.c

[ 199/1879] Compiling libs/tk/ydk/gdkpango.c

[ 200/1879] Compiling libs/tk/ydk/gdkkeyuni.c

[ 201/1879] Compiling libs/tk/ydk/x11/xsettings-client.c

[ 202/1879] Compiling libs/tk/ydk/x11/xsettings-common.c

[ 203/1879] Compiling libs/tk/ydk/gdkoffscreenwindow.c

../libs/tk/ydk/x11/xsettings-common.c:163:7: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

XSettingsList *next = list->next;

^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~

1 warning generated.

[ 204/1879] Compiling libs/tk/ydk/gdkmarshalers.c

[ 205/1879] Compiling libs/lua/luastate.cc

[ 206/1879] Compiling libs/lua/lua.cc

[ 207/1879] Compiling libs/tk/ytk/gtkmountoperation-x11.c

[ 208/1879] Compiling libs/tk/ytk/gtkdnd.c

[ 209/1879] Compiling libs/tk/ytk/gtkvseparator.c

[ 210/1879] Compiling libs/tk/ytk/gtkuimanager.c

[ 211/1879] Compiling libs/tk/ytk/gtktoolitem.c

[ 212/1879] Compiling libs/tk/ytk/gtksettings.c

../libs/tk/ydk/gdkpolyreg-generic.c:113:45: warning: The left operand of '<' is a garbage value [core.UndefinedBinaryOperatorResult]

while (start && (start->bres.minor_axis < ETE->bres.minor_axis))

~~~~~~~~~~~~~~~~~~~~~~ ^

../libs/tk/ydk/gdkpolyreg-generic.c:341:16: warning: Dereference of null pointer [core.NullDereference]

while (pETEchase->back->bres.minor_axis > AET->bres.minor_axis)

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkpolyreg-generic.c:433:13: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

CurPtBlock = CurPtBlock->next;

^ ~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkpolyreg-generic.c:516:10: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

pSLL = ET.scanlines.next;

^ ~~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkpolyreg-generic.c:539:24: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

pts->x = pAET->bres.minor_axis, pts->y = y;

^ ~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkpolyreg-generic.c:586:28: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

pts->x = pAET->bres.minor_axis, pts->y = y;

^ ~~~~~~~~~~~~~~~~~~~~~

6 warnings generated.

[ 213/1879] Compiling libs/tk/ytk/gtktextiter.c

[ 214/1879] Compiling libs/tk/ytk/gtkseparator.c

../libs/tk/ydk/x11/xsettings-client.c:201:3: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = fetch_card8 (&buffer, (unsigned char *)&buffer.byte_order);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/x11/xsettings-client.c:202:25: warning: The left operand of '!=' is a garbage value [core.UndefinedBinaryOperatorResult]

if (buffer.byte_order != MSBFirst &&

~~~~~~~~~~~~~~~~~ ^

2 warnings generated.

[ 215/1879] Compiling libs/tk/ytk/gtkselection.c

[ 216/1879] Compiling libs/tk/ytk/gtksearchenginesimple.c

[ 217/1879] Compiling libs/tk/ytk/gtksearchengine.c

[ 218/1879] Compiling libs/tk/ytk/gtkscrolledwindow.c

[ 219/1879] Compiling libs/tk/ytk/gtkscrollbar.c

[ 220/1879] Linking build/libs/lua/libliblua.a

[ 221/1879] Compiling libs/tk/ytk/gtkseparatormenuitem.c

[ 222/1879] Compiling libs/tk/ytk/gtktreemodel.c

[ 223/1879] Compiling libs/tk/ytk/gtkscale.c

[ 224/1879] Compiling libs/tk/ytk/gtkruler.c

../libs/tk/ytk/gtkmountoperation-x11.c:198:7: warning: Value stored to 'replace' is never read [deadcode.DeadStores]

replace = FALSE;

^ ~~~~~

../libs/tk/ytk/gtkmountoperation-x11.c:777:31: warning: Dereference of null pointer (loaded from variable 'endp') [core.NullDereference]

if (endp != NULL || *endp == '\0')

^~~~~

2 warnings generated.

[ 225/1879] Compiling libs/tk/ytk/gtkrecentmanager.c

../libs/tk/ydk/x11/gdkdnd-x11.c:1181:11: warning: Potential leak of memory pointed to by 'targets' [unix.Malloc]

if (header)

^~~~~~

../libs/tk/ydk/x11/gdkdnd-x11.c:1349:7: warning: Potential leak of memory pointed to by 'header' [unix.Malloc]

gdk_x11_display_ungrab (display);

^~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/ydk/gdkalias.h:2739:32: note: expanded from macro 'gdk_x11_display_ungrab'

#define gdk_x11_display_ungrab IA__gdk_x11_display_ungrab

^~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[ 226/1879] Compiling libs/tk/ytk/gtktextutil.c

[ 227/1879] Compiling libs/tk/ytk/gtktreednd.c

[ 228/1879] Compiling libs/tk/ytk/gtkrecentchooserwidget.c

[ 229/1879] Compiling libs/tk/ytk/gtkrecentchooserutils.c

[ 230/1879] Compiling libs/tk/ytk/gtkrecentchoosermenu.c

[ 231/1879] Compiling libs/tk/ytk/gtkrecentchooserdialog.c

../libs/tk/ytk/gtkrecentmanager.c:1301:3: warning: Value stored to 'res' is never read [deadcode.DeadStores]

res = g_bookmark_file_move_item (priv->recent_items,

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 232/1879] Compiling libs/tk/ytk/gtkrecentchooser.c

../libs/tk/ytk/gtkruler.c:738:7: warning: Variable 'cur' with floating point type 'gdouble' should not be used as a loop counter [security.FloatLoopCounter]

for (cur = start; cur <= end; cur += subd_incr)

^ ~~~ ~~~

1 warning generated.

[ 233/1879] Compiling libs/tk/ytk/gtkrecentaction.c

../libs/tk/ydk/gdkrgb.c:389:3: warning: Value stored to 'sys' is never read [deadcode.DeadStores]

sys = 0;

^ ~

../libs/tk/ydk/gdkrgb.c:497:7: warning: Value stored to 'status' is never read [deadcode.DeadStores]

status = gdk_colormap_alloc_color (cmap, &color, FALSE, TRUE);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkrgb.c:544:52: warning: Use of memory after it is freed [unix.Malloc]

cmap_info->cmap->info_list = g_slist_remove (cmap_info->cmap->info_list, cmap_info);

^~~~~~~~~~~~~~~

../libs/tk/ydk/gdkrgb.c:1405:15: warning: Array access (from variable 'lut') results in a null pointer dereference [core.NullDereference]

obptr[0] = lut[c];

^~~~~~

4 warnings generated.

[ 234/1879] Compiling libs/tk/ytk/gtkrc.c

[ 235/1879] Compiling libs/tk/ytk/gtkrecentchooserdefault.c

[ 236/1879] Compiling libs/tk/ytk/gtkrange.c

[ 237/1879] Compiling libs/tk/ytk/gtkrbtree.c

../libs/tk/ydk/gdkoffscreenwindow.c:916:3: warning: Value stored to 'dx' is never read [deadcode.DeadStores]

dx = x - private->x;

^ ~~~~~~~~~~~~~~

../libs/tk/ydk/gdkoffscreenwindow.c:917:3: warning: Value stored to 'dy' is never read [deadcode.DeadStores]

dy = y - private->y;

^ ~~~~~~~~~~~~~~

../libs/tk/ydk/gdkoffscreenwindow.c:918:3: warning: Value stored to 'dw' is never read [deadcode.DeadStores]

dw = width - private->width;

^ ~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkoffscreenwindow.c:919:3: warning: Value stored to 'dh' is never read [deadcode.DeadStores]

dh = height - private->height;

^ ~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkoffscreenwindow.c:964:3: warning: Value stored to 'offscreen' is never read [deadcode.DeadStores]

offscreen = GDK_OFFSCREEN_WINDOW (private->impl);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkoffscreenwindow.c:1004:3: warning: Value stored to 'offscreen' is never read [deadcode.DeadStores]

offscreen = GDK_OFFSCREEN_WINDOW (private->impl);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkoffscreenwindow.c:1007:3: warning: Value stored to 'display' is never read [deadcode.DeadStores]

display = gdk_drawable_get_display (window);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

7 warnings generated.

[ 238/1879] Compiling libs/tk/ytk/gtkradiotoolbutton.c

[ 239/1879] Compiling libs/tk/ytk/gtkradiomenuitem.c

[ 240/1879] Compiling libs/tk/ytk/gtkradiobutton.c

[ 241/1879] Compiling libs/tk/ytk/gtkradioaction.c

[ 242/1879] Compiling libs/tk/ytk/gtkquery.c

[ 243/1879] Compiling libs/tk/ytk/gtkprogressbar.c

[ 244/1879] Compiling libs/tk/ytk/gtkrecentfilter.c

[ 245/1879] Compiling libs/tk/ytk/gtkplug.c

[ 246/1879] Compiling libs/tk/ytk/gtkprogress.c

[ 247/1879] Compiling libs/tk/ytk/gtkpango.c

[ 248/1879] Compiling libs/tk/ytk/gtkpaned.c

[ 249/1879] Compiling libs/tk/ytk/gtkorientable.c

[ 250/1879] Compiling libs/tk/ytk/gtkoptionmenu.c

[ 251/1879] Compiling libs/tk/ytk/gtkoffscreenwindow.c

[ 252/1879] Compiling libs/tk/ytk/gtkobject.c

[ 253/1879] Compiling libs/tk/ytk/gtkpathbar.c

../libs/tk/ytk/gtkoffscreenwindow.c:132:3: warning: Value stored to 'border_width' is never read [deadcode.DeadStores]

border_width = gtk_container_get_border_width (GTK_CONTAINER (widget));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 254/1879] Compiling libs/tk/ytk/gtkmountoperation.c

[ 255/1879] Compiling libs/tk/ytk/gtkmodules.c

[ 256/1879] Compiling libs/tk/ytk/gtkmnemonichash.c

../libs/tk/ytk/gtkprogress.c:569:7: warning: Access to field 'lower' results in a dereference of a null pointer (loaded from field 'adjustment') [core.NullDereference]

if (progress->adjustment->lower < progress->adjustment->upper &&

^~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 257/1879] Compiling libs/tk/ytk/gtkmisc.c

../libs/tk/ytk/gtktextiter.c:4933:10: warning: Branch condition evaluates to a garbage value [core.uninitialized.Branch]

while (*l)

^~

1 warning generated.

[ 258/1879] Compiling libs/tk/ytk/gtkmessagedialog.c

[ 259/1879] Compiling libs/tk/ytk/gtknotebook.c

../libs/tk/ytk/gtkselection.c:1428:22: warning: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') [core.NullDereference]

"UTF-8", charset, error->message);

^~~~~~~~~~~~~~

../libs/tk/ytk/gtkselection.c:1878:22: warning: The left operand of '==' is a garbage value [core.UndefinedBinaryOperatorResult]

if (targets[i] == utf8_atom ||

~~~~~~~~~~ ^

../libs/tk/ytk/gtkselection.c:1930:26: warning: The left operand of '==' is a garbage value [core.UndefinedBinaryOperatorResult]

if (targets[i] == rich_targets[j])

~~~~~~~~~~ ^

../libs/tk/ytk/gtkselection.c:2046:21: warning: The right operand of '==' is a garbage value [core.UndefinedBinaryOperatorResult]

if (pair->target == targets[i])

^ ~~~~~~~~~~

../libs/tk/ytk/gtkselection.c:2123:22: warning: The left operand of '==' is a garbage value [core.UndefinedBinaryOperatorResult]

if (targets[i] == text_uri_list_atom)

~~~~~~~~~~ ^

5 warnings generated.

[ 260/1879] Compiling libs/tk/ytk/gtkmenushell.c

[ 261/1879] Compiling libs/tk/ytk/gtkmenuitem.c

[ 262/1879] Compiling libs/tk/ytk/gtkmenubar.c

../libs/tk/ytk/gtkdnd.c:3028:20: warning: Access to field 'window' results in a dereference of a null pointer (loaded from variable 'icon_window') [core.NullDereference]

gdk_window_raise (icon_window->window);

^~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 263/1879] Compiling libs/tk/ytk/gtkmenutoolbutton.c

[ 264/1879] Compiling libs/tk/ytk/gtkmarshalers.c

[ 265/1879] Compiling libs/tk/ytk/gtkmarshal.c

[ 266/1879] Compiling libs/tk/ytk/gtkmain.c

[ 267/1879] Compiling libs/tk/ytk/gtkliststore.c

[ 268/1879] Compiling libs/tk/ytk/gtkmenu.c

[ 269/1879] Compiling libs/tk/ytk/gtklayout.c

[ 270/1879] Compiling libs/tk/ytk/gtklabel.c

[ 271/1879] Compiling libs/tk/ytk/gtkkeyhash.c

[ 272/1879] Compiling libs/tk/ytk/gtkitem.c

../libs/tk/ydk/x11/gdkwindow-x11.c:968:3: warning: Value stored to 'impl' is never read [deadcode.DeadStores]

impl = GDK_WINDOW_IMPL_X11 (private->impl);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/x11/gdkwindow-x11.c:3250:17: warning: The left operand of '-' is a garbage value [core.UndefinedBinaryOperatorResult]

winx = rootx - originx;

~~~~~ ^

../libs/tk/ydk/x11/gdkwindow-x11.c:3421:10: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

*win_x = window ? winx : -1;

^ ~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/x11/gdkwindow-x11.c:3424:11: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

*mask = xmask;

^ ~~~~~

../libs/tk/ydk/x11/gdkwindow-x11.c:4809:3: warning: Value stored to 'xattributes_mask' is never read [deadcode.DeadStores]

xattributes_mask |= CWBitGravity;

^ ~~~~~~~~~~~~

5 warnings generated.

[ 273/1879] Compiling libs/tk/ytk/gtkinvisible.c

[ 274/1879] Compiling libs/tk/ytk/gtkinfobar.c

[ 275/1879] Compiling libs/tk/ytk/gtkimmulticontext.c

../libs/tk/ytk/gtkmenuitem.c:674:18: warning: Value stored to 'label' during its initialization is never read [deadcode.DeadStores]

GtkWidget *label = GTK_BIN (menu_item)->child;

^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkmenuitem.c:1423:3: warning: Value stored to 'priv' is never read [deadcode.DeadStores]

priv = GET_PRIVATE (menu_item);

^ ~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkmenuitem.c:1434:18: warning: Value stored to 'menu_shell' during its initialization is never read [deadcode.DeadStores]

GtkMenuShell *menu_shell = GTK_MENU_SHELL (widget->parent);

^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

3 warnings generated.

[ 276/1879] Compiling libs/tk/ytk/gtklinkbutton.c

[ 277/1879] Compiling libs/tk/ytk/gtkimcontextsimple.c

[ 278/1879] Compiling libs/tk/ytk/gtkimcontext.c

[ 279/1879] Compiling libs/tk/ytk/gtkimagemenuitem.c

[ 280/1879] Compiling libs/tk/ytk/gtkimage.c

[ 281/1879] Compiling libs/tk/ytk/gtkiconview.c

../libs/tk/ytk/gtkmain.c:1765:7: warning: Access to field 'private_flags' results in a dereference of a null pointer (loaded from variable 'child') [core.NullDereference]

GTK_PRIVATE_SET_FLAG (child, GTK_SHADOWED);

^ ~~~~~

../libs/tk/ytk/ytk/gtkprivate.h:74:82: note: expanded from macro 'GTK_PRIVATE_SET_FLAG'

#define GTK_PRIVATE_SET_FLAG(wid,flag) G_STMT_START{ (GTK_PRIVATE_FLAGS (wid) |= (PRIVATE_ ## flag)); }G_STMT_END

~~~ ^

../libs/tk/ytk/gtkmain.c:1773:7: warning: Access to field 'private_flags' results in a dereference of a null pointer (loaded from variable 'child') [core.NullDereference]

GTK_PRIVATE_UNSET_FLAG (child, GTK_SHADOWED);

^ ~~~~~

../libs/tk/ytk/ytk/gtkprivate.h:75:82: note: expanded from macro 'GTK_PRIVATE_UNSET_FLAG'

#define GTK_PRIVATE_UNSET_FLAG(wid,flag) G_STMT_START{ (GTK_PRIVATE_FLAGS (wid) &= ~(PRIVATE_ ## flag)); }G_STMT_END

~~~ ^

2 warnings generated.

[ 282/1879] Compiling libs/tk/ytk/gtkicontheme.c

[ 283/1879] Compiling libs/tk/ytk/gtkiconcachevalidator.c

[ 284/1879] Compiling libs/tk/ytk/gtkiconfactory.c

[ 285/1879] Compiling libs/tk/ytk/gtkiconcache.c

[ 286/1879] Compiling libs/tk/ytk/gtkhsv.c

[ 287/1879] Compiling libs/tk/ytk/gtkhseparator.c

[ 288/1879] Compiling libs/tk/ytk/gtkhscrollbar.c

../libs/tk/ytk/gtkliststore.c:347:35: warning: Use of zero-allocated memory [unix.Malloc]

list_store->column_headers[i] = G_TYPE_INVALID;

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^

../libs/tk/ytk/gtkliststore.c:658:25: warning: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'prev') [core.NullDereference]

list = prev->next = _gtk_tree_data_list_alloc ();

~~~~ ^

../libs/tk/ytk/gtkliststore.c:1460:7: warning: 3rd function call argument is an uninitialized value [core.CallAndMessage]

g_hash_table_insert (new_positions, ptr, GINT_TO_POINTER (order[i++]));

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

3 warnings generated.

[ 289/1879] Compiling libs/tk/ytk/gtkhscale.c

../libs/tk/ytk/gtkinfobar.c:202:3: warning: Value stored to 'priv' is never read [deadcode.DeadStores]

priv = GTK_INFO_BAR_GET_PRIVATE (info_bar);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkinfobar.c:225:3: warning: Value stored to 'priv' is never read [deadcode.DeadStores]

priv = GTK_INFO_BAR_GET_PRIVATE (info_bar);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[ 290/1879] Compiling libs/tk/ytk/gtkimmodule.c

[ 291/1879] Compiling libs/tk/ytk/gtkhpaned.c

[ 292/1879] Compiling libs/tk/ytk/gtkhbox.c

[ 293/1879] Compiling libs/tk/ytk/gtkhruler.c

[ 294/1879] Compiling libs/tk/ytk/gtkhbbox.c

[ 295/1879] Compiling libs/tk/ytk/gtkgc.c

../libs/tk/ytk/gtkpathbar.c:518:15: warning: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'first_button') [core.NullDereference]

width = BUTTON_DATA (first_button->data)->button->requisition.width;

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkpathbar.c:50:39: note: expanded from macro 'BUTTON_DATA'

#define BUTTON_DATA(x) ((ButtonData *)(x))

^~~

../libs/tk/ytk/gtkpathbar.c:626:15: warning: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'first_button') [core.NullDereference]

for (list = first_button->next; list; list = list->next)

^~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkpathbar.c:825:10: warning: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'down_button') [core.NullDereference]

- BUTTON_DATA (down_button->data)->button->allocation.width);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkpathbar.c:50:39: note: expanded from macro 'BUTTON_DATA'

#define BUTTON_DATA(x) ((ButtonData *)(x))

^~~

../libs/tk/ytk/gtkpathbar.c:941:28: warning: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'up_button') [core.NullDereference]

gtk_widget_grab_focus (BUTTON_DATA (up_button->data)->button);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkpathbar.c:50:39: note: expanded from macro 'BUTTON_DATA'

#define BUTTON_DATA(x) ((ButtonData *)(x))

^~~

../libs/tk/ytk/gtkpathbar.c:969:28: warning: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'down_button') [core.NullDereference]

gtk_widget_grab_focus (BUTTON_DATA (down_button->data)->button);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkpathbar.c:50:39: note: expanded from macro 'BUTTON_DATA'

#define BUTTON_DATA(x) ((ButtonData *)(x))

^~~

5 warnings generated.

[ 296/1879] Compiling libs/tk/ytk/gtkframe.c

[ 297/1879] Compiling libs/tk/ytk/gtkfontsel.c

[ 298/1879] Compiling libs/tk/ytk/gtkfontbutton.c

[ 299/1879] Compiling libs/tk/ytk/gtkfixed.c

[ 300/1879] Compiling libs/tk/ytk/gtkfilesystemmodel.c

../libs/tk/ytk/gtkrc.c:2834:7: warning: Value stored to 'token' is never read [deadcode.DeadStores]

token = g_scanner_get_next_token (scanner);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkrc.c:2942:25: warning: Access to field 'data' results in a dereference of a null pointer (loaded from field 'icon_factories') [core.NullDereference]

our_factory = rc_style->icon_factories->data;

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkrc.c:2949:26: warning: Access to field 'data' results in a dereference of a null pointer (loaded from field 'color_hashes') [core.NullDereference]

our_hash = rc_priv->color_hashes->data;

^~~~~~~~~~~~~~~~~~~~~~~~~~~

3 warnings generated.

[ 301/1879] Compiling libs/tk/ytk/gtkfilesystem.c

../libs/tk/ytk/gtkhsv.c:856:3: warning: Value stored to 'mods' is never read [deadcode.DeadStores]

mods = event->state;

^ ~~~~~~~~~~~~

1 warning generated.

[ 302/1879] Compiling libs/tk/ytk/gtkfilefilter.c

[ 303/1879] Compiling libs/tk/ytk/gtkhandlebox.c

[ 304/1879] Compiling libs/tk/ytk/gtkfilechooserutils.c

../libs/tk/ytk/gtkimmodule.c:471:4: warning: Potential leak of memory pointed to by 'info' [unix.Malloc]

g_warning ("Error parsing context info in '%s'\n %s",

^~~~~~~~~

1 warning generated.

[ 305/1879] Compiling libs/tk/ytk/gtkfilechoosersettings.c

[ 306/1879] Compiling libs/tk/ytk/gtkfilechooserentry.c

[ 307/1879] Compiling libs/tk/ytk/gtkfilechooserembed.c

[ 308/1879] Compiling libs/tk/ytk/gtkfilechooserdialog.c

[ 309/1879] Compiling libs/tk/ytk/gtkfilechooserdefault.c

[ 310/1879] Compiling libs/tk/ytk/gtkfilechooserbutton.c

[ 311/1879] Compiling libs/tk/ytk/gtkfilechooser.c

[ 312/1879] Compiling libs/tk/ytk/gtkexpander.c

[ 313/1879] Compiling libs/tk/ytk/gtkeventbox.c

[ 314/1879] Compiling libs/tk/ytk/gtkentrycompletion.c

[ 315/1879] Compiling libs/tk/ytk/gtkentrybuffer.c

[ 316/1879] Compiling libs/tk/ytk/gtkentry.c

[ 317/1879] Compiling libs/tk/ytk/gtkeditable.c

../libs/tk/ytk/gtkiconfactory.c:2748:4: warning: Value stored to 'error_domain' is never read [deadcode.DeadStores]

error_domain = GTK_BUILDER_ERROR_INVALID_TAG;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkiconfactory.c:2759:4: warning: Value stored to 'error_domain' is never read [deadcode.DeadStores]

error_domain = GTK_BUILDER_ERROR_INVALID_TAG;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkiconfactory.c:2800:4: warning: Value stored to 'error_domain' is never read [deadcode.DeadStores]

error_domain = GTK_BUILDER_ERROR_INVALID_ATTRIBUTE;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkiconfactory.c:2808:7: warning: Value stored to 'error_domain' is never read [deadcode.DeadStores]

error_domain = GTK_BUILDER_ERROR_MISSING_ATTRIBUTE;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkiconfactory.c:2938:47: warning: Use of memory after it is freed [unix.Malloc]

icon_set->sources = g_slist_insert_sorted (icon_set->sources,

^~~~~~~~~~~~~~~~~

5 warnings generated.

[ 318/1879] Compiling libs/tk/ytk/gtkdrawingarea.c

[ 319/1879] Compiling libs/tk/ytk/gtkdialog.c

[ 320/1879] Compiling libs/tk/ytk/gtkcontainer.c

[ 321/1879] Compiling libs/tk/ytk/gtkcomboboxtext.c

[ 322/1879] Compiling libs/tk/ytk/gtkcomboboxentry.c

[ 323/1879] Compiling libs/tk/ytk/gtkcombobox.c

[ 324/1879] Compiling libs/tk/ytk/gtkcolorseldialog.c

[ 325/1879] Compiling libs/tk/ytk/gtkcolorsel.c

[ 326/1879] Compiling libs/tk/ytk/gtkcolorbutton.c

[ 327/1879] Compiling libs/tk/ytk/gtkcheckmenuitem.c

[ 328/1879] Compiling libs/tk/ytk/gtkcheckbutton.c

../libs/tk/ytk/gtkentrycompletion.c:1696:30: warning: Value stored to 'priv' during its initialization is never read [deadcode.DeadStores]

GtkEntryCompletionPrivate *priv = completion->priv;

^~~~ ~~~~~~~~~~~~~~~~

1 warning generated.

[ 329/1879] Compiling libs/tk/ytk/gtkfilechooserwidget.c

[ 330/1879] Compiling libs/tk/ytk/gtkcellrenderertoggle.c

[ 331/1879] Compiling libs/tk/ytk/gtkcellrenderertext.c

[ 332/1879] Compiling libs/tk/ytk/gtkcellrendererspinner.c

../libs/tk/ytk/gtkcolorsel.c:1206:4: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker]

memcpy (colors, tmp_colors, sizeof (GdkColor) * tmp_n_colors);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkcolorsel.c:1564:3: warning: Value stored to 'priv' is never read [deadcode.DeadStores]

priv = colorsel->private_data;

^ ~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[ 333/1879] Compiling libs/tk/ytk/gtkcellview.c

[ 334/1879] Compiling libs/tk/ytk/gtkcellrendererprogress.c

[ 335/1879] Compiling libs/tk/ytk/gtkcellrendererpixbuf.c

../libs/tk/ytk/gtkcellrendererspinner.c:205:3: warning: Value stored to 'icon_theme' is never read [deadcode.DeadStores]

icon_theme = gtk_icon_theme_get_for_screen (screen);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkcellrendererspinner.c:362:3: warning: Value stored to 'state' is never read [deadcode.DeadStores]

state = GTK_STATE_NORMAL;

^ ~~~~~~~~~~~~~~~~

2 warnings generated.

[ 336/1879] Compiling libs/tk/ytk/gtkcellrenderercombo.c

[ 337/1879] Compiling libs/tk/ytk/gtkcellrendererspin.c

../libs/tk/ytk/gtkcellrenderercombo.c:272:9: warning: Value stored to 'priv' is never read [deadcode.DeadStores]

priv = GTK_CELL_RENDERER_COMBO_GET_PRIVATE (cell);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 338/1879] Compiling libs/tk/ytk/gtkcellrenderer.c

[ 339/1879] Compiling libs/tk/ytk/gtkcelllayout.c

[ 340/1879] Compiling libs/tk/ytk/gtkcelleditable.c

[ 341/1879] Compiling libs/tk/ytk/gtkcellrendereraccel.c

[ 342/1879] Compiling libs/tk/ytk/gtkbuilderparser.c

[ 343/1879] Compiling libs/tk/ytk/gtkbuilder.c

../libs/tk/ytk/gtkcellrenderertext.c:1680:26: warning: The right operand of '-' is a garbage value [core.UndefinedBinaryOperatorResult]

(cell_area->width - x_offset - 2 * cell->xpad) * PANGO_SCALE);

^ ~~~~~~~~

../libs/tk/ytk/gtkcellrenderertext.c:1691:34: warning: The right operand of '+' is a garbage value [core.UndefinedBinaryOperatorResult]

cell_area->x + x_offset + cell->xpad,

^ ~~~~~~~~

2 warnings generated.

[ 344/1879] Compiling libs/tk/ytk/gtkbuildable.c

[ 345/1879] Compiling libs/tk/ytk/gtkbox.c

../libs/tk/ytk/gtkmenu.c:351:19: warning: Use of zero-allocated memory [unix.Malloc]

row_occupied[i] = TRUE;

^

../libs/tk/ytk/gtkmenu.c:1327:3: warning: Value stored to 'widget' is never read [deadcode.DeadStores]

widget = GTK_WIDGET (menu);

^ ~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkmenu.c:2062:15: warning: Value stored to 'width' is never read [deadcode.DeadStores]

width = gdk_window_get_width (GTK_WIDGET (menu)->window);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkmenu.c:3393:3: warning: Value stored to 'view_width' is never read [deadcode.DeadStores]

view_width = gdk_window_get_width (widget->window);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkmenu.c:4107:3: warning: Value stored to 'height' is never read [deadcode.DeadStores]

height = gdk_window_get_height (event_widget->window);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkmenu.c:4682:7: warning: Value stored to 'width' is never read [deadcode.DeadStores]

width = gdk_window_get_width (GTK_WIDGET (menu)->window);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkmenu.c:5184:35: warning: The left operand of '/' is a garbage value [core.UndefinedBinaryOperatorResult]

child_offset += child_height / 2;

~~~~~~~~~~~~ ^

7 warnings generated.

[ 346/1879] Compiling libs/tk/ytk/gtkbindings.c

[ 347/1879] Compiling libs/tk/ytk/gtkbin.c

[ 348/1879] Compiling libs/tk/ytk/gtkbbox.c

[ 349/1879] Compiling libs/tk/ytk/gtkassistant.c

[ 350/1879] Compiling libs/tk/ytk/gtkbutton.c

[ 351/1879] Compiling libs/tk/ytk/gtkarrow.c

[ 352/1879] Compiling libs/tk/ytk/gtkaccellabel.c

../libs/tk/ytk/gtkrbtree.c:88:18: warning: Access to field 'offset' results in a dereference of a null pointer (loaded from variable 'right') [core.NullDereference]

right_height = right->offset -

^~~~~~~~~~~~~

../libs/tk/ytk/gtkrbtree.c:94:25: warning: Access to field 'parent' results in a dereference of a null pointer (loaded from field 'left') [core.NullDereference]

right->left->parent = node;

~~~~ ^

../libs/tk/ytk/gtkrbtree.c:145:17: warning: Access to field 'offset' results in a dereference of a null pointer (loaded from variable 'left') [core.NullDereference]

left_height = left->offset -

^~~~~~~~~~~~

../libs/tk/ytk/gtkrbtree.c:152:25: warning: Access to field 'parent' results in a dereference of a null pointer (loaded from field 'right') [core.NullDereference]

left->right->parent = node;

~~~~~ ^

../libs/tk/ytk/gtkrbtree.c:274:30: warning: Access to field 'left' results in a dereference of a null pointer (loaded from variable 'w') [core.NullDereference]

if (GTK_RBNODE_GET_COLOR (w->left) == GTK_RBNODE_BLACK && GTK_RBNODE_GET_COLOR (w->right) == GTK_RBNODE_BLACK)

^~~~~~~

../libs/tk/ytk/ytk/gtkrbtree.h:106:38: note: expanded from macro 'GTK_RBNODE_GET_COLOR'

#define GTK_RBNODE_GET_COLOR(node) (node?(((node->flags&GTK_RBNODE_RED)==GTK_RBNODE_RED)?GTK_RBNODE_RED:GTK_RBNODE_BLACK):GTK_RBNODE_BLACK)

^~~~

../libs/tk/ytk/gtkrbtree.c:305:30: warning: Access to field 'right' results in a dereference of a null pointer (loaded from variable 'w') [core.NullDereference]

if (GTK_RBNODE_GET_COLOR (w->right) == GTK_RBNODE_BLACK && GTK_RBNODE_GET_COLOR (w->left) == GTK_RBNODE_BLACK)

^~~~~~~~

../libs/tk/ytk/ytk/gtkrbtree.h:106:38: note: expanded from macro 'GTK_RBNODE_GET_COLOR'

#define GTK_RBNODE_GET_COLOR(node) (node?(((node->flags&GTK_RBNODE_RED)==GTK_RBNODE_RED)?GTK_RBNODE_RED:GTK_RBNODE_BLACK):GTK_RBNODE_BLACK)

^~~~

../libs/tk/ytk/gtkrbtree.c:417:3: warning: Value stored to 'tmp_node' is never read [deadcode.DeadStores]

tmp_node = tree->parent_node;

^ ~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkrbtree.c:662:19: warning: Access to field 'nil' results in a dereference of a null pointer (loaded from variable 'tree') [core.NullDereference]

if (node == tree->nil)

^~~~~~~~~

../libs/tk/ytk/gtkrbtree.c:927:57: warning: Access to field 'children' results in a dereference of a null pointer (loaded from variable 'node') [core.NullDereference]

g_array_index (array, GtkRBReorder, i).children = node->children;

^~~~~~~~~~~~~~

../libs/tk/ytk/gtkrbtree.c:945:22: warning: Access to field 'children' results in a dereference of a null pointer (loaded from variable 'node') [core.NullDereference]

node->children = reorder.children;

~~~~ ^

../libs/tk/ytk/gtkrbtree.c:1210:18: warning: Access to field 'parent' results in a dereference of a null pointer (loaded from variable 'tmp_node') [core.NullDereference]

tmp_node = tmp_node->parent;

^~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkrbtree.c:1476:8: warning: Access to field 'left' results in a dereference of a null pointer (loaded from variable 'node') [core.NullDereference]

(node->left != tree->nil && GTK_RBNODE_FLAG_SET (node->left, GTK_RBNODE_DESCENDANTS_INVALID)) ||

^~~~~~~~~~

12 warnings generated.

[ 353/1879] Compiling libs/tk/ytk/gtkwindow.c

[ 354/1879] Compiling libs/tk/ytk/gtkwidget.c

[ 355/1879] Compiling libs/tk/ytk/gtkwindow-decorate.c

[ 356/1879] Compiling libs/tk/ytk/gtkvscrollbar.c

../libs/tk/ytk/gtkicontheme.c:3207:17: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

rectangle->x = scaled_x0;

^ ~~~~~~~~~

../libs/tk/ytk/gtkicontheme.c:3209:33: warning: The left operand of '-' is a garbage value [core.UndefinedBinaryOperatorResult]

rectangle->width = scaled_x1 - rectangle->x;

~~~~~~~~~ ^

2 warnings generated.

[ 357/1879] Compiling libs/tk/ytk/gtkvruler.c

[ 358/1879] Compiling libs/tk/ytk/gtkvbbox.c

[ 359/1879] Compiling libs/tk/ytk/gtkvscale.c

[ 360/1879] Compiling libs/tk/ytk/gtkaccelgroup.c

[ 361/1879] Compiling libs/tk/ytk/gtkvbox.c

[ 362/1879] Compiling libs/tk/ytk/gtkviewport.c

[ 363/1879] Compiling libs/tk/ytk/gtkclipboard.c

[ 364/1879] Compiling libs/tk/ytk/gtktreeviewcolumn.c

[ 365/1879] Compiling libs/tk/ytk/gtktreeselection.c

[ 366/1879] Compiling libs/tk/ytk/gtktoolitemgroup.c

[ 367/1879] Compiling libs/tk/ytk/gtktypebuiltins.c

[ 368/1879] Compiling libs/tk/ytk/gtktreeview.c

[ 369/1879] Compiling libs/tk/ytk/gtktreesortable.c

../libs/tk/ytk/gtkassistant.c:1971:3: warning: Value stored to 'priv' is never read [deadcode.DeadStores]

priv = assistant->priv;

^ ~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkassistant.c:2210:3: warning: Value stored to 'priv' is never read [deadcode.DeadStores]

priv = assistant->priv;

^ ~~~~~~~~~~~~~~~

2 warnings generated.

[ 370/1879] Compiling libs/tk/ytk/gtktreestore.c

[ 371/1879] Compiling libs/tk/ytk/gtktreemodelsort.c

[ 372/1879] Compiling libs/tk/ytk/gtktreemodelfilter.c

[ 373/1879] Compiling libs/tk/ytk/gtktoolshell.c

../libs/tk/ytk/gtkiconview.c:2712:3: warning: Value stored to 'items' is never read [deadcode.DeadStores]

items = first_item;

^ ~~~~~~~~~~

../libs/tk/ytk/gtkiconview.c:3188:2: warning: Value stored to 'state' is never read [deadcode.DeadStores]

state = GTK_STATE_SELECTED;

^ ~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkiconview.c:3190:2: warning: Value stored to 'state' is never read [deadcode.DeadStores]

state = GTK_STATE_ACTIVE;

^ ~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkiconview.c:3195:7: warning: Value stored to 'state' is never read [deadcode.DeadStores]

state = GTK_STATE_NORMAL;

^ ~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkiconview.c:3753:5: warning: Array subscript is undefined [core.uninitialized.ArraySubscript]

item_array[order[i]] = list->data;

^~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkiconview.c:3758:28: warning: Dereference of undefined pointer value [core.NullDereference]

item_array[i]->index = i;

~~~~~~~~~~~~~~~~~~~~~^~~

../libs/tk/ytk/gtkiconview.c:3972:7: warning: Value stored to 'cell' is never read [deadcode.DeadStores]

cell = focusable[current];

^ ~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkiconview.c:4470:3: warning: Value stored to 'width' is never read [deadcode.DeadStores]

width = gdk_window_get_width (icon_view->priv->bin_window);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkiconview.c:4471:3: warning: Value stored to 'height' is never read [deadcode.DeadStores]

height = gdk_window_get_height (icon_view->priv->bin_window);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkiconview.c:9221:3: warning: Value stored to 'a11y_view' is never read [deadcode.DeadStores]

a11y_view = GTK_ICON_VIEW_ACCESSIBLE (atk_obj);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

10 warnings generated.

[ 374/1879] Compiling libs/tk/ytk/gtktypeutils.c

../libs/tk/ytk/gtktypeutils.c:138:7: warning: Value stored to 'unused' is never read [deadcode.DeadStores]

unused = gtk_object_get_type ();

^ ~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 375/1879] Compiling libs/tk/ytk/gtkaction.c

[ 376/1879] Compiling libs/tk/ytk/gtkaccelmap.c

[ 377/1879] Compiling libs/tk/ytk/gtktreedatalist.c

../libs/tk/ytk/gtkbindings.c:706:3: warning: Value stored to 'entry' is never read [deadcode.DeadStores]

entry = binding_entry_new (binding_set, keyval, modifiers);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 378/1879] Compiling libs/tk/ytk/gtkscalebutton.c

../libs/tk/ytk/gtktreedatalist.c:539:2: warning: Value stored to 'list' is never read [deadcode.DeadStores]

list = g_list_append (list, header);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 379/1879] Compiling libs/tk/ytk/gtkaliasdef.c

[ 380/1879] Compiling libs/tk/ytk/gtktoggleaction.c

[ 381/1879] Compiling libs/tk/ytk/gtkshow.c

../libs/tk/ytk/gtkscalebutton.c:1520:3: warning: Value stored to 'range' is never read [deadcode.DeadStores]

range = GTK_RANGE (priv->scale);

^ ~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 382/1879] Compiling libs/tk/ytk/gtkseparatortoolitem.c

../libs/tk/ytk/gtknotebook.c:3136:3: warning: Value stored to 'widget' is never read [deadcode.DeadStores]

widget = GTK_WIDGET (notebook);

^ ~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtknotebook.c:3587:42: warning: The right operand of '+' is a garbage value [core.UndefinedBinaryOperatorResult]

x >= position.x && x <= position.x + position.width &&

^ ~~~~~~~~~~~~~~

../libs/tk/ytk/gtknotebook.c:3813:7: warning: 4th function call argument is an uninitialized value [core.CallAndMessage]

gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (container), child,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/ytk/gtkalias.h:6408:44: note: expanded from macro 'gtk_notebook_set_tab_label_packing'

#define gtk_notebook_set_tab_label_packing IA__gtk_notebook_set_tab_label_packing

^

../libs/tk/ytk/gtknotebook.c:3820:7: warning: 3rd function call argument is an uninitialized value [core.CallAndMessage]

gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (container), child,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/ytk/gtkalias.h:6408:44: note: expanded from macro 'gtk_notebook_set_tab_label_packing'

#define gtk_notebook_set_tab_label_packing IA__gtk_notebook_set_tab_label_packing

^

../libs/tk/ytk/gtknotebook.c:3828:7: warning: 3rd function call argument is an uninitialized value [core.CallAndMessage]

gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (container), child,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/ytk/gtkalias.h:6408:44: note: expanded from macro 'gtk_notebook_set_tab_label_packing'

#define gtk_notebook_set_tab_label_packing IA__gtk_notebook_set_tab_label_packing

^

../libs/tk/ytk/gtknotebook.c:3895:2: warning: 2nd function call argument is an uninitialized value [core.CallAndMessage]

g_value_set_boolean (value, expand);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtknotebook.c:3900:2: warning: 2nd function call argument is an uninitialized value [core.CallAndMessage]

g_value_set_boolean (value, fill);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtknotebook.c:3905:2: warning: 2nd function call argument is an uninitialized value [core.CallAndMessage]

g_value_set_enum (value, pack_type);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtknotebook.c:4848:7: warning: Value stored to 'old_list' is never read [deadcode.DeadStores]

old_list = list;

^ ~~~~

../libs/tk/ytk/gtknotebook.c:4854:11: warning: Access to field 'pack' results in a dereference of a null pointer (loaded from variable 'page') [core.NullDereference]

if (page->pack != flag &&

^~~~~~~~~~

../libs/tk/ytk/gtknotebook.c:4859:7: warning: Value stored to 'old_list' is never read [deadcode.DeadStores]

old_list = list;

^ ~~~~

../libs/tk/ytk/gtknotebook.c:5309:3: warning: Value stored to 'container' is never read [deadcode.DeadStores]

container = GTK_CONTAINER (notebook);

^ ~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtknotebook.c:5311:3: warning: Value stored to 'tab_pos' is never read [deadcode.DeadStores]

tab_pos = get_effective_tab_pos (notebook);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtknotebook.c:5891:3: warning: Value stored to 'operation' is never read [deadcode.DeadStores]

operation = GTK_NOTEBOOK_GET_PRIVATE (notebook)->operation;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtknotebook.c:5936:7: warning: Value stored to 'padding' is never read [deadcode.DeadStores]

padding = tab_curvature + focus_width + notebook->tab_hborder;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtknotebook.c:5987:48: warning: The left operand of '!=' is a garbage value [core.UndefinedBinaryOperatorResult]

tab_allocation_changed = (child_allocation.x != page->tab_label->allocation.x ||

~~~~~~~~~~~~~~~~~~ ^

../libs/tk/ytk/gtknotebook.c:6255:3: warning: Value stored to 'old_child' is never read [deadcode.DeadStores]

old_child = notebook->focus_tab;

^ ~~~~~~~~~~~~~~~~~~~

17 warnings generated.

[ 383/1879] Compiling libs/tk/ytk/gtkplug-x11.c

[ 384/1879] Compiling libs/tk/ytk/gtktoolbar.c

../libs/tk/ydk/gdkwindow.c:941:24: warning: Access to field 'abs_x' results in a dereference of a null pointer (loaded from field 'parent') [core.NullDereference]

private->abs_x = private->parent->abs_x + private->x;

^~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkwindow.c:1630:3: warning: Value stored to 'show' is never read [deadcode.DeadStores]

show = FALSE;

^ ~~~~~

../libs/tk/ydk/gdkwindow.c:1777:6: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage [core.uninitialized.Assign]

res |= temporary_disable_extension_events (child);

~~~ ^

../libs/tk/ydk/gdkwindow.c:1780:3: warning: Undefined or garbage value returned to caller [core.uninitialized.UndefReturn]

return res;

^~~~~~~~~~

../libs/tk/ydk/gdkwindow.c:1974:17: warning: Use of memory after it is freed [unix.Malloc]

g_assert (iter_filter->ref_count > 0);

^~~~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtestutils.h:118:59: note: expanded from macro 'g_assert'

if G_LIKELY (expr) ; else \

^~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: expanded from macro 'G_LIKELY'

#define G_LIKELY(expr) (expr)

^~~~

../libs/tk/ydk/gdkwindow.c:1976:7: warning: Use of memory after it is freed [unix.Malloc]

filter->ref_count--;

^~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkwindow.c:4161:31: warning: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'list') [core.NullDereference]

GdkWindowPaint *paint = list->data;

^~~~~~~~~~

../libs/tk/ydk/gdkwindow.c:5345:4: warning: Value stored to 'tmp' is never read [deadcode.DeadStores]

tmp = g_slist_append (tmp, g_object_ref (window));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkwindow.c:7471:3: warning: Value stored to 'dx' is never read [deadcode.DeadStores]

dx = private->x - old_x;

^ ~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkwindow.c:7472:3: warning: Value stored to 'dy' is never read [deadcode.DeadStores]

dy = private->y - old_y;

^ ~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkwindow.c:7474:3: warning: Value stored to 'old_abs_x' is never read [deadcode.DeadStores]

old_abs_x = private->abs_x;

^ ~~~~~~~~~~~~~~

../libs/tk/ydk/gdkwindow.c:7475:3: warning: Value stored to 'old_abs_y' is never read [deadcode.DeadStores]

old_abs_y = private->abs_y;

^ ~~~~~~~~~~~~~~

../libs/tk/ydk/gdkwindow.c:8671:3: warning: Value stored to 'private' is never read [deadcode.DeadStores]

private = (GdkWindowObject *) window;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ydk/gdkwindow.c:8883:3: warning: Value stored to 'private' is never read [deadcode.DeadStores]

private = (GdkWindowObject *) window;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~

14 warnings generated.

[ 385/1879] Compiling libs/tk/ytk/gtktogglebutton.c

../libs/tk/ytk/gtkclipboard.c:1887:22: warning: The left operand of '==' is a garbage value [core.UndefinedBinaryOperatorResult]

if (targets[i] == target)

~~~~~~~~~~ ^

1 warning generated.

[ 386/1879] Compiling libs/tk/ytk/gtktoggletoolbutton.c

[ 387/1879] Linking build/libs/tk/ydk/libydk.so

[ 388/1879] Compiling libs/tk/ytk/gtktoolbutton.c

[ 389/1879] Compiling libs/tk/ytk/gtktooltip.c

[ 390/1879] Compiling libs/tk/ytk/gtktooltips.c

[ 391/1879] Compiling libs/tk/ytk/gtkalignment.c

[ 392/1879] Compiling libs/tk/ytk/gtktoolpalette.c

../libs/tk/ytk/gtktreeselection.c:371:3: warning: Value stored to 'retval' is never read [deadcode.DeadStores]

retval = FALSE;

^ ~~~~~

../libs/tk/ytk/gtktreeselection.c:1161:36: warning: The left operand of '!=' is a garbage value [core.UndefinedBinaryOperatorResult]

g_return_val_if_fail (start_node != NULL, FALSE);

~~~~~~~~~~ ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmessages.h:594:18: note: expanded from macro 'g_return_val_if_fail'

if G_LIKELY(expr) { } else \

^~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: expanded from macro 'G_LIKELY'

#define G_LIKELY(expr) (expr)

^~~~

2 warnings generated.

[ 393/1879] Compiling libs/tk/ytk/gtktextview.c

[ 394/1879] Compiling libs/tk/ytk/gtkthemes.c

[ 395/1879] Compiling libs/tk/ytk/gtkvpaned.c

../libs/tk/ytk/gtkalignment.c:506:3: warning: Value stored to 'padding_horizontal' is never read [deadcode.DeadStores]

padding_horizontal = 0;

^ ~

../libs/tk/ytk/gtkalignment.c:507:3: warning: Value stored to 'padding_vertical' is never read [deadcode.DeadStores]

padding_vertical = 0;

^ ~

2 warnings generated.

[ 396/1879] Compiling libs/tk/ytk/gtktextdisplay.c

[ 397/1879] Compiling libs/tk/ytk/gtksocket.c

[ 398/1879] Compiling libs/tk/ytk/gtksizegroup.c

[ 399/1879] Compiling libs/tk/ytk/gtkaspectframe.c

[ 400/1879] Compiling libs/tk/ytk/gtkstatusbar.c

[ 401/1879] Compiling libs/tk/ytk/gtktexttypes.c

../libs/tk/ytk/gtkwindow.c:986:3: warning: Value stored to 'priv' is never read [deadcode.DeadStores]

priv = GTK_WINDOW_GET_PRIVATE (window);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkwindow.c:2896:39: warning: Access to field 'win_gravity' results in a dereference of a null pointer (loaded from variable 'geometry') [core.NullDereference]

gtk_window_set_gravity (window, geometry->win_gravity);

^~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[ 402/1879] Compiling libs/tk/ytk/gtktextmark.c

[ 403/1879] Compiling libs/tk/ytk/gtksocket-x11.c

[ 404/1879] Compiling libs/tk/ytk/gtkactiongroup.c

[ 405/1879] Compiling libs/tk/ytk/gtktexttag.c

../libs/tk/ytk/gtktooltip.c:1184:7: warning: Value stored to 'pointer_widget' is never read [deadcode.DeadStores]

pointer_widget = tooltip_widget = tooltip->keyboard_widget;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktooltip.c:1201:7: warning: Value stored to 'pointer_widget' is never read [deadcode.DeadStores]

pointer_widget = tooltip_widget = _gtk_widget_find_at_coords (window,

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktooltip.c:1595:6: warning: Value stored to 'hide_tooltip' is never read [deadcode.DeadStores]

hide_tooltip = !return_value;

^ ~~~~~~~~~~~~~

3 warnings generated.

[ 406/1879] Compiling libs/tk/ytk/gtktextchild.c

[ 407/1879] Compiling libs/tk/ytk/gtkadjustment.c

../libs/tk/ytk/gtktreeviewcolumn.c:2765:13: warning: Access to field 'cell' results in a dereference of a null pointer (loaded from variable 'info') [core.NullDereference]

if (! info->cell->visible)

^~~~~~~~~~

../libs/tk/ytk/gtktreeviewcolumn.c:2921:23: warning: Value stored to 'flags' is never read [deadcode.DeadStores]

flags &= ~GTK_CELL_RENDERER_FOCUSED;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreeviewcolumn.c:2942:23: warning: Value stored to 'flags' is never read [deadcode.DeadStores]

flags &= ~GTK_CELL_RENDERER_FOCUSED;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreeviewcolumn.c:3086:9: warning: Value stored to 'flags' is never read [deadcode.DeadStores]

flags &= ~GTK_CELL_RENDERER_FOCUSED;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreeviewcolumn.c:3107:9: warning: Value stored to 'flags' is never read [deadcode.DeadStores]

flags &= ~GTK_CELL_RENDERER_FOCUSED;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~

5 warnings generated.

[ 408/1879] Compiling libs/tk/ytk/gtkactivatable.c

../libs/tk/ytk/gtkstatusbar.c:962:12: warning: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'l') [core.NullDereference]

for (l = l->next; l; l = l->next)

^~~~~~~

../libs/tk/ytk/gtkstatusbar.c:1028:32: warning: The right operand of '+' is a garbage value [core.UndefinedBinaryOperatorResult]

if (child->allocation.width + rect.width > statusbar->frame->allocation.width)

^ ~~~~~~~~~~

2 warnings generated.

[ 409/1879] Compiling libs/tk/ytk/gtktextlayout.c

[ 410/1879] Compiling libs/tk/ytk/gtktextsegment.c

../libs/tk/ytk/gtkentry.c:2354:7: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage [core.uninitialized.Assign]

y += priv->focus_width;

~ ^

../libs/tk/ytk/gtkentry.c:2356:14: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

primary->y = y;

^ ~

../libs/tk/ytk/gtkentry.c:2954:7: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage [core.uninitialized.Assign]

y += priv->focus_width;

~ ^

../libs/tk/ytk/gtkentry.c:2957:7: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage [core.uninitialized.Assign]

x += secondary.width;

~ ^

../libs/tk/ytk/gtkentry.c:2959:7: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage [core.uninitialized.Assign]

x += primary.width;

~ ^

../libs/tk/ytk/gtkentry.c:3320:7: warning: Value stored to 'y' is never read [deadcode.DeadStores]

y -= priv->focus_width;

^ ~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkentry.c:3346:10: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage [core.uninitialized.Assign]

*x -= private->focus_width;

~~ ^

../libs/tk/ytk/gtkentry.c:3356:10: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage [core.uninitialized.Assign]

*x += progress_border->left;

~~ ^

../libs/tk/ytk/gtkentry.c:3368:32: warning: The right operand of '*' is a garbage value [core.UndefinedBinaryOperatorResult]

*x += (gint) floor(value * (*width));

^ ~~~~~~

../libs/tk/ytk/gtkentry.c:3379:35: warning: The right operand of '*' is a garbage value [core.UndefinedBinaryOperatorResult]

bar_width = floor(value * (*width) + 0.5);

^ ~~~~~~

../libs/tk/ytk/gtkentry.c:3385:39: warning: The right operand of '*' is a garbage value [core.UndefinedBinaryOperatorResult]

*width = (gint) floor(value * (*width) + 0.5);

^ ~~~~~~

../libs/tk/ytk/gtkentry.c:3915:15: warning: Value stored to 'context' is never read [deadcode.DeadStores]

context = gtk_drag_begin (widget,

^ ~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkentry.c:4801:4: warning: Value stored to 'priv' is never read [deadcode.DeadStores]

priv = GTK_ENTRY_GET_PRIVATE (entry);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkentry.c:4869:4: warning: Value stored to 'priv' is never read [deadcode.DeadStores]

priv = GTK_ENTRY_GET_PRIVATE (entry);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkentry.c:6841:3: warning: Value stored to 'priv' is never read [deadcode.DeadStores]

priv = GTK_ENTRY_GET_PRIVATE (entry);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkentry.c:6881:3: warning: Value stored to 'priv' is never read [deadcode.DeadStores]

priv = GTK_ENTRY_GET_PRIVATE (entry);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkentry.c:8975:3: warning: Value stored to 'y' is never read [deadcode.DeadStores]

y -= widget->style->ythickness;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkentry.c:9039:3: warning: Value stored to 'y' is never read [deadcode.DeadStores]

y -= widget->style->ythickness;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkentry.c:9281:3: warning: Value stored to 'priv' is never read [deadcode.DeadStores]

priv = GTK_ENTRY_GET_PRIVATE (entry);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtkentry.c:9993:14: warning: The left operand of '!=' is a garbage value [core.UndefinedBinaryOperatorResult]

if ((x != old_x) || (y != old_y) || (width != old_width) || (height != old_height))

~ ^

../libs/tk/ytk/gtkentry.c:9993:14: warning: The right operand of '!=' is a garbage value [core.UndefinedBinaryOperatorResult]

if ((x != old_x) || (y != old_y) || (width != old_width) || (height != old_height))

^ ~~~~~

21 warnings generated.

[ 411/1879] Compiling libs/tk/ytk/gtkaboutdialog.c

[ 412/1879] Compiling libs/tk/ytk/gtktextbufferrichtext.c

[ 413/1879] Compiling libs/tk/ytk/gtktextbufferserialize.c

[ 414/1879] Compiling libs/tk/ytk/gtkspinbutton.c

[ 415/1879] Compiling libs/tk/ytk/gtkxembed.c

[ 416/1879] Compiling libs/tk/ytk/gtkaccessible.c

[ 417/1879] Compiling libs/tk/ytk/gtktextbtree.c

[ 418/1879] Compiling libs/tk/ytk/gtktextbuffer.c

[ 419/1879] Compiling libs/tk/ytk/fnmatch.c

[ 420/1879] Compiling libs/tk/ytk/gtktearoffmenuitem.c

../libs/tk/ytk/gtktoolpalette.c:483:24: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

min_offset += group_sizes[j];

^ ~~~~~~~~~~~~~~

1 warning generated.

[ 421/1879] Compiling libs/tk/ytk/gtkstock.c

../libs/tk/ytk/gtktreemodelfilter.c:656:5: warning: Access to field 'array' results in a dereference of a null pointer (loaded from field 'parent_level') [core.NullDereference]

FILTER_LEVEL_PARENT_ELT (filter_level)->children = NULL;

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreemodelfilter.c:132:42: note: expanded from macro 'FILTER_LEVEL_PARENT_ELT'

#define FILTER_LEVEL_PARENT_ELT(level) (&g_array_index (FILTER_LEVEL ((level))->parent_level->array, FilterElt, FILTER_LEVEL ((level))->parent_elt_index))

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/garray.h:67:51: note: expanded from macro 'g_array_index'

#define g_array_index(a,t,i) (((t*) (void *) (a)->data) [(i)])

^~~

../libs/tk/ytk/gtktreemodelfilter.c:1265:23: warning: Dereference of undefined pointer value [core.NullDereference]

current_state = FILTER_ELT (iter.user_data2)->visible;

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreemodelfilter.c:129:32: note: expanded from macro 'FILTER_ELT'

#define FILTER_ELT(filter_elt) ((FilterElt *)filter_elt)

^

../libs/tk/ytk/gtktreemodelfilter.c:1326:7: warning: Value stored to 'root' is never read [deadcode.DeadStores]

root = FILTER_LEVEL (filter->priv->root);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreemodelfilter.c:1347:9: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

level = FILTER_LEVEL (iter.user_data);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreemodelfilter.c:1891:3: warning: Value stored to 'offset' is never read [deadcode.DeadStores]

offset = elt->offset;

^ ~~~~~~~~~~~

../libs/tk/ytk/gtktreemodelfilter.c:2086:11: warning: Value stored to 'level' is never read [deadcode.DeadStores]

level = FILTER_LEVEL (iter.user_data);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreemodelfilter.c:2649:3: warning: Value stored to 'elt' is never read [deadcode.DeadStores]

elt = FILTER_ELT (level->array->data);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreemodelfilter.c:3313:11: warning: Value stored to 'found_child' is never read [deadcode.DeadStores]

found_child = TRUE;

^ ~~~~

8 warnings generated.

[ 422/1879] Compiling libs/tk/ytk/gtktable.c

[ 423/1879] Compiling libs/tk/ytk/gtkstyle.c

[ 424/1879] Compiling libs/tk/ytk/gtkspinner.c

[ 425/1879] Compiling libs/tk/ytk/gtktexttagtable.c

../libs/tk/ytk/gtkspinner.c:323:3: warning: Value stored to 'spinner' is never read [deadcode.DeadStores]

spinner = GTK_SPINNER (widget);

^ ~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 426/1879] Compiling libs/tk/ztkmm/wrap_init.cc

../libs/tk/ytk/gtktoolitemgroup.c:603:22: warning: Division by zero [core.DivideZero]

return (x + y - 1) / y;

~~~~~~~~~~~~^~~

../libs/tk/ytk/gtktoolitemgroup.c:624:3: warning: Value stored to 'style' is never read [deadcode.DeadStores]

style = gtk_tool_shell_get_style (GTK_TOOL_SHELL (group));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:727:38: warning: Use of zero-allocated memory [unix.Malloc]

row_min_width[row] = 1;

^

../libs/tk/ytk/gtktoolitemgroup.c:765:28: warning: Potential leak of memory pointed to by 'row_min_width' [unix.Malloc]

for (n_columns = min_col; n_columns < max_col; n_columns ++)

^~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:867:3: warning: Value stored to 'style' is never read [deadcode.DeadStores]

style = gtk_tool_shell_get_style (GTK_TOOL_SHELL (group));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:934:43: warning: Division by zero [core.DivideZero]

item_size.height = item_area.height / n_rows;

~~~~~~~~~~~~~~~~~^~~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:1071:7: warning: Value stored to 'adjustment' is never read [deadcode.DeadStores]

adjustment = gtk_tool_palette_get_hadjustment (GTK_TOOL_PALETTE (p));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:1428:9: warning: 4th function call argument is an uninitialized value [core.CallAndMessage]

gtk_tool_item_group_set_item_packing (group, item,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:1436:9: warning: 3rd function call argument is an uninitialized value [core.CallAndMessage]

gtk_tool_item_group_set_item_packing (group, item,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:1444:9: warning: 3rd function call argument is an uninitialized value [core.CallAndMessage]

gtk_tool_item_group_set_item_packing (group, item,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:1452:9: warning: 3rd function call argument is an uninitialized value [core.CallAndMessage]

gtk_tool_item_group_set_item_packing (group, item,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:1490:9: warning: 2nd function call argument is an uninitialized value [core.CallAndMessage]

g_value_set_boolean (value, homogeneous);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:1494:9: warning: 2nd function call argument is an uninitialized value [core.CallAndMessage]

g_value_set_boolean (value, expand);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:1498:9: warning: 2nd function call argument is an uninitialized value [core.CallAndMessage]

g_value_set_boolean (value, fill);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:1502:9: warning: 2nd function call argument is an uninitialized value [core.CallAndMessage]

g_value_set_boolean (value, new_row);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:2201:3: warning: Value stored to 'orientation' is never read [deadcode.DeadStores]

orientation = gtk_tool_shell_get_orientation (GTK_TOOL_SHELL (group));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:2244:3: warning: Value stored to 'orientation' is never read [deadcode.DeadStores]

orientation = gtk_tool_shell_get_orientation (GTK_TOOL_SHELL (group));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolitemgroup.c:2245:3: warning: Value stored to 'style' is never read [deadcode.DeadStores]

style = gtk_tool_shell_get_style (GTK_TOOL_SHELL (group));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

18 warnings generated.

[ 427/1879] Compiling libs/tk/ztkmm/text.cc

[ 428/1879] Compiling libs/tk/ztkmm/selection.cc

[ 429/1879] Compiling libs/tk/ztkmm/hypertext.cc

../libs/tk/ytk/fnmatch.c:115:18: warning: Value stored to 'last_p' during its initialization is never read [deadcode.DeadStores]

const char *last_p = p;

^~~~~~ ~

1 warning generated.

[ 430/1879] Compiling libs/tk/ztkmm/value.cc

[ 431/1879] Compiling libs/tk/ztkmm/table.cc

[ 432/1879] Compiling libs/tk/ztkmm/streamablecontent.cc

[ 433/1879] Compiling libs/tk/ztkmm/stateset.cc

../libs/tk/ytk/gtktextbufferserialize.c:470:22: warning: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'active_tags') [core.NullDereference]

while (active_tags->data != tag)

^~~~~~~~~~~~~~~~~

1 warning generated.

[ 434/1879] Compiling libs/tk/ztkmm/relationset.cc

[ 435/1879] Compiling libs/tk/ztkmm/object.cc

[ 436/1879] Compiling libs/tk/ztkmm/implementor.cc

[ 437/1879] Compiling libs/tk/ztkmm/relation.cc

../libs/tk/ytk/gtktreemodelsort.c:829:7: warning: Value stored to 'level' is never read [deadcode.DeadStores]

level = SORT_LEVEL (iter.user_data);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreemodelsort.c:2381:5: warning: Access to field 'array' results in a dereference of a null pointer (loaded from field 'parent_level') [core.NullDereference]

SORT_LEVEL_PARENT_ELT (sort_level)->children = NULL;

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreemodelsort.c:104:40: note: expanded from macro 'SORT_LEVEL_PARENT_ELT'

#define SORT_LEVEL_PARENT_ELT(level) (&g_array_index (SORT_LEVEL ((level))->parent_level->array, SortElt, SORT_LEVEL ((level))->parent_elt_index))

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/garray.h:67:51: note: expanded from macro 'g_array_index'

#define g_array_index(a,t,i) (((t*) (void *) (a)->data) [(i)])

^~~

2 warnings generated.

[ 438/1879] Compiling libs/tk/ztkmm/objectaccessible.cc

[ 439/1879] Compiling libs/tk/ztkmm/noopobject.cc

[ 440/1879] Compiling libs/tk/ztkmm/init.cc

[ 441/1879] Compiling libs/tk/ztkmm/image.cc

[ 442/1879] Compiling libs/tk/ztkmm/editabletext.cc

[ 443/1879] Compiling libs/tk/ztkmm/hyperlink.cc

[ 444/1879] Compiling libs/tk/ztkmm/document.cc

[ 445/1879] Compiling libs/tk/ztkmm/action.cc

[ 446/1879] Compiling libs/tk/ztkmm/component.cc

[ 447/1879] Compiling libs/ptformat/ptformat.cc

[ 448/1879] Compiling libs/tk/suil/instance.c

[ 449/1879] Compiling libs/tk/suil/host.c

[ 450/1879] Compiling libs/midi++2/channel.cc

[ 451/1879] Compiling libs/midi++2/ipmidi_port.cc

[ 452/1879] Compiling libs/midi++2/mtc.cc

../libs/tk/ytk/gtktreestore.c:368:35: warning: Use of zero-allocated memory [unix.Malloc]

tree_store->column_headers[i] = G_TYPE_INVALID;

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^

../libs/tk/ytk/gtktreestore.c:2459:14: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

parent = G_NODE (parent_iter.user_data);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreestore.c:2520:6: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

b = G_NODE (dst_b.user_data);

^ ~~~~~~~~~~~~~~~~~~~~~~~~

3 warnings generated.

[ 453/1879] Compiling libs/midi++2/parser.cc

[ 454/1879] Compiling libs/midi++2/mmc.cc

[ 455/1879] Compiling libs/midi++2/midnam_patch.cc

[ 456/1879] Compiling libs/midi++2/port.cc

[ 457/1879] Compiling libs/midi++2/midi.cc

[ 458/1879] Compiling libs/audiographer/src/general/normalizer.cc

[ 459/1879] Compiling libs/audiographer/src/general/broadcast_info.cc

../libs/tk/ytk/gtktable.c:1096:18: warning: Division by zero [core.DivideZero]

extra = width / n_expand;

~~~~~~^~~~~~~~~~

../libs/tk/ytk/gtktable.c:1149:19: warning: Division by zero [core.DivideZero]

extra = height / n_expand;

~~~~~~~^~~~~~~~~~

2 warnings generated.

[ 460/1879] Compiling libs/audiographer/src/general/sr_converter.cc

[ 461/1879] Linking build/libs/tk/ztkmm/libztkmm.so

[ 462/1879] Compiling libs/audiographer/src/general/limiter.cc

[ 463/1879] Linking build/libs/tk/suil/libsuil.so

[ 464/1879] Compiling libs/audiographer/src/general/demo_noise.cc

[ 465/1879] Compiling libs/audiographer/src/general/loudness_reader.cc

../libs/tk/ytk/gtktextlayout.c:1094:11: warning: Value stored to 'last_line' is never read [deadcode.DeadStores]

last_line = line;

^ ~~~~

../libs/tk/ytk/gtktextlayout.c:2419:13: warning: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'seg') [core.NullDereference]

seg = seg->next;

^~~~~~~~~

../libs/tk/ytk/gtktextlayout.c:2529:11: warning: Access to field 'layout' results in a dereference of a null pointer (loaded from variable 'display') [core.NullDereference]

if (display->layout)

^~~~~~~~~~~~~~~

../libs/tk/ytk/gtktextlayout.c:3607:8: warning: Value stored to 'line_byte' is never read [deadcode.DeadStores]

line_byte = display->insert_index;

^ ~~~~~~~~~~~~~~~~~~~~~

4 warnings generated.

[ 466/1879] Compiling libs/audiographer/src/debug_utils.cc

[ 467/1879] Compiling libs/audiographer/src/general/sndfile.cc

../libs/tk/ytk/gtkcombobox.c:3563:16: warning: Access to field 'child' results in a dereference of a null pointer (loaded from field 'data') [core.NullDereference]

else if (GTK_IS_CELL_VIEW (GTK_BIN (i->data)->child))

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/ytk/gtkcellview.h:36:44: note: expanded from macro 'GTK_IS_CELL_VIEW'

#define GTK_IS_CELL_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_VIEW))

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:79: note: expanded from macro 'G_TYPE_CHECK_INSTANCE_TYPE'

#define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:44: note: expanded from macro '_G_TYPE_CIT'

GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

^~

../libs/tk/ytk/gtkcombobox.c:4302:17: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

sensitive = cell_sensitive;

^ ~~~~~~~~~~~~~~

2 warnings generated.

[ 468/1879] Compiling libs/audiographer/src/routines.cc

[ 469/1879] Compiling libs/audiographer/src/general/sample_format_converter.cc

[ 470/1879] Compiling libs/audiographer/private/gdither/gdither.cc

../libs/tk/ytk/gtktextview.c:1833:3: warning: Value stored to 'scroll_dest' is never read [deadcode.DeadStores]

scroll_dest = current_y_scroll;

^ ~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktextview.c:1870:3: warning: Value stored to 'scroll_dest' is never read [deadcode.DeadStores]

scroll_dest = current_x_scroll;

^ ~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktextview.c:7338:39: warning: Access to field 'value' results in a dereference of a null pointer (loaded from variable 'adj') [core.NullDereference]

dx = text_view->xoffset - (gint)adj->value;

^~~~~~~~~~

../libs/tk/ytk/gtktextview.c:7355:39: warning: Access to field 'value' results in a dereference of a null pointer (loaded from variable 'adj') [core.NullDereference]

dy = text_view->yoffset - (gint)adj->value;

^~~~~~~~~~

4 warnings generated.

[ 471/1879] Compiling libs/audiographer/private/limiter/limiter.cc

[ 472/1879] Compiling libs/audiographer/src/general/analyser.cc

[ 473/1879] Compiling libs/zita-resampler/resampler-table.cc

[ 474/1879] Compiling libs/zita-resampler/resampler.cc

[ 475/1879] Compiling libs/zita-resampler/vmresampler.cc

../libs/temporal/tempo.cc:1240:3: warning: 1st function call argument is an uninitialized value [core.CallAndMessage]

reset_starting_at (s);

^~~~~~~~~~~~~~~~~~~~~

../libs/temporal/tempo.cc:2003:3: warning: Value stored to 'need_initial_ramp_reset' is never read [deadcode.DeadStores]

need_initial_ramp_reset = false;

^ ~~~~~

../libs/temporal/tempo.cc:4255:9: warning: Forming reference to null pointer [core.NonNullParamChecker]

return TempoMetric (*tp, *mp);

^~~~~~~~~~~~~~~~~~~~~~

../libs/temporal/tempo.cc:4345:15: warning: Value stored to 'err' during its initialization is never read [deadcode.DeadStores]

superclock_t err = prev->superclock_at (focus.beats()) - focus.sclock();

^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/temporal/tempo.cc:4346:21: warning: Value stored to 'one_sample' during its initialization is never read [deadcode.DeadStores]

const superclock_t one_sample = superclock_ticks_per_second() / TEMPORAL_SAMPLE_RATE;

^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/temporal/tempo.cc:4348:9: warning: Value stored to 'scpqn' during its initialization is never read [deadcode.DeadStores]

double scpqn = focus.superclocks_per_quarter_note ();

^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

6 warnings generated.

[ 476/1879] Compiling libs/zita-resampler/cresampler.cc

[ 477/1879] Compiling libs/zita-resampler/vresampler.cc

../libs/audiographer/src/general/loudness_reader.cc:206:3: warning: Value stored to 'set' is never read [deadcode.DeadStores]

set = true;

^ ~~~~

1 warning generated.

[ 478/1879] Compiling libs/fluidsynth/src/fluid_defsfont.c

[ 479/1879] Linking build/libs/temporal/libtemporal.so

[ 480/1879] Compiling libs/fluidsynth/src/fluid_chan.c

[ 481/1879] Linking build/libs/evoral/libsmf.a

[ 482/1879] Compiling libs/fluidsynth/src/fluid_rvoice.c

[ 483/1879] Compiling libs/fluidsynth/src/fluid_sfont.c

[ 484/1879] Linking build/libs/evoral/libevoral.so

[ 485/1879] Compiling libs/fluidsynth/src/fluid_rvoice_event.c

[ 486/1879] Compiling libs/fluidsynth/src/fluid_rvoice_mixer.c

[ 487/1879] Compiling libs/fluidsynth/src/fluid_rvoice_dsp.c

../libs/tk/ytk/gtktoolbar.c:1493:24: warning: Although the value stored to 'size' is used in the enclosing expression, the value is never actually read from 'size' [deadcode.DeadStores]

available_size = size = allocation->width - 2 * border_width;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolbar.c:1505:24: warning: Although the value stored to 'size' is used in the enclosing expression, the value is never actually read from 'size' [deadcode.DeadStores]

available_size = size = allocation->height - 2 * border_width;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolbar.c:1613:26: warning: Division by zero [core.DivideZero]

gint extra = size / n_expand_items;

~~~~~^~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolbar.c:1739:3: warning: Value stored to 'elapsed' is never read [deadcode.DeadStores]

elapsed = g_timer_elapsed (priv->timer, NULL);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktoolbar.c:3902:3: warning: Value stored to 'content' is never read [deadcode.DeadStores]

content = toolbar_content_new_compatibility (toolbar, type, child_widget,

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

5 warnings generated.

[ 488/1879] Compiling libs/fluidsynth/src/fluid_lfo.c

[ 489/1879] Compiling libs/fluidsynth/src/fluid_chorus.c

[ 490/1879] Compiling libs/fluidsynth/src/fluid_rev.c

../libs/ptformat/ptformat.cc:895:6: warning: Value stored to 'found' is never read [deadcode.DeadStores]

found = true;

^ ~~~~

../libs/ptformat/ptformat.cc:957:6: warning: Value stored to 'j' is never read [deadcode.DeadStores]

j += trackname.size() + 4 + 18;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/ptformat/ptformat.cc:981:3: warning: Value stored to 'tindex' is never read [deadcode.DeadStores]

tindex = 0;

^ ~

../libs/ptformat/ptformat.cc:1132:2: warning: Value stored to 'rindex' is never read [deadcode.DeadStores]

rindex = 0;

^ ~

../libs/ptformat/ptformat.cc:1231:10: warning: Value stored to 'rawindex' is never read [deadcode.DeadStores]

rawindex = u_endian_read4(&_ptfunxored[j], is_bigendian);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/ptformat/ptformat.cc:1239:10: warning: Value stored to 'start2' is never read [deadcode.DeadStores]

start2 = signedval;

^ ~~~~~~~~~

../libs/ptformat/ptformat.cc:1247:10: warning: Value stored to 'stop2' is never read [deadcode.DeadStores]

stop2 = signedval;

^ ~~~~~~~~~

../libs/ptformat/ptformat.cc:1248:10: warning: Value stored to 'j' is never read [deadcode.DeadStores]

j += 16;

^ ~~

8 warnings generated.

[ 491/1879] Compiling libs/fluidsynth/src/fluid_iir_filter.c

[ 492/1879] Linking build/libs/ptformat/libptformat.so

[ 493/1879] Compiling libs/fluidsynth/src/fluid_synth_monopoly.c

../libs/midi++2/channel.cc:282:3: warning: Value stored to 'cv' is never read [deadcode.DeadStores]

cv = (unsigned short) _controller_val[tb->controller_number];

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 494/1879] Compiling libs/fluidsynth/src/fluid_sys.c

[ 495/1879] Compiling libs/fluidsynth/src/fluid_sffile.c

[ 496/1879] Compiling libs/fluidsynth/src/fluid_midi.c

[ 497/1879] Compiling libs/fluidsynth/src/fluid_list.c

[ 498/1879] Compiling libs/fluidsynth/src/fluid_event.c

[ 499/1879] Compiling libs/fluidsynth/src/fluid_adsr_env.c

[ 500/1879] Compiling libs/fluidsynth/src/fluid_settings.c

[ 501/1879] Compiling libs/fluidsynth/src/fluid_ringbuffer.c

[ 502/1879] Compiling libs/fluidsynth/src/fluid_samplecache.c

[ 503/1879] Compiling libs/fluidsynth/src/fluid_hash.c

[ 504/1879] Compiling libs/fluidsynth/src/fluid_voice.c

[ 505/1879] Linking build/libs/zita-resampler/libzita-resampler.a

[ 506/1879] Compiling libs/fluidsynth/src/fluid_gen.c

[ 507/1879] Compiling libs/fluidsynth/src/fluid_conv.c

../libs/fluidsynth/src/fluid_settings.c:84:6: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic]

84 | };

| ^

[ 508/1879] Compiling libs/fluidsynth/src/fluid_tuning.c

[ 509/1879] Compiling libs/fluidsynth/src/fluid_mod.c

[ 510/1879] Compiling libs/fluidsynth/src/fluid_synth.c

[ 511/1879] Compiling libs/libltc/encoder.c

[ 512/1879] Compiling libs/libltc/decoder.c

[ 513/1879] Compiling libs/libltc/timecode.c

[ 514/1879] Compiling libs/libltc/ltc.c

../libs/fluidsynth/src/fluid_rvoice_mixer.c: In function 'fluid_rvoice_buffers_mix':

../libs/fluidsynth/src/fluid_rvoice_mixer.c:465: warning: ignoring '#pragma omp simd' [-Wunknown-pragmas]

465 | #pragma omp simd aligned(dsp_buf,buf:FLUID_DEFAULT_ALIGNMENT)

|

../libs/fluidsynth/src/fluid_rvoice_mixer.c:476: warning: ignoring '#pragma omp simd' [-Wunknown-pragmas]

476 | #pragma omp simd aligned(dsp_buf,buf:FLUID_DEFAULT_ALIGNMENT)

|

[ 515/1879] Compiling libs/zita-convolver/zita-convolver.cc

[ 516/1879] Compiling libs/staffpad/FourierTransform_pffft.cpp

[ 517/1879] Compiling libs/staffpad/pffft/pffft.c

[ 518/1879] Compiling libs/staffpad/TimeAndPitch.cpp

[ 519/1879] Compiling libs/tk/ydkmm/image.cc

[ 520/1879] Compiling libs/tk/ydkmm/screen.cc

[ 521/1879] Compiling libs/tk/ydkmm/display.cc

[ 522/1879] Compiling libs/tk/ydkmm/wrap_init.cc

[ 523/1879] Compiling libs/tk/ydkmm/rgbcmap.cc

../libs/staffpad/FourierTransform_pffft.cpp: In member function 'void staffpad::audio::FourierTransform::inverseReal(const SamplesComplex&, staffpad::SamplesReal&)':

../libs/staffpad/FourierTransform_pffft.cpp:49:29: warning: cast from type 'const std::complex<float>*' to type 'float*' casts away qualifiers [-Wcast-qual]

49 | t.assignSamples(ch, (float*)spec);

| ^~~~~~~~~~~~

[ 524/1879] Linking build/libs/audiographer/libaudiographer.so

[ 525/1879] Compiling libs/tk/ydkmm/types.cc

[ 526/1879] Compiling libs/tk/ydkmm/visual.cc

[ 527/1879] Compiling libs/tk/ydkmm/bitmap.cc

../libs/fluidsynth/src/fluid_defsfont.c: In function 'fluid_defsfont_load_all_sampledata':

../libs/fluidsynth/src/fluid_defsfont.c:396: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas]

396 | #pragma omp parallel

|

../libs/fluidsynth/src/fluid_defsfont.c:397: warning: ignoring '#pragma omp single' [-Wunknown-pragmas]

397 | #pragma omp single

|

../libs/fluidsynth/src/fluid_defsfont.c:406: warning: ignoring '#pragma omp task' [-Wunknown-pragmas]

406 | #pragma omp task firstprivate(sample,sfdata,defsfont) shared(sample_parsing_result) default(none)

|

../libs/fluidsynth/src/fluid_defsfont.c:410: warning: ignoring '#pragma omp critical' [-Wunknown-pragmas]

410 | #pragma omp critical

|

../libs/fluidsynth/src/fluid_defsfont.c:425: warning: ignoring '#pragma omp task' [-Wunknown-pragmas]

425 | #pragma omp task firstprivate(sample, defsfont) default(none)

|

[ 528/1879] Compiling libs/tk/ydkmm/rgb.cc

[ 529/1879] Compiling libs/tk/ydkmm/pixbufanimationiter.cc

[ 530/1879] Compiling libs/tk/ydkmm/pixbuf.cc

[ 531/1879] Linking build/libs/libltc/liblibltc.a

[ 532/1879] Compiling libs/tk/ydkmm/pixbufloader.cc

[ 533/1879] Compiling libs/tk/ydkmm/region.cc

[ 534/1879] Compiling libs/tk/ydkmm/pixmap.cc

[ 535/1879] Compiling libs/tk/ydkmm/rectangle.cc

[ 536/1879] Compiling libs/tk/ydkmm/cursor.cc

[ 537/1879] Compiling libs/tk/ydkmm/pixbufformat.cc

[ 538/1879] Compiling libs/tk/ydkmm/general.cc

[ 539/1879] Compiling libs/tk/ydkmm/dragcontext.cc

[ 540/1879] Compiling libs/tk/ydkmm/pixbufanimation.cc

[ 541/1879] Linking build/libs/midi++2/libmidipp.so

[ 542/1879] Compiling libs/tk/ydkmm/drawable.cc

[ 543/1879] Compiling libs/tk/ydkmm/event.cc

[ 544/1879] Compiling libs/tk/ydkmm/color.cc

In file included from ../libs/staffpad/pffft/pffft.c:116:

../libs/staffpad/pffft/pfsimd_macros.h:193:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]

193 | static void Vvalidate_simd() {

| ^~~~~~~~~~~~~~

../libs/staffpad/pffft/pffft.c: In function 'radf4_ps':

../libs/staffpad/pffft/pffft.c:513:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

513 | const v4sf * RESTRICT pc = (v4sf*)(cc + 1 + k);

| ^

../libs/staffpad/pffft/pffft.c: In function 'radb4_ps':

../libs/staffpad/pffft/pffft.c:601:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

601 | const v4sf * RESTRICT pc = (v4sf*)(cc - 1 + 4*k);

| ^

../libs/staffpad/pffft/pffft.c: In function 'rfftf1_ps':

../libs/staffpad/pffft/pffft.c:830:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

830 | v4sf *in = (v4sf*)input_readonly;

| ^

../libs/staffpad/pffft/pffft.c: In function 'rfftb1_ps':

../libs/staffpad/pffft/pffft.c:877:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

877 | v4sf *in = (v4sf*)input_readonly;

| ^

../libs/staffpad/pffft/pffft.c: At top level:

../libs/staffpad/pffft/pffft.c:982:6: warning: no previous prototype for 'cffti1_ps' [-Wmissing-prototypes]

982 | void cffti1_ps(int n, float *wa, int *ifac)

| ^~~~~~~~~

../libs/staffpad/pffft/pffft.c:1021:7: warning: no previous prototype for 'cfftf1_ps' [-Wmissing-prototypes]

1021 | v4sf *cfftf1_ps(int n, const v4sf *input_readonly, v4sf *work1, v4sf *work2, const float *wa, const int *ifac, int isign) {

| ^~~~~~~~~

../libs/staffpad/pffft/pffft.c: In function 'cfftf1_ps':

../libs/staffpad/pffft/pffft.c:1022:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1022 | v4sf *in = (v4sf*)input_readonly;

| ^

../libs/staffpad/pffft/pffft.c: In function 'pffft_zreorder':

../libs/staffpad/pffft/pffft.c:1176:9: warning: declaration of 'k' shadows a previous local [-Wshadow]

1176 | int k, dk = N/32;

| ^

../libs/staffpad/pffft/pffft.c:1171:7: note: shadowed declaration is here

1171 | int k, N = setup->N, Ncvec = setup->Ncvec;

| ^

../libs/staffpad/pffft/pffft.c:1189:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1189 | unreversed_copy(dk, (v4sf*)(in + N/4), (v4sf*)(out + N - 6*SIMD_SZ), -8);

| ^

../libs/staffpad/pffft/pffft.c:1190:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1190 | unreversed_copy(dk, (v4sf*)(in + 3*N/4), (v4sf*)(out + N - 2*SIMD_SZ), -8);

| ^

../libs/staffpad/pffft/pffft.c: At top level:

../libs/staffpad/pffft/pffft.c:1207:6: warning: no previous prototype for 'pffft_cplx_finalize' [-Wmissing-prototypes]

1207 | void pffft_cplx_finalize(int Ncvec, const v4sf *in, v4sf *out, const v4sf *e) {

| ^~~~~~~~~~~~~~~~~~~

../libs/staffpad/pffft/pffft.c:1251:6: warning: no previous prototype for 'pffft_cplx_preprocess' [-Wmissing-prototypes]

1251 | void pffft_cplx_preprocess(int Ncvec, const v4sf *in, v4sf *out, const v4sf *e) {

| ^~~~~~~~~~~~~~~~~~~~~

../libs/staffpad/pffft/pffft.c: In function 'pffft_real_preprocess':

../libs/staffpad/pffft/pffft.c:1444:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1444 | Xr.f[k] = ((float*)in)[8*k];

| ^

../libs/staffpad/pffft/pffft.c:1445:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1445 | Xi.f[k] = ((float*)in)[8*k+4];

| ^

../libs/staffpad/pffft/pffft.c: At top level:

../libs/staffpad/pffft/pffft.c:1477:6: warning: no previous prototype for 'pffft_transform_internal' [-Wmissing-prototypes]

1477 | void pffft_transform_internal(PFFFT_Setup *setup, const float *finput, float *foutput, v4sf *scratch,

| ^~~~~~~~~~~~~~~~~~~~~~~~

../libs/staffpad/pffft/pffft.c: In function 'pffft_transform_internal':

../libs/staffpad/pffft/pffft.c:1517:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1517 | pffft_zreorder(setup, (float*)vinput, (float*)buff[ib], PFFFT_BACKWARD);

| ^

../libs/staffpad/pffft/pffft.c: In function 'pffft_zconvolve_accumulate':

../libs/staffpad/pffft/pffft.c:1577:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1577 | ar = ((v4sf_union*)va)[0].f[0];

| ^

../libs/staffpad/pffft/pffft.c:1578:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1578 | ai = ((v4sf_union*)va)[1].f[0];

| ^

../libs/staffpad/pffft/pffft.c:1579:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1579 | br = ((v4sf_union*)vb)[0].f[0];

| ^

../libs/staffpad/pffft/pffft.c:1580:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1580 | bi = ((v4sf_union*)vb)[1].f[0];

| ^

../libs/staffpad/pffft/pffft.c:1622:10: warning: declaration of 'ar' shadows a previous local [-Wshadow]

1622 | v4sf ar, ai, br, bi;

| ^~

../libs/staffpad/pffft/pffft.c:1570:9: note: shadowed declaration is here

1570 | float ar, ai, br, bi, abr, abi;

| ^~

../libs/staffpad/pffft/pffft.c:1622:14: warning: declaration of 'ai' shadows a previous local [-Wshadow]

1622 | v4sf ar, ai, br, bi;

| ^~

../libs/staffpad/pffft/pffft.c:1570:13: note: shadowed declaration is here

1570 | float ar, ai, br, bi, abr, abi;

| ^~

../libs/staffpad/pffft/pffft.c:1622:18: warning: declaration of 'br' shadows a previous local [-Wshadow]

1622 | v4sf ar, ai, br, bi;

| ^~

../libs/staffpad/pffft/pffft.c:1570:17: note: shadowed declaration is here

1570 | float ar, ai, br, bi, abr, abi;

| ^~

../libs/staffpad/pffft/pffft.c:1622:22: warning: declaration of 'bi' shadows a previous local [-Wshadow]

1622 | v4sf ar, ai, br, bi;

| ^~

../libs/staffpad/pffft/pffft.c:1570:21: note: shadowed declaration is here

1570 | float ar, ai, br, bi, abr, abi;

| ^~

../libs/staffpad/pffft/pffft.c: In function 'pffft_zconvolve_no_accu':

../libs/staffpad/pffft/pffft.c:1670:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1670 | sar = ((v4sf_union*)va)[0].f[0];

| ^

../libs/staffpad/pffft/pffft.c:1671:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1671 | sai = ((v4sf_union*)va)[1].f[0];

| ^

../libs/staffpad/pffft/pffft.c:1672:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1672 | sbr = ((v4sf_union*)vb)[0].f[0];

| ^

../libs/staffpad/pffft/pffft.c:1673:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1673 | sbi = ((v4sf_union*)vb)[1].f[0];

| ^

[ 545/1879] Compiling libs/tk/ydkmm/gc.cc

[ 546/1879] Compiling libs/tk/ydkmm/displaymanager.cc

[ 547/1879] Compiling libs/tk/ydkmm/window.cc

[ 548/1879] Compiling libs/tk/ydkmm/colormap.cc

[ 549/1879] Compiling libs/tk/ydkmm/device.cc

[ 550/1879] Compiling libs/ardour/luabindings.cc

[ 551/1879] Compiling libs/ardour/sse_functions_avx_linux.cc

[ 552/1879] Compiling libs/ardour/x86_functions_fma.cc

[ 553/1879] Compiling libs/ardour/x86_functions_avx512f.cc

[ 554/1879] Compiling libs/ardour/automation.cc

[ 555/1879] Compiling libs/ardour/audiorom.cc

[ 556/1879] Compiling libs/ardour/audiofilesource.cc

[ 557/1879] Compiling libs/ardour/audio_playlist_source.cc

[ 558/1879] Linking build/libs/staffpad/libstaffpad.a

[ 559/1879] Compiling libs/ardour/session_vst.cc

[ 560/1879] Compiling libs/ardour/session_process.cc

[ 561/1879] Compiling libs/ardour/vumeterdsp.cc

[ 562/1879] Compiling libs/ardour/video_tools_paths.cc

[ 563/1879] Compiling libs/ardour/velocity_control.cc

[ 564/1879] Compiling libs/ardour/sse_functions_xmm.cc

[ 565/1879] Compiling libs/ardour/selection.cc

../libs/tk/ydkmm/colormap.cc: In member function 'int Gdk::Colormap::alloc_colors(Gdk::ArrayHandle_Color&, int, bool, bool, Glib::ArrayHandle<bool, Glib::Container_Helpers::TypeTraits<bool> >&)':

../libs/tk/ydkmm/colormap.cc:45:150: warning: cast from type 'const gboolean*' {aka 'const int*'} to type 'gboolean*' {aka 'int*'} casts away qualifiers [-Wcast-qual]

45 | return gdk_colormap_alloc_colors(gobj(), const_cast<GdkColor*>(colors.data()), ncolors, static_cast<int>(writeable), static_cast<int>(best_match), (gboolean*)(success.data()));

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

[ 566/1879] Compiling libs/ardour/vst3_host.cc

[ 567/1879] Compiling libs/ardour/vca.cc

[ 568/1879] Compiling libs/ardour/rt_tasklist.cc

[ 569/1879] Compiling libs/ardour/vst3_plugin.cc

[ 570/1879] Compiling libs/ardour/worker.cc

[ 571/1879] Compiling libs/ardour/vca_manager.cc

[ 572/1879] Linking build/libs/ardour/libsse_fma_functions.a

[ 573/1879] Compiling libs/ardour/triggerbox.cc

[ 574/1879] Linking build/libs/ardour/libsse_avx_functions.a

[ 575/1879] Compiling libs/ardour/transport_master.cc

[ 576/1879] Compiling libs/ardour/transform.cc

../libs/tk/ytk/gtktextbtree.c:631:11: warning: Access to field 'dir_strong' results in a dereference of a null pointer (loaded from variable 'line') [core.NullDereference]

if (line->dir_strong != PANGO_DIRECTION_NEUTRAL)

^~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:827:40: warning: Dereference of null pointer [core.NullDereference]

curnode->children.line = curline->next;

~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:838:37: warning: Access to field 'num_children' results in a dereference of a null pointer (loaded from variable 'curnode') [core.NullDereference]

curnode->num_children -= 1;

~~~~~~~ ^

../libs/tk/ytk/gtktextbtree.c:851:18: warning: Access to field 'num_children' results in a dereference of a null pointer (loaded from variable 'curnode') [core.NullDereference]

while (curnode->num_children == 0)

^~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:856:19: warning: Dereference of null pointer [core.NullDereference]

if (parent->children.node == curnode)

^~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:971:7: warning: Access to field 'num_children' results in a dereference of a null pointer (loaded from variable 'curnode') [core.NullDereference]

curnode->num_children--;

^~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:1152:3: warning: Value stored to 'sol' is never read [deadcode.DeadStores]

sol = 0;

^ ~

../libs/tk/ytk/gtktextbtree.c:3117:14: warning: Access to field 'level' results in a dereference of a null pointer (loaded from variable 'node') [core.NullDereference]

while (node->level > 0)

^~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:3438:43: warning: Access to field 'byte_count' results in a dereference of a null pointer (loaded from variable 'last_with_chars') [core.NullDereference]

tree->end_iter_segment_byte_index = last_with_chars->byte_count - 1;

^~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:4265:10: warning: Access to field 'level' results in a dereference of a null pointer (loaded from variable 'node') [core.NullDereference]

while (node->level < higher->level)

^~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:4277:10: warning: Access to field 'parent' results in a dereference of a null pointer (loaded from variable 'parent_of_lower') [core.NullDereference]

while (parent_of_lower->parent != parent_of_higher->parent)

^~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:4277:37: warning: Access to field 'parent' results in a dereference of a null pointer (loaded from variable 'parent_of_higher') [core.NullDereference]

while (parent_of_lower->parent != parent_of_higher->parent)

^~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:4433:10: warning: Access to field 'level' results in a dereference of a null pointer (loaded from variable 'node') [core.NullDereference]

while (node->level > 0)

^~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:5426:7: warning: Value stored to 'ld' is never read [deadcode.DeadStores]

ld = gtk_text_layout_wrap (view->layout, line, ld);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:5603:10: warning: Access to field 'level' results in a dereference of a null pointer (loaded from variable 'node1') [core.NullDereference]

while (node1->level < node2->level)

^~~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:5603:25: warning: Access to field 'level' results in a dereference of a null pointer (loaded from variable 'node2') [core.NullDereference]

while (node1->level < node2->level)

^~~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:5605:10: warning: Access to field 'level' results in a dereference of a null pointer (loaded from variable 'node2') [core.NullDereference]

while (node2->level < node1->level)

^~~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:5609:15: warning: Access to field 'parent' results in a dereference of a null pointer (loaded from variable 'node1') [core.NullDereference]

node1 = node1->parent;

^~~~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:5610:15: warning: Access to field 'parent' results in a dereference of a null pointer (loaded from variable 'node2') [core.NullDereference]

node2 = node2->parent;

^~~~~~~~~~~~~

../libs/tk/ytk/gtktextbtree.c:5968:22: warning: Access to field 'num_children' results in a dereference of a null pointer (loaded from variable 'node') [core.NullDereference]

node->num_children += line_count_delta;

~~~~ ^

20 warnings generated.

[ 577/1879] Compiling libs/ardour/record_safe_control.cc

[ 578/1879] Linking build/libs/zita-convolver/libzita-convolver.a

[ 579/1879] Compiling libs/ardour/linux_vst_support.cc

../libs/tk/ytk/gtktreeview.c:2268:23: warning: Access to field 'prev' results in a dereference of a null pointer (loaded from variable 'first_column') [core.NullDereference]

list != (rtl ? first_column->prev : last_column->next);

^~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreeview.c:2274:16: warning: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'list') [core.NullDereference]

column = list->data;

^~~~~~~~~~

../libs/tk/ytk/gtktreeview.c:4291:10: warning: Value stored to 'list' during its initialization is never read [deadcode.DeadStores]

GList *list = tree_view->priv->columns;

^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreeview.c:5709:58: warning: Access to field 'offset' results in a dereference of a null pointer (loaded from variable 'node') [core.NullDereference]

height = ROW_HEIGHT (tree_view, GTK_RBNODE_GET_HEIGHT (node));

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~

../libs/tk/ytk/ytk/gtkrbtree.h:108:40: note: expanded from macro 'GTK_RBNODE_GET_HEIGHT'

#define GTK_RBNODE_GET_HEIGHT(node) (node->offset-(node->left->offset+node->right->offset+(node->children?node->children->root->offset:0)))

^~~~

../libs/tk/ytk/gtktreeview.c:77:5: note: expanded from macro 'ROW_HEIGHT'

((height > 0) ? (height) : (tree_view)->priv->expander_size)

^~~~~~

../libs/tk/ytk/gtktreeview.c:6091:12: warning: Access to field 'parent_node' results in a dereference of a null pointer (loaded from variable 'tree') [core.NullDereference]

node = tree->parent_node;

^~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreeview.c:8787:11: warning: Access to field 'visible' results in a dereference of a null pointer (loaded from variable 'column') [core.NullDereference]

if (column->visible)

^~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreeview.c:8929:58: warning: Access to field 'offset' results in a dereference of a null pointer (loaded from variable 'node') [core.NullDereference]

height = ROW_HEIGHT (tree_view, GTK_RBNODE_GET_HEIGHT (node));

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~

../libs/tk/ytk/ytk/gtkrbtree.h:108:40: note: expanded from macro 'GTK_RBNODE_GET_HEIGHT'

#define GTK_RBNODE_GET_HEIGHT(node) (node->offset-(node->left->offset+node->right->offset+(node->children?node->children->root->offset:0)))

^~~~

../libs/tk/ytk/gtktreeview.c:77:5: note: expanded from macro 'ROW_HEIGHT'

((height > 0) ? (height) : (tree_view)->priv->expander_size)

^~~~~~

../libs/tk/ytk/gtktreeview.c:9324:35: warning: Access to field 'button' results in a dereference of a null pointer (loaded from field 'right_column') [core.NullDereference]

left = reorder->right_align = (reorder->right_column->button->allocation.x +

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreeview.c:9426:3: warning: Value stored to 'width' is never read [deadcode.DeadStores]

width = gdk_window_get_width (tree_view->priv->header_window);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreeview.c:9427:3: warning: Value stored to 'height' is never read [deadcode.DeadStores]

height = gdk_window_get_height (tree_view->priv->header_window);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreeview.c:9864:3: warning: Value stored to 'y' is never read [deadcode.DeadStores]

y -= tree_view->priv->cursor_offset;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreeview.c:10045:8: warning: Access to field 'children' results in a dereference of a null pointer (loaded from variable 'cursor_node') [core.NullDereference]

if (cursor_node->children == NULL)

^~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/gtktreeview.c:14527:3: warning: Value stored to 'len' is never read [deadcode.DeadStores]

len = strlen (text);

^ ~~~~~~~~~~~~~

13 warnings generated.

[ 580/1879] Compiling libs/ardour/directory_names.cc

[ 581/1879] Compiling libs/ardour/zeroconf.cc

[ 582/1879] Linking build/libs/tk/ytk/libytk.so

[ 583/1879] Linking build/libs/ardour/libavx512f_functions.a

[ 584/1879] Compiling libs/ardour/surround_pannable.cc

[ 585/1879] Compiling libs/ardour/rt_midibuffer.cc

[ 586/1879] Compiling libs/ardour/readonly_control.cc

[ 587/1879] Compiling libs/ardour/ticker.cc

[ 588/1879] Linking build/libs/tk/ydkmm/libydkmm.so

[ 589/1879] Compiling libs/ardour/sse_functions_64bit.s

[ 590/1879] Compiling libs/ardour/surround_send.cc

[ 591/1879] Compiling libs/ardour/thread_buffers.cc

[ 592/1879] Compiling libs/ardour/system_exec.cc

[ 593/1879] Compiling libs/ardour/strip_silence.cc

[ 594/1879] Compiling libs/ardour/lv2_plugin.cc

../libs/ardour/vst3_host.cc:93:7: warning: base class 'class Steinberg::Linux::IRunLoop' has accessible non-virtual destructor [-Wnon-virtual-dtor]

93 | class AVST3Runloop : public Linux::IRunLoop

| ^~~~~~~~~~~~

../libs/ardour/vst3_host.cc:93:7: warning: 'class AVST3Runloop' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]

../libs/ardour/vst3_host.cc:1235:3: warning: Value stored to 'n_bytes' is never read [deadcode.DeadStores]

n_bytes = 0;

^ ~

1 warning generated.

[ 595/1879] Linking build/libs/fluidsynth/liblibfluidsynth.a

[ 596/1879] Compiling libs/ardour/port_engine_shared.cc

[ 597/1879] Compiling libs/ardour/speakers.cc

[ 598/1879] Compiling libs/ardour/sp_stretch.cc

[ 599/1879] Compiling libs/ardour/source_factory.cc

[ 600/1879] Compiling libs/ardour/source.cc

[ 601/1879] Compiling libs/ardour/vst2_scan.cc

[ 602/1879] Compiling libs/ardour/polarity_processor.cc

[ 603/1879] Compiling libs/ardour/surround_return.cc

[ 604/1879] Compiling libs/ardour/solo_safe_control.cc

[ 605/1879] Compiling libs/ardour/plugin.cc

[ 606/1879] Compiling libs/ardour/solo_control.cc

../libs/ardour/session_process.cc:280:9: warning: Although the value stored to 'ret' is used in the enclosing expression, the value is never actually read from 'ret' [deadcode.DeadStores]

if ((ret = i->roll (nframes, start_sample, end_sample, b)) < 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 607/1879] Compiling libs/ardour/sndfilesource.cc

[ 608/1879] Compiling libs/ardour/sndfileimportable.cc

[ 609/1879] Compiling libs/ardour/smf_source.cc

[ 610/1879] Compiling libs/ardour/soundcloud_upload.cc

[ 611/1879] Compiling libs/ardour/playlist.cc

[ 612/1879] Compiling libs/ardour/playlist_factory.cc

[ 613/1879] Compiling libs/ardour/circular_buffer.cc

[ 614/1879] Compiling libs/ardour/slavable.cc

[ 615/1879] Compiling libs/ardour/default_click.cc

[ 616/1879] Compiling libs/ardour/sidechain.cc

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/ardour/surround_return.h:27,

from ../libs/ardour/surround_return.cc:29:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_begin(const LV2_Atom_Sequence_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:86:10: warning: cast from type 'const LV2_Atom_Sequence_Body*' to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

86 | return (LV2_Atom_Event*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_end(const LV2_Atom_Sequence_Body*, uint32_t)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:93:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

93 | return (LV2_Atom_Event*)((const uint8_t*)body + lv2_atom_pad_size(size));

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_next(const LV2_Atom_Event*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:109:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

109 | return (LV2_Atom_Event*)((const uint8_t*)i + sizeof(LV2_Atom_Event) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

110 | lv2_atom_pad_size(i->body.size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/ardour/surround_return.h:26,

from ../libs/ardour/surround_return.cc:29:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_begin(const LV2_Atom_Tuple*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:90:48: warning: cast from type 'const LV2_Atom_Tuple*' to type 'uint8_t*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual]

90 | #define LV2_ATOM_CONTENTS(type, atom) ((void*)((uint8_t*)(atom) + sizeof(type)))

| ^~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:102:29: note: in expansion of macro 'LV2_ATOM_CONTENTS'

102 | #define LV2_ATOM_BODY(atom) LV2_ATOM_CONTENTS(LV2_Atom, atom)

| ^~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:194:22: note: in expansion of macro 'LV2_ATOM_BODY'

194 | return (LV2_Atom*)(LV2_ATOM_BODY(tup));

| ^~~~~~~~~~~~~

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/ardour/surround_return.h:27,

from ../libs/ardour/surround_return.cc:29:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_next(const LV2_Atom*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:208:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom*' casts away qualifiers [-Wcast-qual]

208 | return (LV2_Atom*)((const uint8_t*)i + sizeof(LV2_Atom) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

209 | lv2_atom_pad_size(i->size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_begin(const LV2_Atom_Object_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:248:10: warning: cast from type 'const LV2_Atom_Object_Body*' to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

248 | return (LV2_Atom_Property_Body*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_next(const LV2_Atom_Property_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:266:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

266 | return (LV2_Atom_Property_Body*)((const uint8_t*)i +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

267 | lv2_atom_pad_size(

| ~~~~~~~~~~~~~~~~~~

268 | (uint32_t)sizeof(LV2_Atom_Property_Body) +

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

269 | value->size));

| ~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_query(const LV2_Atom_Object*, LV2_Atom_Object_Query*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:349:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

349 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_body_get(uint32_t, const LV2_Atom_Object_Body*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:293:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

293 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:383:3: note: in expansion of macro 'LV2_ATOM_OBJECT_BODY_FOREACH'

383 | LV2_ATOM_OBJECT_BODY_FOREACH (body, size, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:438:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

438 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get_typed(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:494:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

494 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/surround_return.cc:29:

In file included from ../libs/ardour/ardour/surround_return.h:27:

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:59:39: warning: Access to field 'size' results in a dereference of a null pointer (loaded from variable 'atom') [core.NullDereference]

return (uint32_t)sizeof(LV2_Atom) + atom->size;

^~~~~~~~~~

1 warning generated.

[ 617/1879] Compiling libs/ardour/session_time.cc

[ 618/1879] Compiling libs/ardour/session_state_utils.cc

[ 619/1879] Compiling libs/ardour/operations.cc

[ 620/1879] Compiling libs/ardour/session_transport.cc

[ 621/1879] Compiling libs/ardour/slavable_automation_control.cc

[ 622/1879] Compiling libs/ardour/session_state.cc

[ 623/1879] Compiling libs/ardour/muteable.cc

[ 624/1879] Compiling libs/ardour/session_object.cc

[ 625/1879] Compiling libs/ardour/session_midi.cc

[ 626/1879] Compiling libs/ardour/session_metadata.cc

[ 627/1879] Compiling libs/ardour/mp3fileimportable.cc

[ 628/1879] Compiling libs/ardour/session_handle.cc

[ 629/1879] Compiling libs/ardour/session_export.cc

[ 630/1879] Compiling libs/ardour/session_events.cc

[ 631/1879] Compiling libs/ardour/session_rtevents.cc

[ 632/1879] Compiling libs/ardour/session_configuration.cc

[ 633/1879] Compiling libs/ardour/session_command.cc

../libs/ardour/smf_source.cc:402:9: warning: Although the value stored to 'ret' is used in the enclosing expression, the value is never actually read from 'ret' [deadcode.DeadStores]

if (!(ret = source.peek ((uint8_t*)&time, sizeof (time)))) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/ardour/smf_source.cc:417:9: warning: Although the value stored to 'ret' is used in the enclosing expression, the value is never actually read from 'ret' [deadcode.DeadStores]

if (!(ret = source.read_prefix (&time, &type, &size))) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[ 634/1879] Compiling libs/ardour/session_click.cc

[ 635/1879] Compiling libs/ardour/session_butler.cc

[ 636/1879] Compiling libs/ardour/minibpm.cc

[ 637/1879] Compiling libs/ardour/session_bundles.cc

[ 638/1879] Compiling libs/ardour/session.cc

[ 639/1879] Compiling libs/ardour/send.cc

[ 640/1879] Compiling libs/ardour/midi_track.cc

[ 641/1879] Compiling libs/ardour/search_paths.cc

[ 642/1879] Compiling libs/ardour/segment_descriptor.cc

[ 643/1879] Compiling libs/ardour/scene_change.cc

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/ardour/surround_return.h:27,

from ../libs/ardour/luabindings.cc:105:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_begin(const LV2_Atom_Sequence_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:86:10: warning: cast from type 'const LV2_Atom_Sequence_Body*' to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

86 | return (LV2_Atom_Event*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_end(const LV2_Atom_Sequence_Body*, uint32_t)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:93:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

93 | return (LV2_Atom_Event*)((const uint8_t*)body + lv2_atom_pad_size(size));

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_next(const LV2_Atom_Event*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:109:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

109 | return (LV2_Atom_Event*)((const uint8_t*)i + sizeof(LV2_Atom_Event) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

110 | lv2_atom_pad_size(i->body.size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/ardour/surround_return.h:26,

from ../libs/ardour/luabindings.cc:105:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_begin(const LV2_Atom_Tuple*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:90:48: warning: cast from type 'const LV2_Atom_Tuple*' to type 'uint8_t*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual]

90 | #define LV2_ATOM_CONTENTS(type, atom) ((void*)((uint8_t*)(atom) + sizeof(type)))

| ^~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:102:29: note: in expansion of macro 'LV2_ATOM_CONTENTS'

102 | #define LV2_ATOM_BODY(atom) LV2_ATOM_CONTENTS(LV2_Atom, atom)

| ^~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:194:22: note: in expansion of macro 'LV2_ATOM_BODY'

194 | return (LV2_Atom*)(LV2_ATOM_BODY(tup));

| ^~~~~~~~~~~~~

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/ardour/surround_return.h:27,

from ../libs/ardour/luabindings.cc:105:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_next(const LV2_Atom*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:208:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom*' casts away qualifiers [-Wcast-qual]

208 | return (LV2_Atom*)((const uint8_t*)i + sizeof(LV2_Atom) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

209 | lv2_atom_pad_size(i->size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_begin(const LV2_Atom_Object_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:248:10: warning: cast from type 'const LV2_Atom_Object_Body*' to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

248 | return (LV2_Atom_Property_Body*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_next(const LV2_Atom_Property_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:266:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

266 | return (LV2_Atom_Property_Body*)((const uint8_t*)i +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

267 | lv2_atom_pad_size(

| ~~~~~~~~~~~~~~~~~~

268 | (uint32_t)sizeof(LV2_Atom_Property_Body) +

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

269 | value->size));

| ~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_query(const LV2_Atom_Object*, LV2_Atom_Object_Query*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:349:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

349 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_body_get(uint32_t, const LV2_Atom_Object_Body*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:293:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

293 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:383:3: note: in expansion of macro 'LV2_ATOM_OBJECT_BODY_FOREACH'

383 | LV2_ATOM_OBJECT_BODY_FOREACH (body, size, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:438:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

438 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get_typed(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:494:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

494 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/luabindings.cc:115:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/luabindings.cc:115:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[ 644/1879] Compiling libs/ardour/midi_scene_changer.cc

[ 645/1879] Compiling libs/ardour/rt_task.cc

[ 646/1879] Compiling libs/ardour/rb_effect.cc

[ 647/1879] Linking build/libs/ardour/libluabindings.a

[ 648/1879] Compiling libs/ardour/convolver.cc

[ 649/1879] Compiling libs/ardour/solo_mute_release.cc

[ 650/1879] Compiling libs/ardour/port_insert.cc

[ 651/1879] Compiling libs/ardour/processor.cc

[ 652/1879] Compiling libs/ardour/midi_clock_slave.cc

[ 653/1879] Compiling libs/ardour/route.cc

In file included from ../libs/evoral/evoral/Note.h:25,

from ../libs/evoral/evoral/Sequence.h:36,

from ../libs/ardour/ardour/automatable_sequence.h:22,

from ../libs/ardour/ardour/midi_model.h:37,

from ../libs/ardour/ardour/triggerbox.h:49,

from ../libs/ardour/ardour/session.h:96,

from ../libs/ardour/vst3_plugin.cc:47:

../libs/ardour/vst3_plugin.cc: In member function 'void Steinberg::VST3PI::enable_io(const std::vector<bool>&, const std::vector<bool>&, bool)':

../libs/ardour/vst3_plugin.cc:2395:31: warning: comparison of integer expressions of different signedness: 'std::map<int, Steinberg::VST3PI::AudioBusInfo>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]

2395 | assert (_bus_info_in.size () == _n_bus_in);

| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~

../libs/ardour/vst3_plugin.cc:2396:32: warning: comparison of integer expressions of different signedness: 'std::map<int, Steinberg::VST3PI::AudioBusInfo>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]

2396 | assert (_bus_info_out.size () == _n_bus_out);

| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~

../libs/ardour/vst3_plugin.cc:2517:30: warning: Dereference of null pointer [core.NullDereference]

inputs[i].silenceFlags = 0;

~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~

../libs/ardour/vst3_plugin.cc:2524:31: warning: Dereference of null pointer [core.NullDereference]

outputs[i].silenceFlags = 0;

~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~

2 warnings generated.

[ 654/1879] Compiling libs/ardour/automation_list.cc

[ 655/1879] Compiling libs/ardour/resampled_source.cc

[ 656/1879] Compiling libs/ardour/region_fx_plugin.cc

[ 657/1879] Compiling libs/ardour/region_factory.cc

[ 658/1879] Compiling libs/ardour/lua_api.cc

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/lv2_plugin.cc:100:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_begin(const LV2_Atom_Sequence_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:86:10: warning: cast from type 'const LV2_Atom_Sequence_Body*' to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

86 | return (LV2_Atom_Event*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_end(const LV2_Atom_Sequence_Body*, uint32_t)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:93:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

93 | return (LV2_Atom_Event*)((const uint8_t*)body + lv2_atom_pad_size(size));

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_next(const LV2_Atom_Event*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:109:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

109 | return (LV2_Atom_Event*)((const uint8_t*)i + sizeof(LV2_Atom_Event) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

110 | lv2_atom_pad_size(i->body.size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/lv2_plugin.cc:99:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_begin(const LV2_Atom_Tuple*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:90:48: warning: cast from type 'const LV2_Atom_Tuple*' to type 'uint8_t*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual]

90 | #define LV2_ATOM_CONTENTS(type, atom) ((void*)((uint8_t*)(atom) + sizeof(type)))

| ^~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:102:29: note: in expansion of macro 'LV2_ATOM_CONTENTS'

102 | #define LV2_ATOM_BODY(atom) LV2_ATOM_CONTENTS(LV2_Atom, atom)

| ^~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:194:22: note: in expansion of macro 'LV2_ATOM_BODY'

194 | return (LV2_Atom*)(LV2_ATOM_BODY(tup));

| ^~~~~~~~~~~~~

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/lv2_plugin.cc:100:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_next(const LV2_Atom*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:208:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom*' casts away qualifiers [-Wcast-qual]

208 | return (LV2_Atom*)((const uint8_t*)i + sizeof(LV2_Atom) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

209 | lv2_atom_pad_size(i->size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_begin(const LV2_Atom_Object_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:248:10: warning: cast from type 'const LV2_Atom_Object_Body*' to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

248 | return (LV2_Atom_Property_Body*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_next(const LV2_Atom_Property_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:266:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

266 | return (LV2_Atom_Property_Body*)((const uint8_t*)i +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

267 | lv2_atom_pad_size(

| ~~~~~~~~~~~~~~~~~~

268 | (uint32_t)sizeof(LV2_Atom_Property_Body) +

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

269 | value->size));

| ~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_query(const LV2_Atom_Object*, LV2_Atom_Object_Query*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:349:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

349 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_body_get(uint32_t, const LV2_Atom_Object_Body*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:293:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

293 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:383:3: note: in expansion of macro 'LV2_ATOM_OBJECT_BODY_FOREACH'

383 | LV2_ATOM_OBJECT_BODY_FOREACH (body, size, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:438:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

438 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get_typed(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:494:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

494 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

[ 659/1879] Compiling libs/ardour/reverse.cc

[ 660/1879] Compiling libs/ardour/recent_sessions.cc

[ 661/1879] Compiling libs/ardour/raw_midi_parser.cc

[ 662/1879] Compiling libs/ardour/return.cc

[ 663/1879] Compiling libs/ardour/readable.cc

[ 664/1879] Compiling libs/ardour/record_enable_control.cc

[ 665/1879] Compiling libs/ardour/quantize.cc

[ 666/1879] Compiling libs/ardour/track.cc

[ 667/1879] Compiling libs/ardour/presentation_info.cc

../libs/ardour/processor.cc:227:9: warning: Although the value stored to 'prop' is used in the enclosing expression, the value is never actually read from 'prop' [deadcode.DeadStores]

if ((prop = (*niter)->property ("path")) != 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 668/1879] Compiling libs/ardour/region.cc

[ 669/1879] Compiling libs/ardour/kmeterdsp.cc

[ 670/1879] Compiling libs/ardour/port_manager.cc

[ 671/1879] Compiling libs/ardour/utils.cc

[ 672/1879] Compiling libs/ardour/process_thread.cc

[ 673/1879] Compiling libs/ardour/io.cc

[ 674/1879] Compiling libs/ardour/port.cc

[ 675/1879] Compiling libs/ardour/import_pt.cc

[ 676/1879] Compiling libs/ardour/rc_configuration.cc

[ 677/1879] Compiling libs/ardour/plugin_scan_result.cc

../libs/ardour/utils.cc:737:11: warning: Value stored to 'num_threads' during its initialization is never read [deadcode.DeadStores]

uint32_t num_threads = max (num_cpu - 2, 2);

^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 678/1879] Compiling libs/ardour/plugin_manager.cc

../libs/ardour/triggerbox.cc:1155:2: warning: #warning when Global Quantize is implemented, use that instead of '1 bar' here [-Wcpp]

1155 | #warning when Global Quantize is implemented, use that instead of '1 bar' here

| ^~~~~~~

../libs/ardour/triggerbox.cc:3276:2: warning: #warning paul, please remove these debug messages [-Wcpp]

3276 | #warning paul, please remove these debug messages

| ^~~~~~~

In file included from ../libs/ardour/triggerbox.cc:32:

../libs/pbd/pbd/compose.h:122:3: warning: 1st function call argument is an uninitialized value [core.CallAndMessage]

os << obj;

^~~~~~~~~

../libs/ardour/triggerbox.cc:319:10: warning: Called C++ object pointer is null [core.CallAndMessage]

chns = dynamic_cast<AudioTrack*> (trk)->input()->n_ports().n_audio();

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/ardour/triggerbox.cc:975:10: warning: Although the value stored to 'x' is used in the enclosing expression, the value is never actually read from 'x' [deadcode.DeadStores]

while ((x = _bang.load ())) {

^ ~~~~~~~~~~~~~

../libs/ardour/triggerbox.cc:1023:10: warning: Although the value stored to 'x' is used in the enclosing expression, the value is never actually read from 'x' [deadcode.DeadStores]

while ((x = _unbang.load ())) {

^ ~~~~~~~~~~~~~~~

../libs/ardour/triggerbox.cc:3748:20: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

ai->start_samples = t_samples;

^ ~~~~~~~~~

../libs/ardour/triggerbox.cc:3832:20: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

ai->end_samples = t_samples;

^ ~~~~~~~~~

../libs/ardour/triggerbox.cc:4038:14: warning: Value stored to 'pos' during its initialization is never read [deadcode.DeadStores]

samplepos_t pos = c->time;

^~~ ~~~~~~~

7 warnings generated.

[ 679/1879] Compiling libs/ardour/plugin_insert.cc

[ 680/1879] Compiling libs/ardour/thawlist.cc

[ 681/1879] Compiling libs/ardour/playlist_source.cc

[ 682/1879] Compiling libs/ardour/plug_insert_base.cc

../libs/ardour/midi_track.cc:772:4: warning: Value stored to 'size' is never read [deadcode.DeadStores]

size = 0;

^ ~

1 warning generated.

[ 683/1879] Compiling libs/ardour/gain_control.cc

[ 684/1879] Compiling libs/ardour/phase_control.cc

[ 685/1879] Compiling libs/ardour/parameter_descriptor.cc

[ 686/1879] Compiling libs/ardour/panner_shell.cc

[ 687/1879] Compiling libs/ardour/panner_manager.cc

../libs/ardour/import_pt.cc:163:3: warning: Value stored to 'ok' is never read [deadcode.DeadStores]

ok = true;

^ ~~~~

1 warning generated.

[ 688/1879] Compiling libs/ardour/filter.cc

In file included from ../libs/ardour/lua_api.cc:44:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/lua_api.cc:44:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

../libs/ardour/lua_api.cc:676:5: warning: Dereference of null pointer (loaded from variable 'p') [core.NullDereference]

*p = 0;

~ ^

3 warnings generated.

[ 689/1879] Compiling libs/ardour/panner.cc

[ 690/1879] Compiling libs/ardour/pannable.cc

[ 691/1879] Compiling libs/ardour/pan_controllable.cc

[ 692/1879] Compiling libs/ardour/ffmpegfilesource.cc

[ 693/1879] Compiling libs/ardour/onset_detector.cc

[ 694/1879] Compiling libs/ardour/mute_master.cc

[ 695/1879] Compiling libs/ardour/mute_control.cc

[ 696/1879] Compiling libs/ardour/mtdm.cc

[ 697/1879] Compiling libs/ardour/mtc_slave.cc

[ 698/1879] Compiling libs/ardour/mp3filesource.cc

[ 699/1879] Compiling libs/ardour/export_graph_builder.cc

[ 700/1879] Compiling libs/ardour/port_set.cc

[ 701/1879] Compiling libs/ardour/monitor_processor.cc

[ 702/1879] Compiling libs/ardour/monitor_return.cc

[ 703/1879] Compiling libs/ardour/monitor_control.cc

[ 704/1879] Compiling libs/ardour/export_format_base.cc

[ 705/1879] Compiling libs/ardour/mode.cc

[ 706/1879] Compiling libs/ardour/mixer_scene.cc

[ 707/1879] Compiling libs/ardour/mix.cc

In file included from ../libs/ardour/session_state.cc:151:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/session_state.cc:151:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

../libs/ardour/session_state.cc:2352:7: warning: Although the value stored to 'child' is used in the enclosing expression, the value is never actually read from 'child' [deadcode.DeadStores]

if ((child = find_named_node (node, "Click")) == 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/ardour/session_state.cc:2828:7: warning: Although the value stored to 'prop' is used in the enclosing expression, the value is never actually read from 'prop' [deadcode.DeadStores]

if ((prop = node.property ("name")) == 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~

../libs/ardour/session_state.cc:2940:7: warning: Although the value stored to 'prop' is used in the enclosing expression, the value is never actually read from 'prop' [deadcode.DeadStores]

if ((prop = node.property ("name")) == 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~

5 warnings generated.

[ 708/1879] Compiling libs/ardour/export_channel.cc

[ 709/1879] Compiling libs/ardour/midiport_manager.cc

[ 710/1879] Compiling libs/ardour/mididm.cc

[ 711/1879] Compiling libs/ardour/midi_ui.cc

[ 712/1879] Compiling libs/ardour/midi_stretch.cc

[ 713/1879] Compiling libs/ardour/midi_state_tracker.cc

[ 714/1879] Compiling libs/ardour/midi_source.cc

[ 715/1879] Compiling libs/ardour/meter.cc

[ 716/1879] Compiling libs/ardour/midi_scene_change.cc

../libs/ardour/io.cc:784:15: warning: Although the value stored to 'prop' is used in the enclosing expression, the value is never actually read from 'prop' [deadcode.DeadStores]

} else if ((prop = node.property ("input-connection")) != 0 && _direction == Input) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/ardour/io.cc:788:15: warning: Although the value stored to 'prop' is used in the enclosing expression, the value is never actually read from 'prop' [deadcode.DeadStores]

} else if ((prop = node.property ("output-connection")) != 0 && _direction == Output) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[ 717/1879] Compiling libs/ardour/midi_region.cc

[ 718/1879] Compiling libs/ardour/midi_port.cc

[ 719/1879] Compiling libs/ardour/midi_playlist.cc

[ 720/1879] Compiling libs/ardour/midi_patch_manager.cc

[ 721/1879] Compiling libs/ardour/midi_model.cc

[ 722/1879] Compiling libs/ardour/midi_channel_filter.cc

[ 723/1879] Compiling libs/ardour/midi_buffer.cc

[ 724/1879] Compiling libs/ardour/lufs_meter.cc

[ 725/1879] Compiling libs/ardour/midi_automation_list_binder.cc

[ 726/1879] Compiling libs/ardour/luascripting.cc

[ 727/1879] Compiling libs/ardour/luaproc.cc

[ 728/1879] Compiling libs/ardour/midi_ring_buffer.cc

[ 729/1879] Compiling libs/ardour/ltc_slave.cc

[ 730/1879] Compiling libs/ardour/ltc_file_reader.cc

[ 731/1879] Compiling libs/ardour/location.cc

[ 732/1879] Compiling libs/ardour/library.cc

[ 733/1879] Compiling libs/ardour/legatize.cc

[ 734/1879] Compiling libs/ardour/latent.cc

In file included from ../libs/ardour/export_graph_builder.cc:38:

../libs/audiographer/audiographer/process_context.h:115:47: warning: Division by zero [core.DivideZero]

if (throw_level (ThrowProcess) && (_samples % _channels != 0)) {

~~~~~~~~~^~~~~~~~~~~

1 warning generated.

[ 735/1879] Compiling libs/ardour/ladspa_plugin.cc

[ 736/1879] Compiling libs/ardour/io_tasklist.cc

[ 737/1879] Compiling libs/ardour/io_processor.cc

[ 738/1879] Compiling libs/ardour/monitor_port.cc

[ 739/1879] Compiling libs/ardour/internal_send.cc

[ 740/1879] Compiling libs/ardour/internal_return.cc

[ 741/1879] Compiling libs/ardour/instrument_info.cc

[ 742/1879] Compiling libs/ardour/import.cc

[ 743/1879] Compiling libs/ardour/iec2ppmdsp.cc

[ 744/1879] Compiling libs/ardour/iec1ppmdsp.cc

[ 745/1879] Compiling libs/ardour/graph_edges.cc

[ 746/1879] Compiling libs/ardour/io_plug.cc

In file included from ../libs/ardour/luascripting.cc:33:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/luascripting.cc:33:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[ 747/1879] Compiling libs/ardour/graph.cc

[ 748/1879] Compiling libs/ardour/globals.cc

[ 749/1879] Compiling libs/ardour/fluid_synth.cc

[ 750/1879] Compiling libs/ardour/fixed_delay.cc

[ 751/1879] Compiling libs/ardour/find_session.cc

[ 752/1879] Compiling libs/ardour/filesystem_paths.cc

[ 753/1879] Compiling libs/ardour/filename_extensions.cc

../libs/ardour/io_processor.cc:188:9: warning: Although the value stored to 'prop' is used in the enclosing expression, the value is never actually read from 'prop' [deadcode.DeadStores]

if ((prop = node.property ("name")) == 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~

../libs/ardour/io_processor.cc:214:9: warning: Although the value stored to 'prop' is used in the enclosing expression, the value is never actually read from 'prop' [deadcode.DeadStores]

if ((prop = node.property ("name")) == 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[ 754/1879] Compiling libs/ardour/file_source.cc

[ 755/1879] Compiling libs/ardour/ffmpegfileimportable.cc

[ 756/1879] Compiling libs/ardour/export_timespan.cc

[ 757/1879] Compiling libs/ardour/export_status.cc

[ 758/1879] Compiling libs/ardour/export_smf_writer.cc

[ 759/1879] Compiling libs/ardour/export_profile_manager.cc

../libs/ardour/playlist.cc:2505:2: warning: Value stored to 'time_domain' is never read [deadcode.DeadStores]

time_domain = regions.front()->position().time_domain();

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 760/1879] Compiling libs/ardour/export_preset.cc

[ 761/1879] Compiling libs/ardour/export_handler.cc

[ 762/1879] Compiling libs/ardour/export_formats.cc

[ 763/1879] Compiling libs/ardour/export_format_specification.cc

[ 764/1879] Compiling libs/ardour/export_format_manager.cc

../libs/ardour/import.cc:526:10: warning: Potential leak of memory pointed to by 'buf' [unix.Malloc]

return false;

^~~~~

1 warning generated.

[ 765/1879] Compiling libs/ardour/export_filename.cc

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/ardour/surround_return.h:27,

from ../libs/ardour/route.cc:98:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_begin(const LV2_Atom_Sequence_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:86:10: warning: cast from type 'const LV2_Atom_Sequence_Body*' to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

86 | return (LV2_Atom_Event*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_end(const LV2_Atom_Sequence_Body*, uint32_t)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:93:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

93 | return (LV2_Atom_Event*)((const uint8_t*)body + lv2_atom_pad_size(size));

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_next(const LV2_Atom_Event*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:109:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

109 | return (LV2_Atom_Event*)((const uint8_t*)i + sizeof(LV2_Atom_Event) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

110 | lv2_atom_pad_size(i->body.size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/ardour/surround_return.h:26,

from ../libs/ardour/route.cc:98:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_begin(const LV2_Atom_Tuple*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:90:48: warning: cast from type 'const LV2_Atom_Tuple*' to type 'uint8_t*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual]

90 | #define LV2_ATOM_CONTENTS(type, atom) ((void*)((uint8_t*)(atom) + sizeof(type)))

| ^~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:102:29: note: in expansion of macro 'LV2_ATOM_CONTENTS'

102 | #define LV2_ATOM_BODY(atom) LV2_ATOM_CONTENTS(LV2_Atom, atom)

| ^~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:194:22: note: in expansion of macro 'LV2_ATOM_BODY'

194 | return (LV2_Atom*)(LV2_ATOM_BODY(tup));

| ^~~~~~~~~~~~~

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/ardour/surround_return.h:27,

from ../libs/ardour/route.cc:98:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_next(const LV2_Atom*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:208:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom*' casts away qualifiers [-Wcast-qual]

208 | return (LV2_Atom*)((const uint8_t*)i + sizeof(LV2_Atom) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

209 | lv2_atom_pad_size(i->size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_begin(const LV2_Atom_Object_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:248:10: warning: cast from type 'const LV2_Atom_Object_Body*' to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

248 | return (LV2_Atom_Property_Body*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_next(const LV2_Atom_Property_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:266:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

266 | return (LV2_Atom_Property_Body*)((const uint8_t*)i +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

267 | lv2_atom_pad_size(

| ~~~~~~~~~~~~~~~~~~

268 | (uint32_t)sizeof(LV2_Atom_Property_Body) +

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

269 | value->size));

| ~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_query(const LV2_Atom_Object*, LV2_Atom_Object_Query*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:349:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

349 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_body_get(uint32_t, const LV2_Atom_Object_Body*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:293:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

293 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:383:3: note: in expansion of macro 'LV2_ATOM_OBJECT_BODY_FOREACH'

383 | LV2_ATOM_OBJECT_BODY_FOREACH (body, size, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:438:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

438 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get_typed(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:494:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

494 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

[ 766/1879] Compiling libs/ardour/export_failed.cc

In file included from ../libs/ardour/globals.cc:97:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/globals.cc:97:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[ 767/1879] Compiling libs/ardour/export_channel_configuration.cc

In file included from ../libs/ardour/luaproc.cc:39:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/luaproc.cc:39:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[ 768/1879] Compiling libs/ardour/srcfilesource.cc

[ 769/1879] Compiling libs/ardour/stripable.cc

[ 770/1879] Compiling libs/ardour/audioregion.cc

[ 771/1879] Compiling libs/ardour/automation_control.cc

[ 772/1879] Compiling libs/ardour/auditioner.cc

[ 773/1879] Compiling libs/ardour/audiofile_tagger.cc

[ 774/1879] Compiling libs/ardour/solo_isolate_control.cc

[ 775/1879] Compiling libs/ardour/audiosource.cc

[ 776/1879] Compiling libs/ardour/graphnode.cc

In file included from ../libs/ardour/ardour/audiofile_tagger.h:25,

from ../libs/ardour/audiofile_tagger.cc:21:

/home/ardour/linux-x86_64/gtk/inst/include/taglib/infotag.h:60:25: warning: 'class TagLib::RIFF::Info::StringHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]

60 | class TAGLIB_EXPORT StringHandler

| ^~~~~~~~~~~~~

In file included from ../libs/ardour/audiofile_tagger.cc:27:

/home/ardour/linux-x86_64/gtk/inst/include/taglib/fileref.h:92:25: warning: 'class TagLib::FileRef::FileTypeResolver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]

92 | class TAGLIB_EXPORT FileTypeResolver

| ^~~~~~~~~~~~~~~~

[ 777/1879] Compiling libs/ardour/audioengine.cc

[ 778/1879] Compiling libs/ardour/audio_track.cc

[ 779/1879] Compiling libs/ardour/audioanalyser.cc

../libs/ardour/ffmpegfileimportable.cc:242:4: warning: 1st function call argument is an uninitialized value [core.CallAndMessage]

memcpy (wv.buf[i], cur, cnt * sizeof (float));

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 780/1879] Compiling libs/ardour/sndfile_helpers.cc

[ 781/1879] Compiling libs/ardour/audio_library.cc

../libs/ardour/export_filename.cc:254:3: warning: Value stored to 'filename_empty' is never read [deadcode.DeadStores]

filename_empty = false;

^ ~~~~~

1 warning generated.

[ 782/1879] Compiling libs/ardour/automatable.cc

[ 783/1879] Compiling libs/ardour/revision.cc

[ 784/1879] Compiling libs/ardour/audio_playlist.cc

[ 785/1879] Compiling libs/ardour/simple_export.cc

[ 786/1879] Compiling libs/ardour/async_midi_port.cc

[ 787/1879] Compiling libs/ardour/audio_buffer.cc

[ 788/1879] Compiling libs/ardour/analyser.cc

[ 789/1879] Compiling libs/ardour/analysis_graph.cc

[ 790/1879] Compiling libs/ardour/session_ltc.cc

[ 791/1879] Compiling libs/ardour/amp.cc

[ 792/1879] Compiling libs/ardour/session_playlists.cc

[ 793/1879] Compiling libs/ardour/audio_backend.cc

[ 794/1879] Compiling libs/ardour/capturing_processor.cc

[ 795/1879] Compiling libs/ardour/route_group_member.cc

[ 796/1879] Compiling libs/ardour/element_import_handler.cc

[ 797/1879] Compiling libs/ardour/vst_plugin.cc

[ 798/1879] Compiling libs/ardour/uri_map.cc

[ 799/1879] Compiling libs/ardour/lv2_evbuf.cc

[ 800/1879] Compiling libs/ardour/disk_writer.cc

[ 801/1879] Compiling libs/ardour/event_type_map.cc

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/ardour/surround_return.h:27,

from ../libs/ardour/session.cc:125:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_begin(const LV2_Atom_Sequence_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:86:10: warning: cast from type 'const LV2_Atom_Sequence_Body*' to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

86 | return (LV2_Atom_Event*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_end(const LV2_Atom_Sequence_Body*, uint32_t)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:93:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

93 | return (LV2_Atom_Event*)((const uint8_t*)body + lv2_atom_pad_size(size));

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_next(const LV2_Atom_Event*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:109:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

109 | return (LV2_Atom_Event*)((const uint8_t*)i + sizeof(LV2_Atom_Event) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

110 | lv2_atom_pad_size(i->body.size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/ardour/surround_return.h:26,

from ../libs/ardour/session.cc:125:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_begin(const LV2_Atom_Tuple*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:90:48: warning: cast from type 'const LV2_Atom_Tuple*' to type 'uint8_t*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual]

90 | #define LV2_ATOM_CONTENTS(type, atom) ((void*)((uint8_t*)(atom) + sizeof(type)))

| ^~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:102:29: note: in expansion of macro 'LV2_ATOM_CONTENTS'

102 | #define LV2_ATOM_BODY(atom) LV2_ATOM_CONTENTS(LV2_Atom, atom)

| ^~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:194:22: note: in expansion of macro 'LV2_ATOM_BODY'

194 | return (LV2_Atom*)(LV2_ATOM_BODY(tup));

| ^~~~~~~~~~~~~

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/ardour/surround_return.h:27,

from ../libs/ardour/session.cc:125:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_next(const LV2_Atom*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:208:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom*' casts away qualifiers [-Wcast-qual]

208 | return (LV2_Atom*)((const uint8_t*)i + sizeof(LV2_Atom) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

209 | lv2_atom_pad_size(i->size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_begin(const LV2_Atom_Object_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:248:10: warning: cast from type 'const LV2_Atom_Object_Body*' to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

248 | return (LV2_Atom_Property_Body*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_next(const LV2_Atom_Property_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:266:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

266 | return (LV2_Atom_Property_Body*)((const uint8_t*)i +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

267 | lv2_atom_pad_size(

| ~~~~~~~~~~~~~~~~~~

268 | (uint32_t)sizeof(LV2_Atom_Property_Body) +

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

269 | value->size));

| ~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_query(const LV2_Atom_Object*, LV2_Atom_Object_Query*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:349:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

349 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_body_get(uint32_t, const LV2_Atom_Object_Body*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:293:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

293 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:383:3: note: in expansion of macro 'LV2_ATOM_OBJECT_BODY_FOREACH'

383 | LV2_ATOM_OBJECT_BODY_FOREACH (body, size, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:438:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

438 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get_typed(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:494:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

494 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/session.cc:147:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/session.cc:147:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[ 802/1879] Compiling libs/ardour/audio_port.cc

[ 803/1879] Compiling libs/ardour/vst3_scan.cc

[ 804/1879] Compiling libs/ardour/template_utils.cc

[ 805/1879] Compiling libs/ardour/vst3_module.cc

[ 806/1879] Compiling libs/ardour/session_directory.cc

[ 807/1879] Compiling libs/ardour/engine_slave.cc

../libs/ardour/audiosource.cc:786:5: warning: Value stored to 'to_read' is never read [deadcode.DeadStores]

to_read = min (chunksize, (samplecnt_t)(_length.samples() - current_sample));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[ 808/1879] Compiling libs/ardour/unknown_processor.cc

[ 809/1879] Compiling libs/ardour/lxvst_plugin.cc

[ 810/1879] Compiling libs/ardour/enums.cc

[ 811/1879] Compiling libs/ardour/strum.cc

[ 812/1879] Compiling libs/ardour/ebur128_analysis.cc

[ 813/1879] Compiling libs/ardour/delivery.cc

[ 814/1879] Compiling libs/ardour/disk_io.cc

In file included from ../libs/vst3/pluginterfaces/base/ipluginbase.h:19,

from ../libs/ardour/vst3_module.cc:39:

../libs/vst3/pluginterfaces/base/funknown.h:353:7: warning: 'class Steinberg::FUnknown' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]

353 | class FUnknown

| ^~~~~~~~

In file included from ../libs/ardour/vst3_module.cc:39:

../libs/vst3/pluginterfaces/base/ipluginbase.h:36:7: warning: base class 'class Steinberg::FUnknown' has accessible non-virtual destructor [-Wnon-virtual-dtor]

36 | class IPluginBase: public FUnknown

| ^~~~~~~~~~~

../libs/vst3/pluginterfaces/base/ipluginbase.h:36:7: warning: 'class Steinberg::IPluginBase' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]

In file included from ../libs/ardour/vst3_module.cc:39:

../libs/vst3/pluginterfaces/base/ipluginbase.h:162:7: warning: base class 'class Steinberg::FUnknown' has accessible non-virtual destructor [-Wnon-virtual-dtor]

162 | class IPluginFactory : public FUnknown

| ^~~~~~~~~~~~~~

../libs/vst3/pluginterfaces/base/ipluginbase.h:162:7: warning: 'class Steinberg::IPluginFactory' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]

../libs/vst3/pluginterfaces/base/ipluginbase.h:260:7: warning: base class 'class Steinberg::IPluginFactory' has accessible non-virtual destructor [-Wnon-virtual-dtor]

260 | class IPluginFactory2 : public IPluginFactory

| ^~~~~~~~~~~~~~~

../libs/vst3/pluginterfaces/base/ipluginbase.h:260:7: warning: 'class Steinberg::IPluginFactory2' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]

../libs/vst3/pluginterfaces/base/ipluginbase.h:359:7: warning: base class 'class Steinberg::IPluginFactory2' has accessible non-virtual destructor [-Wnon-virtual-dtor]

359 | class IPluginFactory3 : public IPluginFactory2

| ^~~~~~~~~~~~~~~

../libs/vst3/pluginterfaces/base/ipluginbase.h:359:7: warning: 'class Steinberg::IPluginFactory3' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]

[ 815/1879] Compiling libs/ardour/route_group.cc

[ 816/1879] Compiling libs/ardour/dsp_filter.cc

In file included from ../libs/ardour/ardour/audiofile_tagger.h:25,

from ../libs/ardour/export_handler.cc:32:

/home/ardour/linux-x86_64/gtk/inst/include/taglib/infotag.h:60:25: warning: 'class TagLib::RIFF::Info::StringHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]

60 | class TAGLIB_EXPORT StringHandler

| ^~~~~~~~~~~~~

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/ardour/surround_return.h:27,

from ../libs/ardour/export_handler.cc:44:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_begin(const LV2_Atom_Sequence_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:86:10: warning: cast from type 'const LV2_Atom_Sequence_Body*' to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

86 | return (LV2_Atom_Event*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_end(const LV2_Atom_Sequence_Body*, uint32_t)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:93:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

93 | return (LV2_Atom_Event*)((const uint8_t*)body + lv2_atom_pad_size(size));

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_next(const LV2_Atom_Event*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:109:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

109 | return (LV2_Atom_Event*)((const uint8_t*)i + sizeof(LV2_Atom_Event) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

110 | lv2_atom_pad_size(i->body.size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/ardour/surround_return.h:26,

from ../libs/ardour/export_handler.cc:44:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_begin(const LV2_Atom_Tuple*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:90:48: warning: cast from type 'const LV2_Atom_Tuple*' to type 'uint8_t*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual]

90 | #define LV2_ATOM_CONTENTS(type, atom) ((void*)((uint8_t*)(atom) + sizeof(type)))

| ^~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:102:29: note: in expansion of macro 'LV2_ATOM_CONTENTS'

102 | #define LV2_ATOM_BODY(atom) LV2_ATOM_CONTENTS(LV2_Atom, atom)

| ^~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:194:22: note: in expansion of macro 'LV2_ATOM_BODY'

194 | return (LV2_Atom*)(LV2_ATOM_BODY(tup));

| ^~~~~~~~~~~~~

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/ardour/surround_return.h:27,

from ../libs/ardour/export_handler.cc:44:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_next(const LV2_Atom*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:208:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom*' casts away qualifiers [-Wcast-qual]

208 | return (LV2_Atom*)((const uint8_t*)i + sizeof(LV2_Atom) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

209 | lv2_atom_pad_size(i->size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_begin(const LV2_Atom_Object_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:248:10: warning: cast from type 'const LV2_Atom_Object_Body*' to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

248 | return (LV2_Atom_Property_Body*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_next(const LV2_Atom_Property_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:266:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

266 | return (LV2_Atom_Property_Body*)((const uint8_t*)i +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

267 | lv2_atom_pad_size(

| ~~~~~~~~~~~~~~~~~~

268 | (uint32_t)sizeof(LV2_Atom_Property_Body) +

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

269 | value->size));

| ~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_query(const LV2_Atom_Object*, LV2_Atom_Object_Query*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:349:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

349 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_body_get(uint32_t, const LV2_Atom_Object_Body*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:293:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

293 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:383:3: note: in expansion of macro 'LV2_ATOM_OBJECT_BODY_FOREACH'

383 | LV2_ATOM_OBJECT_BODY_FOREACH (body, size, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:438:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

438 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get_typed(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:494:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

494 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

[ 817/1879] Compiling libs/ardour/vst_state.cc

[ 818/1879] Compiling libs/ardour/disk_reader.cc

[ 819/1879] Compiling libs/ardour/debug.cc

[ 820/1879] Compiling libs/ardour/user_bundle.cc

[ 821/1879] Compiling libs/ardour/clip_library.cc

[ 822/1879] Compiling libs/ardour/data_type.cc

../libs/ardour/dsp_filter.cc:819:3: warning: Value stored to 's' is never read [deadcode.DeadStores]

s += p;

^ ~

1 warning generated.

[ 823/1879] Compiling libs/ardour/control_protocol_manager.cc

[ 824/1879] Compiling libs/ardour/config_text.cc

[ 825/1879] Compiling libs/ardour/control_group.cc

[ 826/1879] Compiling libs/ardour/transpose.cc

[ 827/1879] Compiling libs/ardour/chan_mapping.cc

[ 828/1879] Compiling libs/ardour/butler.cc

[ 829/1879] Compiling libs/ardour/buffer_set.cc

[ 830/1879] Compiling libs/ardour/transport_fsm.cc

[ 831/1879] Compiling libs/ardour/chan_count.cc

[ 832/1879] Compiling libs/ardour/delayline.cc

[ 833/1879] Compiling libs/ardour/transport_master_manager.cc

[ 834/1879] Compiling libs/ardour/transient_detector.cc

[ 835/1879] Compiling libs/ardour/buffer_manager.cc

[ 836/1879] Compiling libs/ardour/automation_watch.cc

[ 837/1879] Compiling libs/ardour/bundle.cc

[ 838/1879] Compiling libs/ardour/tailtime.cc

[ 839/1879] Compiling libs/ardour/broadcast_info.cc

[ 840/1879] Compiling libs/ardour/buffer.cc

[ 841/1879] Compiling libs/tk/ytkmm/accelgroup.cc

[ 842/1879] Compiling libs/tk/ytkmm/aboutdialog.cc

[ 843/1879] Compiling libs/tk/ytkmm/recentinfo.cc

[ 844/1879] Compiling libs/tk/ytkmm/radiobutton.cc

[ 845/1879] Compiling libs/tk/ytkmm/viewport.cc

[ 846/1879] Compiling libs/tk/ytkmm/spinbutton.cc

[ 847/1879] Compiling libs/tk/ytkmm/socket.cc

[ 848/1879] Compiling libs/tk/ytkmm/sizegroup.cc

[ 849/1879] Compiling libs/tk/ytkmm/settings.cc

[ 850/1879] Compiling libs/tk/ytkmm/separatortoolitem.cc

[ 851/1879] Compiling libs/tk/ytkmm/separatormenuitem.cc

[ 852/1879] Compiling libs/tk/ytkmm/separator.cc

[ 853/1879] Compiling libs/tk/ytkmm/selectiondata_private.cc

[ 854/1879] Compiling libs/tk/ytkmm/selectiondata.cc

[ 855/1879] Compiling libs/tk/ytkmm/scrolledwindow.cc

[ 856/1879] Compiling libs/tk/ytkmm/liststore.cc

[ 857/1879] Compiling libs/tk/ytkmm/item.cc

[ 858/1879] Compiling libs/tk/ytkmm/scale.cc

In file included from ../libs/ardour/transport_fsm.cc:31:

../libs/ardour/ardour/transport_fsm.h:46:9: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

struct Event : public boost::intrusive::list_base_hook<> {

^~~~~

1 warning generated.

[ 859/1879] Compiling libs/tk/ytkmm/spinner.cc

[ 860/1879] Compiling libs/tk/ytkmm/recentmanager.cc

[ 861/1879] Compiling libs/tk/ytkmm/ruler.cc

[ 862/1879] Compiling libs/tk/ytkmm/layout.cc

[ 863/1879] Compiling libs/tk/ytkmm/label.cc

[ 864/1879] Compiling libs/tk/ytkmm/recentfilter.cc

[ 865/1879] Compiling libs/tk/ytkmm/image.cc

[ 866/1879] Compiling libs/tk/ytkmm/iconset.cc

[ 867/1879] Compiling libs/tk/ytkmm/infobar.cc

[ 868/1879] Compiling libs/tk/ytkmm/imagemenuitem.cc

[ 869/1879] Compiling libs/tk/ytkmm/radiotoolbutton.cc

[ 870/1879] Compiling libs/tk/ytkmm/linkbutton.cc

[ 871/1879] Compiling libs/tk/ytkmm/frame.cc

[ 872/1879] Compiling libs/tk/ytkmm/iconfactory.cc

[ 873/1879] Compiling libs/tk/ytkmm/handlebox.cc

[ 874/1879] Compiling libs/tk/ytkmm/radioaction.cc

[ 875/1879] Compiling libs/tk/ytkmm/radiomenuitem.cc

[ 876/1879] Compiling libs/tk/ytkmm/fontselection.cc

[ 877/1879] Compiling libs/tk/ytkmm/fixed.cc

[ 878/1879] Compiling libs/tk/ytkmm/orientable.cc

[ 879/1879] Compiling libs/tk/ytkmm/filefilter.cc

[ 880/1879] Compiling libs/tk/ytkmm/fontbutton.cc

[ 881/1879] Compiling libs/tk/ytkmm/enums.cc

[ 882/1879] Compiling libs/tk/ytkmm/filechooserwidget.cc

[ 883/1879] Compiling libs/tk/ytkmm/filechooserdialog.cc

[ 884/1879] Compiling libs/tk/ytkmm/notebook.cc

[ 885/1879] Compiling libs/tk/ytkmm/filechooser.cc

[ 886/1879] Compiling libs/tk/ytkmm/entrycompletion.cc

[ 887/1879] Compiling libs/tk/ytkmm/menuitem.cc

[ 888/1879] Compiling libs/tk/ytkmm/filechooserbutton.cc

[ 889/1879] Compiling libs/tk/ytkmm/editable.cc

[ 890/1879] Compiling libs/tk/ytkmm/entry.cc

[ 891/1879] Compiling libs/tk/ytkmm/drawingarea.cc

[ 892/1879] Compiling libs/tk/ytkmm/menu.cc

[ 893/1879] Compiling libs/tk/ytkmm/container.cc

[ 894/1879] Compiling libs/tk/ytkmm/comboboxentrytext.cc

[ 895/1879] Compiling libs/tk/ytkmm/colorbutton.cc

[ 896/1879] Compiling libs/tk/ytkmm/cellview.cc

[ 897/1879] Compiling libs/tk/ytkmm/combobox.cc

[ 898/1879] Compiling libs/tk/ytkmm/comboboxtext.cc

[ 899/1879] Compiling libs/tk/ytkmm/invisible.cc

[ 900/1879] Compiling libs/tk/ytkmm/checkbutton.cc

[ 901/1879] Compiling libs/tk/ytkmm/iconview.cc

[ 902/1879] Compiling libs/tk/ytkmm/cellrendererspinner.cc

[ 903/1879] Compiling libs/tk/ytkmm/icontheme.cc

[ 904/1879] Compiling libs/tk/ytkmm/colorselection.cc

[ 905/1879] Compiling libs/tk/ytkmm/assistant.cc

[ 906/1879] Compiling libs/tk/ytkmm/cellrendereraccel.cc

[ 907/1879] Compiling libs/tk/ytkmm/cellrendererspin.cc

[ 908/1879] Compiling libs/tk/ytkmm/iconinfo.cc

[ 909/1879] Compiling libs/tk/ytkmm/cellrendererprogress.cc

[ 910/1879] Compiling libs/tk/ytkmm/cellrendererpixbuf.cc

[ 911/1879] Compiling libs/tk/ytkmm/iconsource.cc

[ 912/1879] Compiling libs/tk/ytkmm/cellrenderer.cc

[ 913/1879] Compiling libs/tk/ytkmm/celllayout.cc

[ 914/1879] Compiling libs/tk/ytkmm/cellrenderercombo.cc

[ 915/1879] Compiling libs/tk/ytkmm/builder.cc

[ 916/1879] Compiling libs/tk/ytkmm/box.cc

[ 917/1879] Compiling libs/tk/ytkmm/expander.cc

[ 918/1879] Compiling libs/tk/ytkmm/aspectframe.cc

[ 919/1879] Compiling libs/tk/ytkmm/celleditable.cc

[ 920/1879] Compiling libs/tk/ytkmm/arrow.cc

../libs/ardour/disk_reader.cc:1215:4: warning: Value stored to 'fill_level' is never read [deadcode.DeadStores]

fill_level = 0;

^ ~

../libs/ardour/disk_reader.cc:1341:6: warning: Value stored to 'ret' is never read [deadcode.DeadStores]

ret = -1;

^ ~~

../libs/ardour/disk_reader.cc:1927:28: warning: Array access (from variable 'sbuf') results in a null pointer dereference [core.NullDereference]

b[i] = (b[i] * og[i]) + (sbuf[i] * ig[i]);

^~~~~~~

3 warnings generated.

[ 921/1879] Compiling libs/tk/ytkmm/entrybuffer.cc

[ 922/1879] Compiling libs/tk/ytkmm/eventbox.cc

[ 923/1879] Compiling libs/tk/ytkmm/activatable.cc

[ 924/1879] Compiling libs/tk/ytkmm/actiongroup.cc

[ 925/1879] Compiling libs/tk/ytkmm/dialog.cc

[ 926/1879] Compiling libs/tk/ytkmm/accellabel.cc

[ 927/1879] Compiling libs/tk/ytkmm/accelmap.cc

[ 928/1879] Compiling libs/tk/ytkmm/accelkey.cc

[ 929/1879] Compiling libs/tk/ytkmm/adjustment.cc

[ 930/1879] Compiling libs/tk/ytkmm/clipboard.cc

[ 931/1879] Compiling libs/tk/ytkmm/checkmenuitem.cc

[ 932/1879] Compiling libs/tk/ytkmm/cellrenderertoggle.cc

[ 933/1879] Compiling libs/tk/ytkmm/cellrenderer_generation.cc

[ 934/1879] Compiling libs/tk/ytkmm/buttonbox.cc

[ 935/1879] Compiling libs/tk/ytkmm/button.cc

[ 936/1879] Compiling libs/tk/ytkmm/comboboxentry.cc

[ 937/1879] Compiling libs/tk/ytkmm/alignment.cc

[ 938/1879] Compiling libs/tk/ytkmm/action.cc

[ 939/1879] Compiling libs/tk/ytkmm/bin.cc

[ 940/1879] Compiling libs/tk/ytkmm/scalebutton.cc

../libs/ardour/audioregion.cc:1259:9: warning: Although the value stored to 'prop' is used in the enclosing expression, the value is never actually read from 'prop' [deadcode.DeadStores]

if ((prop = child->property ("default")) != 0 || _envelope->set_state (*child, version)) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/ardour/audioregion.cc:1271:72: warning: Although the value stored to 'prop' is used in the enclosing expression, the value is never actually read from 'prop' [deadcode.DeadStores]

if ((child->get_property ("default", is_default) && is_default) || (prop = child->property ("steepness")) != 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/ardour/audioregion.cc:1290:72: warning: Although the value stored to 'prop' is used in the enclosing expression, the value is never actually read from 'prop' [deadcode.DeadStores]

if ((child->get_property ("default", is_default) && is_default) || (prop = child->property ("steepness")) != 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

3 warnings generated.

[ 941/1879] Compiling libs/tk/ytkmm/recentaction.cc

[ 942/1879] Compiling libs/tk/ytkmm/listviewtext.cc

[ 943/1879] Compiling libs/tk/ytkmm/main.cc

[ 944/1879] Compiling libs/tk/ytkmm/recentchooserwidget.cc

[ 945/1879] Compiling libs/tk/ytkmm/recentchooser.cc

[ 946/1879] Compiling libs/tk/ytkmm/radiobuttongroup.cc

[ 947/1879] Compiling libs/tk/ytkmm/recentchooserdialog.cc

[ 948/1879] Compiling libs/tk/ytkmm/treedragdest.cc

[ 949/1879] Compiling libs/tk/ytkmm/rc.cc

[ 950/1879] Linking build/libs/ardour/libardour.so

[ 951/1879] Compiling libs/tk/ytkmm/tooltips.cc

[ 952/1879] Compiling libs/tk/ytkmm/toolshell.cc

[ 953/1879] Compiling libs/tk/ytkmm/toolitemgroup.cc

[ 954/1879] Compiling libs/tk/ytkmm/toolbutton.cc

[ 955/1879] Compiling libs/tk/ytkmm/toggleaction.cc

[ 956/1879] Compiling libs/tk/ytkmm/range.cc

[ 957/1879] Compiling libs/tk/ytkmm/progressbar.cc

[ 958/1879] Compiling libs/tk/ytkmm/optionmenu.cc

[ 959/1879] Compiling libs/tk/ytkmm/misc.cc

[ 960/1879] Compiling libs/tk/ytkmm/widget.cc

[ 961/1879] Compiling libs/tk/ytkmm/plug.cc

[ 962/1879] Compiling libs/tk/ytkmm/offscreenwindow.cc

[ 963/1879] Compiling libs/tk/ytkmm/menushell.cc

[ 964/1879] Compiling libs/tk/ytkmm/object.cc

[ 965/1879] Compiling libs/tk/ytkmm/messagedialog.cc

[ 966/1879] Compiling libs/tk/ytkmm/scrollbar.cc

[ 967/1879] Compiling libs/tk/ytkmm/window.cc

[ 968/1879] Compiling libs/tk/ytkmm/menutoolbutton.cc

[ 969/1879] Compiling libs/tk/ytkmm/menu_elems.cc

[ 970/1879] Compiling libs/tk/ytkmm/wrap_init.cc

[ 971/1879] Compiling libs/tk/ytkmm/menubar.cc

[ 972/1879] Compiling libs/tk/ytkmm/paned.cc

[ 973/1879] Compiling libs/tk/ytkmm/treeview_private.cc

[ 974/1879] Compiling libs/tk/ytkmm/treeselection.cc

[ 975/1879] Compiling libs/tk/ytkmm/treedragsource.cc

[ 976/1879] Compiling libs/tk/ytkmm/statusbar.cc

[ 977/1879] Compiling libs/tk/ytkmm/treeviewcolumn.cc

[ 978/1879] Compiling libs/tk/ytkmm/treeview.cc

[ 979/1879] Compiling libs/tk/ytkmm/treesortable.cc

[ 980/1879] Compiling libs/tk/ytkmm/treestore.cc

[ 981/1879] Compiling libs/tk/ytkmm/treerowreference.cc

[ 982/1879] Compiling libs/tk/ytkmm/treemodelsort.cc

[ 983/1879] Compiling libs/tk/ytkmm/treeiter.cc

[ 984/1879] Compiling libs/tk/ytkmm/treepath.cc

[ 985/1879] Compiling libs/tk/ytkmm/treemodelcolumn.cc

[ 986/1879] Compiling libs/tk/ytkmm/treemodel.cc

[ 987/1879] Compiling libs/tk/ytkmm/treemodelfilter.cc

[ 988/1879] Compiling libs/tk/ytkmm/uimanager.cc

[ 989/1879] Compiling libs/tk/ytkmm/recentchoosermenu.cc

[ 990/1879] Compiling libs/tk/ytkmm/textview.cc

[ 991/1879] Compiling libs/tk/ytkmm/cellrenderertext.cc

[ 992/1879] Compiling libs/tk/ytkmm/tooltip.cc

[ 993/1879] Compiling libs/tk/ytkmm/toolpalette.cc

[ 994/1879] Compiling libs/tk/ytkmm/toolbar.cc

[ 995/1879] Compiling libs/tk/ytkmm/toolitem.cc

[ 996/1879] Compiling libs/tk/ytkmm/toggletoolbutton.cc

[ 997/1879] Compiling libs/tk/ytkmm/togglebutton.cc

[ 998/1879] Compiling libs/tk/ytkmm/texttag.cc

[ 999/1879] Compiling libs/tk/ytkmm/textiter.cc

[1000/1879] Compiling libs/tk/ytkmm/tearoffmenuitem.cc

[1001/1879] Compiling libs/tk/ytkmm/stock.cc

[1002/1879] Compiling libs/tk/ytkmm/textmark.cc

[1003/1879] Compiling libs/tk/ytkmm/textchildanchor.cc

[1004/1879] Compiling libs/tk/ytkmm/textattributes.cc

[1005/1879] Compiling libs/tk/ytkmm/textbuffer.cc

[1006/1879] Compiling libs/tk/ytkmm/targetlist.cc

[1007/1879] Compiling libs/tk/ytkmm/table.cc

[1008/1879] Compiling libs/tk/ytkmm/stockid.cc

[1009/1879] Compiling libs/tk/ytkmm/targetentry.cc

[1010/1879] Compiling libs/tk/ytkmm/style.cc

[1011/1879] Compiling libs/tk/ytkmm/texttagtable.cc

[1012/1879] Compiling libs/tk/ytkmm/stockitem.cc

[1013/1879] Compiling libs/ctrl-interface/control_protocol/basic_ui.cc

[1014/1879] Compiling libs/ctrl-interface/control_protocol/control_protocol.cc

[1015/1879] Compiling libs/gtkmm2ext/debug.cc

[1016/1879] Compiling libs/gtkmm2ext/emscale.cc

[1017/1879] Compiling libs/gtkmm2ext/gtk_ui.cc

[1018/1879] Compiling libs/gtkmm2ext/cairo_packer.cc

[1019/1879] Compiling libs/gtkmm2ext/cursors.cc

[1020/1879] Compiling libs/gtkmm2ext/cairo_theme.cc

[1021/1879] Compiling libs/gtkmm2ext/dndtreeview.cc

[1022/1879] Compiling libs/gtkmm2ext/cairo_widget.cc

[1023/1879] Compiling libs/gtkmm2ext/gtkapplication.c

[1024/1879] Compiling libs/gtkmm2ext/application.cc

[1025/1879] Compiling libs/gtkmm2ext/string_completion.cc

[1026/1879] Compiling libs/gtkmm2ext/utils.cc

[1027/1879] Compiling libs/gtkmm2ext/treeutils.cc

[1028/1879] Compiling libs/gtkmm2ext/colorspace.cc

[1029/1879] Compiling libs/gtkmm2ext/menu_elems.cc

[1030/1879] Compiling libs/gtkmm2ext/visibility_tracker.cc

[1031/1879] Compiling libs/gtkmm2ext/colors.cc

[1032/1879] Compiling libs/gtkmm2ext/cell_renderer_color_selector.cc

[1033/1879] Compiling libs/gtkmm2ext/cell_renderer_pixbuf_toggle.cc

[1034/1879] Compiling libs/gtkmm2ext/bindings.cc

[1035/1879] Compiling libs/gtkmm2ext/window_title.cc

[1036/1879] Compiling libs/gtkmm2ext/ui_config.cc

[1037/1879] Compiling libs/gtkmm2ext/gtkapplication_x11.c

[1038/1879] Compiling libs/gtkmm2ext/action_model.cc

[1039/1879] Linking build/libs/tk/ytkmm/libytkmm.so

[1040/1879] Compiling libs/gtkmm2ext/window_proxy.cc

[1041/1879] Compiling libs/gtkmm2ext/actions.cc

[1042/1879] Compiling libs/gtkmm2ext/cell_renderer_pixbuf_multi.cc

[1043/1879] Compiling libs/gtkmm2ext/keyboard.cc

[1044/1879] Compiling libs/gtkmm2ext/persistent_tooltip.cc

[1045/1879] Compiling libs/gtkmm2ext/textviewer.cc

../libs/gtkmm2ext/cursors.cc:73:17: warning: Value stored to 'parse_ok' is never read [deadcode.DeadStores]

parse_ok = true;

^ ~~~~

1 warning generated.

[1046/1879] Compiling libs/canvas/button.cc

[1047/1879] Compiling libs/canvas/flag.cc

[1048/1879] Compiling libs/canvas/utils.cc

[1049/1879] Compiling libs/canvas/curve.cc

[1050/1879] Compiling libs/canvas/item.cc

[1051/1879] Compiling libs/canvas/ruler.cc

[1052/1879] Compiling libs/canvas/scroll_group.cc

[1053/1879] Compiling libs/canvas/line.cc

[1054/1879] Compiling libs/canvas/arrow.cc

[1055/1879] Compiling libs/canvas/text.cc

[1056/1879] Compiling libs/canvas/stateful_image.cc

[1057/1879] Compiling libs/canvas/table.cc

[1058/1879] Compiling libs/canvas/box.cc

[1059/1879] Compiling libs/canvas/meter.cc

[1060/1879] Compiling libs/canvas/widget.cc

[1061/1879] Compiling libs/canvas/tracking_text.cc

[1062/1879] Compiling libs/canvas/rect_set.cc

[1063/1879] Compiling libs/canvas/types.cc

[1064/1879] Compiling libs/canvas/xfade_curve.cc

[1065/1879] Compiling libs/canvas/step_button.cc

[1066/1879] Compiling libs/canvas/poly_line.cc

[1067/1879] Compiling libs/canvas/root_group.cc

../libs/canvas/ruler.cc:198:5: warning: Forming reference to null pointer [core.NonNullParamChecker]

layout->set_font_description (*fd);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[1068/1879] Compiling libs/canvas/debug.cc

[1069/1879] Compiling libs/canvas/note.cc

[1070/1879] Compiling libs/canvas/framed_curve.cc

[1071/1879] Compiling libs/canvas/line_set.cc

[1072/1879] Compiling libs/canvas/pixbuf.cc

[1073/1879] Compiling libs/canvas/lollipop.cc

[1074/1879] Compiling libs/canvas/container.cc

[1075/1879] Compiling libs/canvas/arc.cc

[1076/1879] Compiling libs/canvas/poly_item.cc

[1077/1879] Compiling libs/canvas/canvas.cc

[1078/1879] Compiling libs/canvas/lookup_table.cc

[1079/1879] Linking build/libs/ctrl-interface/control_protocol/libardourcp.so

[1080/1879] Compiling libs/canvas/rectangle.cc

In file included from ../libs/canvas/table.cc:25:

In file included from ../libs/canvas/canvas/table.h:24:

In file included from ../libs/canvas/canvas/rectangle.h:24:

In file included from ../libs/canvas/canvas/item.h:32:

In file included from ../libs/canvas/canvas/fill.h:28:

../libs/canvas/canvas/types.h:243:17: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

left = right = args[1];

^ ~~~~~~~

../libs/canvas/canvas/types.h:247:17: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

left = right = args[1];

^ ~~~~~~~

../libs/canvas/canvas/types.h:248:9: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

down = args[2];

^ ~~~~~~~

3 warnings generated.

[1081/1879] Compiling libs/canvas/polygon.cc

[1082/1879] Compiling libs/canvas/outline.cc

[1083/1879] Compiling libs/canvas/fill.cc

[1084/1879] Compiling libs/canvas/image.cc

[1085/1879] Compiling libs/canvas/grid.cc

[1086/1879] Compiling libs/canvas/circle.cc

[1087/1879] Compiling libs/ctrl-interface/midi_surface/midi_surface.cc

[1088/1879] Compiling libs/ctrl-interface/midi_surface/midi_byte_array.cc

[1089/1879] Compiling libs/widgets/binding_proxy.cc

[1090/1879] Compiling libs/widgets/ardour_icon.cc

[1091/1879] Compiling libs/widgets/scroomer.cc

[1092/1879] Compiling libs/widgets/metabutton.cc

[1093/1879] Compiling libs/widgets/eventboxext.cc

[1094/1879] Compiling libs/widgets/ardour_display.cc

[1095/1879] Compiling libs/widgets/fader_widget.cc

[1096/1879] Compiling libs/widgets/ardour_ctrl_base.cc

[1097/1879] Compiling libs/widgets/barcontroller.cc

../libs/gtkmm2ext/gtk_ui.cc:447:1: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

}

^

../libs/gtkmm2ext/gtk_ui.cc:462:1: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

}

^

../libs/gtkmm2ext/gtk_ui.cc:477:1: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

}

^

3 warnings generated.

[1098/1879] Compiling libs/widgets/searchbar.cc

[1099/1879] Compiling libs/widgets/ardour_button.cc

[1100/1879] Compiling libs/widgets/tearoff.cc

[1101/1879] Compiling libs/widgets/tooltips.cc

[1102/1879] Linking build/libs/gtkmm2ext/libgtkmm2ext.so

../libs/widgets/ardour_icon.cc: In function 'void icon_transport_follow_playhead(cairo_t*, int, int, uint32_t)':

../libs/widgets/ardour_icon.cc:812:22: warning: unused variable 'degrees' [-Wunused-variable]

812 | static const double degrees = M_PI / 180.0;

| ^~~~~~~

../libs/widgets/ardour_icon.cc: In function 'void icon_transport_follow_edits(cairo_t*, int, int, uint32_t)':

../libs/widgets/ardour_icon.cc:859:22: warning: unused variable 'degrees' [-Wunused-variable]

859 | static const double degrees = M_PI / 180.0;

| ^~~~~~~

../libs/widgets/ardour_icon.cc:2316:9: warning: Called C++ object pointer is null [core.CallAndMessage]

win = w->get_window ();

^~~~~~~~~~~~~~~~

1 warning generated.

[1103/1879] Compiling libs/widgets/focus_entry.cc

[1104/1879] Compiling libs/widgets/pane.cc

[1105/1879] Compiling libs/widgets/popup.cc

[1106/1879] Compiling libs/widgets/slider_controller.cc

[1107/1879] Compiling libs/widgets/fastmeter.cc

[1108/1879] Compiling libs/widgets/choice.cc

[1109/1879] Compiling libs/widgets/ardour_knob.cc

../libs/widgets/fader_widget.cc:174:5: warning: Value stored to 'ev_pos' is never read [deadcode.DeadStores]

ev_pos = rint(ev_pos);

^ ~~~~~~~~~~~~

1 warning generated.

[1110/1879] Compiling libs/widgets/stateful_button.cc

[1111/1879] Compiling libs/widgets/frame.cc

[1112/1879] Compiling libs/widgets/ardour_fader.cc

[1113/1879] Compiling libs/widgets/paths_dialog.cc

[1114/1879] Compiling libs/widgets/tabbable.cc

[1115/1879] Compiling libs/widgets/prompter.cc

[1116/1879] Compiling libs/widgets/ardour_spacer.cc

[1117/1879] Compiling libs/widgets/ardour_spinner.cc

[1118/1879] Compiling libs/widgets/ardour_dropdown.cc

[1119/1879] Compiling libs/ardouralsautil/devicelist.cc

[1120/1879] Compiling libs/ardouralsautil/deviceparams.cc

[1121/1879] Compiling libs/aaf/MediaComposer.c

[1122/1879] Compiling libs/aaf/AAFClass.c

[1123/1879] Compiling libs/aaf/AAFIface.c

[1124/1879] Compiling libs/aaf/AAFDump.c

[1125/1879] Compiling libs/aaf/AAFIParser.c

[1126/1879] Compiling libs/aaf/URIParser.c

[1127/1879] Compiling libs/aaf/Resolve.c

[1128/1879] Compiling libs/aaf/log.c

[1129/1879] Compiling libs/aaf/RIFFParser.c

[1130/1879] Compiling libs/aaf/ProTools.c

[1131/1879] Compiling libs/aaf/utils.c

[1132/1879] Compiling libs/aaf/CFBDump.c

[1133/1879] Compiling libs/aaf/AAFCore.c

[1134/1879] Compiling libs/aaf/AAFIEssenceFile.c

[1135/1879] Compiling libs/aaf/LibCFB.c

../libs/aaf/AAFIface.c:443:73: warning: Access to field 'samplerateRational' results in a dereference of a null pointer (loaded from variable 'smallestEssenceFile') [core.NullDereference]

return aafi_convertUnit (audioClip->len, audioClip->track->edit_rate, smallestEssenceFile->samplerateRational);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[1136/1879] Compiling libs/aaf/AAFToText.c

[1137/1879] Linking build/libs/canvas/libcanvas.so

[1138/1879] Linking build/libs/ardouralsautil/libardouralsautil.so

[1139/1879] Compiling libs/waveview/wave_view.cc

[1140/1879] Compiling libs/waveview/debug.cc

[1141/1879] Compiling libs/waveview/wave_view_private.cc

[1142/1879] Compiling libs/qm-dsp/dsp/tempotracking/TempoTrack.cpp

[1143/1879] Compiling libs/qm-dsp/dsp/tempotracking/TempoTrackV2.cpp

[1144/1879] Compiling libs/qm-dsp/dsp/tempotracking/DownBeat.cpp

[1145/1879] Compiling libs/qm-dsp/dsp/chromagram/ConstantQ.cpp

[1146/1879] Compiling libs/qm-dsp/dsp/tonal/TonalEstimator.cpp

../libs/qm-dsp/dsp/tempotracking/DownBeat.cpp:112:9: warning: Called C++ object pointer is null [core.CallAndMessage]

m_decimator1->process(audio, m_decbuf);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[1147/1879] Compiling libs/qm-dsp/dsp/rhythm/BeatSpectrum.cpp

[1148/1879] Compiling libs/qm-dsp/dsp/tonal/TCSgram.cpp

[1149/1879] Compiling libs/qm-dsp/dsp/mfcc/MFCC.cpp

[1150/1879] Compiling libs/qm-dsp/dsp/keydetection/GetKeyMode.cpp

[1151/1879] Compiling libs/qm-dsp/dsp/onsets/DetectionFunction.cpp

[1152/1879] Compiling libs/qm-dsp/base/SincWindow.cpp

[1153/1879] Compiling libs/qm-dsp/dsp/chromagram/Chromagram.cpp

[1154/1879] Compiling libs/qm-dsp/dsp/onsets/PeakPicking.cpp

[1155/1879] Compiling libs/qm-dsp/maths/KLDivergence.cpp

[1156/1879] Compiling libs/qm-dsp/maths/CosineDistance.cpp

[1157/1879] Compiling libs/qm-dsp/base/Pitch.cpp

In file included from ../libs/qm-dsp/dsp/mfcc/MFCC.cpp:20:

In file included from ../libs/qm-dsp/dsp/mfcc/MFCC.h:19:

../libs/qm-dsp/base/Window.h:63:51: warning: The left operand of '*' is a garbage value [core.UndefinedBinaryOperatorResult]

for (int i = 0; i < m_size; ++i) dst[i] = src[i] * m_cache[i];

~~~~~~ ^

1 warning generated.

[1158/1879] Compiling libs/qm-dsp/base/KaiserWindow.cpp

[1159/1879] Compiling libs/qm-dsp/dsp/wavelet/Wavelet.cpp

[1160/1879] Compiling libs/qm-dsp/maths/Correlation.cpp

[1161/1879] Compiling libs/qm-dsp/dsp/signalconditioning/Filter.cpp

[1162/1879] Compiling libs/qm-dsp/dsp/rateconversion/DecimatorB.cpp

[1163/1879] Compiling libs/qm-dsp/maths/pca/pca.c

[1164/1879] Compiling libs/qm-dsp/ext/kissfft/tools/kiss_fftr.c

../libs/qm-dsp/dsp/tempotracking/TempoTrack.cpp:510:13: warning: Potential leak of memory pointed to by 'dbf' [cplusplus.NewDeleteLeaks]

for( i = ( 3 * p - 2 ); i < ( 3 * p + 2 ) + 1; i++ )

^

../libs/qm-dsp/dsp/tempotracking/TempoTrack.cpp:558:9: warning: Value stored to 'period' is never read [deadcode.DeadStores]

period = 5168 / 120;

^ ~~~~~~~~~~

2 warnings generated.

[1165/1879] Compiling libs/qm-dsp/dsp/signalconditioning/FiltFilt.cpp

[1166/1879] Compiling libs/qm-dsp/dsp/signalconditioning/Framer.cpp

[1167/1879] Compiling libs/qm-dsp/dsp/signalconditioning/DFProcess.cpp

[1168/1879] Compiling libs/qm-dsp/dsp/transforms/FFT.cpp

[1169/1879] Compiling libs/qm-dsp/dsp/tonal/ChangeDetectionFunction.cpp

[1170/1879] Compiling libs/qm-dsp/ext/kissfft/kiss_fft.c

[1171/1879] Compiling libs/qm-dsp/dsp/rateconversion/Decimator.cpp

[1172/1879] Compiling libs/qm-dsp/dsp/phasevocoder/PhaseVocoder.cpp

[1173/1879] Compiling libs/qm-dsp/maths/MathUtilities.cpp

../libs/qm-dsp/dsp/signalconditioning/FiltFilt.cpp:78:5: warning: Value stored to 'index' is never read [deadcode.DeadStores]

index = 0;

^ ~

1 warning generated.

[1174/1879] Compiling libs/vamp-pyin/MonoNote.cpp

[1175/1879] Compiling libs/vamp-pyin/MonoNoteHMM.cpp

[1176/1879] Compiling libs/vamp-pyin/MonoPitchHMM.cpp

[1177/1879] Compiling libs/vamp-pyin/MonoPitch.cpp

[1178/1879] Compiling libs/vamp-pyin/LocalCandidatePYIN.cpp

[1179/1879] Linking build/libs/widgets/libwidgets.so

[1180/1879] Compiling libs/vamp-pyin/SparseHMM.cpp

[1181/1879] Compiling libs/vamp-pyin/Yin.cpp

[1182/1879] Compiling libs/vamp-pyin/YinUtil.cpp

[1183/1879] Compiling libs/vamp-pyin/PYinVamp.cpp

[1184/1879] Compiling libs/vamp-pyin/libmain.cpp

[1185/1879] Compiling libs/vamp-pyin/YinVamp.cpp

../libs/vamp-pyin/Yin.cpp:68:9: warning: Value stored to 'interpolatedTau' is never read [deadcode.DeadStores]

interpolatedTau = 0;

^ ~

1 warning generated.

[1186/1879] Compiling libs/vamp-pyin/MonoNoteParameters.cpp

[1187/1879] Compiling tools/sanity_check/systemtest.cpp

[1188/1879] Compiling tools/sanity_check/main.cpp

[1189/1879] Compiling libs/clearlooks-newer/support.c

[1190/1879] Compiling libs/clearlooks-newer/widget-information.c

../libs/vamp-pyin/YinUtil.cpp:239:9: warning: Value stored to 'currThreshInd' during its initialization is never read [deadcode.DeadStores]

int currThreshInd = nThreshold-1;

^~~~~~~~~~~~~ ~~~~~~~~~~~~

1 warning generated.

[1191/1879] Compiling libs/clearlooks-newer/animation.c

[1192/1879] Compiling libs/clearlooks-newer/clearlooks_draw.c

[1193/1879] Compiling libs/clearlooks-newer/clearlooks_rc_style.c

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gioenums.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/giotypes.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gio.h:26,

from ../libs/tk/ydk/ydk/gdkapplaunchcontext.h:30,

from ../libs/tk/ydk/ydk/gdk.h:32,

from ../libs/tk/ytk/ytk/ytk.h:32,

from ../libs/clearlooks-newer/support.h:4,

from ../libs/clearlooks-newer/support.c:22:

../libs/clearlooks-newer/support.c: In function 'clearlooks_get_parent_bg':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2224:40: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2224 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro '_G_TYPE_CIC'

482 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type))

| ^~~~~~~~~~~

../libs/tk/ytk/ytk/gtkobject.h:48:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST'

48 | #define GTK_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_OBJECT, GtkObject))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/ytk/gtkobject.h:93:35: note: in expansion of macro 'GTK_OBJECT'

93 | #define GTK_OBJECT_FLAGS(obj) (GTK_OBJECT (obj)->flags)

| ^~~~~~~~~~

../libs/tk/ytk/ytk/gtkwidget.h:204:35: note: in expansion of macro 'GTK_OBJECT_FLAGS'

204 | #define GTK_WIDGET_FLAGS(wid) (GTK_OBJECT_FLAGS (wid))

| ^~~~~~~~~~~~~~~~

../libs/tk/ytk/ytk/gtkwidget.h:228:39: note: in expansion of macro 'GTK_WIDGET_FLAGS'

228 | #define GTK_WIDGET_NO_WINDOW(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_NO_WINDOW) != 0)

| ^~~~~~~~~~~~~~~~

../libs/clearlooks-newer/support.c:59:19: note: in expansion of macro 'GTK_WIDGET_NO_WINDOW'

59 | while (parent && GTK_WIDGET_NO_WINDOW (parent) && !((GTK_IS_NOTEBOOK (parent)) || (GTK_IS_TOOLBAR (parent))))

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ytk/ytk/gtknotebook.h:44:45: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

44 | #define GTK_IS_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_NOTEBOOK))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/clearlooks-newer/support.c:59:55: note: in expansion of macro 'GTK_IS_NOTEBOOK'

59 | while (parent && GTK_WIDGET_NO_WINDOW (parent) && !((GTK_IS_NOTEBOOK (parent)) || (GTK_IS_TOOLBAR (parent))))

| ^~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ytk/ytk/gtktoolbar.h:49:38: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

49 | #define GTK_IS_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOOLBAR))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/clearlooks-newer/support.c:59:85: note: in expansion of macro 'GTK_IS_TOOLBAR'

59 | while (parent && GTK_WIDGET_NO_WINDOW (parent) && !((GTK_IS_NOTEBOOK (parent)) || (GTK_IS_TOOLBAR (parent))))

| ^~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2224:40: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2224 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro '_G_TYPE_CIC'

482 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type))

| ^~~~~~~~~~~

../libs/tk/ytk/ytk/gtkwidget.h:137:32: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST'

137 | #define GTK_WIDGET(widget) (G_TYPE_CHECK_INSTANCE_CAST ((widget), GTK_TYPE_WIDGET, GtkWidget))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/tk/ytk/ytk/gtkwidget.h:166:35: note: in expansion of macro 'GTK_WIDGET'

166 | #define GTK_WIDGET_STATE(wid) (GTK_WIDGET (wid)->state)

| ^~~~~~~~~~

../libs/clearlooks-newer/support.c:65:15: note: in expansion of macro 'GTK_WIDGET_STATE'

65 | state_type = GTK_WIDGET_STATE (parent);

| ^~~~~~~~~~~~~~~~

[1194/1879] Compiling libs/clearlooks-newer/cairo-support.c

[1195/1879] Compiling libs/clearlooks-newer/clearlooks_style.c

[1196/1879] Compiling libs/clearlooks-newer/clearlooks_theme_main.c

../libs/aaf/AAFCore.c:1951:11: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

Prop->sf = p->_storedForm;

^ ~~~~~~~~~~~~~~

1 warning generated.

[1197/1879] Compiling libs/vamp-plugins/OnsetDetect.cpp

../libs/qm-dsp/maths/MathUtilities.cpp: In static member function 'static int MathUtilities::compareInt(const void*, const void*)':

../libs/qm-dsp/maths/MathUtilities.cpp:247:13: warning: cast from type 'const void*' to type 'int*' casts away qualifiers [-Wcast-qual]

247 | return ( *(int*)a - *(int*)b );

| ^~~~~~~

../libs/qm-dsp/maths/MathUtilities.cpp:247:24: warning: cast from type 'const void*' to type 'int*' casts away qualifiers [-Wcast-qual]

247 | return ( *(int*)a - *(int*)b );

| ^~~~~~~

[1198/1879] Compiling libs/vamp-plugins/SpectralCentroid.cpp

[1199/1879] Compiling libs/vamp-plugins/TonalChangeDetect.cpp

[1200/1879] Linking build/libs/qm-dsp/libqm-dsp.a

[1201/1879] Compiling libs/vamp-plugins/SimilarityPlugin.cpp

[1202/1879] Compiling libs/vamp-plugins/Transcription.cpp

[1203/1879] Compiling libs/vamp-plugins/PercussionOnsetDetector.cpp

[1204/1879] Compiling libs/vamp-plugins/BarBeatTrack.cpp

[1205/1879] Compiling libs/vamp-plugins/EBUr128.cpp

[1206/1879] Compiling libs/vamp-plugins/ebu_r128_proc.cc

../libs/clearlooks-newer/clearlooks_rc_style.c: In function 'clearlooks_rc_style_register_type':

../libs/clearlooks-newer/clearlooks_rc_style.c:103:3: warning: cast between incompatible function types from 'void (*)(ClearlooksRcStyleClass *)' {aka 'void (*)(struct _ClearlooksRcStyleClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

103 | (GClassInitFunc) clearlooks_rc_style_class_init,

| ^

../libs/clearlooks-newer/clearlooks_rc_style.c:108:3: warning: cast between incompatible function types from 'void (*)(ClearlooksRcStyle *)' {aka 'void (*)(struct _ClearlooksRcStyle *)'} to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type]

108 | (GInstanceInitFunc) clearlooks_rc_style_init,

| ^

../libs/clearlooks-newer/clearlooks_rc_style.c:173:2: warning: Value stored to 'token' is never read [deadcode.DeadStores]

token = g_scanner_get_next_token(scanner);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_rc_style.c:200:2: warning: Value stored to 'token' is never read [deadcode.DeadStores]

token = g_scanner_get_next_token(scanner);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_rc_style.c:219:2: warning: Value stored to 'token' is never read [deadcode.DeadStores]

token = g_scanner_get_next_token(scanner);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_rc_style.c:244:2: warning: Value stored to 'token' is never read [deadcode.DeadStores]

token = g_scanner_get_next_token(scanner);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_rc_style.c:271:2: warning: Value stored to 'token' is never read [deadcode.DeadStores]

token = g_scanner_get_next_token (scanner);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_rc_style.c:301:2: warning: Value stored to 'token' is never read [deadcode.DeadStores]

token = g_scanner_get_next_token (scanner);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_rc_style.c:312:2: warning: Value stored to 'token' is never read [deadcode.DeadStores]

token = g_scanner_get_next_token (scanner);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

7 warnings generated.

[1207/1879] Linking build/tools/sanity_check/sanityCheck

[1208/1879] Linking build/libs/aaf/libaaf.so

[1209/1879] Compiling libs/vamp-plugins/ChromagramPlugin.cpp

[1210/1879] Compiling libs/vamp-plugins/ZeroCrossing.cpp

[1211/1879] Compiling libs/vamp-plugins/AmplitudeFollower.cpp

../libs/vamp-plugins/OnsetDetect.cpp:174:13: warning: Value stored to 'dfType' during its initialization is never read [deadcode.DeadStores]

int dfType = m_dfType;

^~~~~~ ~~~~~~~~

1 warning generated.

[1212/1879] Compiling libs/vamp-plugins/KeyDetect.cpp

In file included from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gobject.h:24,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:29,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gioenums.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/giotypes.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gio.h:26,

from ../libs/tk/ydk/ydk/gdkapplaunchcontext.h:30,

from ../libs/tk/ydk/ydk/gdk.h:32,

from ../libs/tk/ytk/ytk/ytk.h:32,

from ../libs/clearlooks-newer/clearlooks_style.c:22:

../libs/clearlooks-newer/clearlooks_style.c: In function 'clearlooks_set_widget_parameters':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2224:40: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2224 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro '_G_TYPE_CIC'

482 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type))

| ^~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_style.h:38:45: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST'

38 | #define CLEARLOOKS_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), CLEARLOOKS_TYPE_STYLE, ClearlooksStyle))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_style.c:64:70: note: in expansion of macro 'CLEARLOOKS_STYLE'

64 | params->style_functions = &(clearlooks_style_class->style_functions[CLEARLOOKS_STYLE (style)->style]);

| ^~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2224:40: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2224 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro '_G_TYPE_CIC'

482 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type))

| ^~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_style.h:38:45: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST'

38 | #define CLEARLOOKS_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), CLEARLOOKS_TYPE_STYLE, ClearlooksStyle))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_style.c:75:24: note: in expansion of macro 'CLEARLOOKS_STYLE'

75 | params->radius = CLEARLOOKS_STYLE (style)->radius;

| ^~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2224:40: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2224 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro '_G_TYPE_CIC'

482 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type))

| ^~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_style.h:38:45: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST'

38 | #define CLEARLOOKS_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), CLEARLOOKS_TYPE_STYLE, ClearlooksStyle))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_style.c:87:21: note: in expansion of macro 'CLEARLOOKS_STYLE'

87 | params->parentbg = CLEARLOOKS_STYLE (style)->colors.bg[state_type];

| ^~~~~~~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_style.c: In function 'clearlooks_style_draw_shadow':

../libs/clearlooks-newer/clearlooks_style.c:199:17: warning: implicit conversion from 'GtkShadowType' to 'ClearlooksShadowType' [-Wenum-conversion]

199 | frame.shadow = shadow_type;

| ^

../libs/clearlooks-newer/clearlooks_style.c:223:16: warning: implicit conversion from 'GtkShadowType' to 'ClearlooksShadowType' [-Wenum-conversion]

223 | frame.shadow = shadow_type;

| ^

../libs/clearlooks-newer/clearlooks_style.c: In function 'clearlooks_style_draw_box_gap':

../libs/clearlooks-newer/clearlooks_style.c:256:19: warning: implicit conversion from 'GtkShadowType' to 'ClearlooksShadowType' [-Wenum-conversion]

256 | frame.shadow = shadow_type;

| ^

../libs/clearlooks-newer/clearlooks_style.c:257:19: warning: implicit conversion from 'GtkPositionType' to 'ClearlooksGapSide' [-Wenum-conversion]

257 | frame.gap_side = gap_side;

| ^

../libs/clearlooks-newer/clearlooks_style.c: In function 'clearlooks_style_draw_box':

../libs/clearlooks-newer/clearlooks_style.c:688:28: warning: implicit conversion from 'GtkProgressBarOrientation' to 'ClearlooksOrientation' [-Wenum-conversion]

688 | progressbar.orientation = gtk_progress_bar_get_orientation (GTK_PROGRESS_BAR (widget));

| ^

../libs/clearlooks-newer/clearlooks_style.c:702:29: warning: implicit conversion from 'enum <anonymous>' to 'ClearlooksOrientation' [-Wenum-conversion]

702 | progressbar.orientation = GTK_PROGRESS_RIGHT_TO_LEFT;

| ^

../libs/clearlooks-newer/clearlooks_style.c:704:29: warning: implicit conversion from 'enum <anonymous>' to 'ClearlooksOrientation' [-Wenum-conversion]

704 | progressbar.orientation = GTK_PROGRESS_LEFT_TO_RIGHT;

| ^

../libs/clearlooks-newer/clearlooks_style.c: In function 'clearlooks_style_draw_option':

../libs/clearlooks-newer/clearlooks_style.c:961:23: warning: implicit conversion from 'GtkShadowType' to 'ClearlooksShadowType' [-Wenum-conversion]

961 | checkbox.shadow_type = shadow_type;

| ^

../libs/clearlooks-newer/clearlooks_style.c: In function 'clearlooks_style_draw_check':

../libs/clearlooks-newer/clearlooks_style.c:988:23: warning: implicit conversion from 'GtkShadowType' to 'ClearlooksShadowType' [-Wenum-conversion]

988 | checkbox.shadow_type = shadow_type;

| ^

../libs/clearlooks-newer/clearlooks_style.c: In function 'clearlooks_style_draw_shadow_gap':

../libs/clearlooks-newer/clearlooks_style.c:1094:19: warning: implicit conversion from 'GtkShadowType' to 'ClearlooksShadowType' [-Wenum-conversion]

1094 | frame.shadow = shadow_type;

| ^

../libs/clearlooks-newer/clearlooks_style.c:1095:19: warning: implicit conversion from 'GtkPositionType' to 'ClearlooksGapSide' [-Wenum-conversion]

1095 | frame.gap_side = gap_side;

| ^

../libs/clearlooks-newer/clearlooks_style.c: In function 'clearlooks_style_draw_focus':

../libs/clearlooks-newer/clearlooks_style.c:1311:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1311 | gint8 *dash_list = (gint8 *)"\1\1";

| ^

../libs/clearlooks-newer/clearlooks_style.c:1328:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

1328 | dash_list = (gint8 *)"\4\4";

| ^

In file included from ../../../linux-x86_64/gtk/inst/lib/glib-2.0/include/glibconfig.h:9,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gtypes.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/galloca.h:32,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib.h:30,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gbinding.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/glib-object.h:23,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gioenums.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/giotypes.h:28,

from ../../../linux-x86_64/gtk/inst/include/glib-2.0/gio/gio.h:26,

from ../libs/tk/ydk/ydk/gdkapplaunchcontext.h:30,

from ../libs/tk/ydk/ydk/gdk.h:32,

from ../libs/tk/ytk/ytk/ytk.h:32,

from ../libs/clearlooks-newer/clearlooks_style.c:22:

../libs/clearlooks-newer/clearlooks_style.c: In function 'set_transparency':

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:2238:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

2238 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \

| ^

../../../linux-x86_64/gtk/inst/include/glib-2.0/glib/gmacros.h:388:25: note: in definition of macro 'G_LIKELY'

388 | #define G_LIKELY(expr) (expr)

| ^~~~

../libs/clearlooks-newer/clearlooks_style.c:1424:2: note: in expansion of macro 'g_return_val_if_fail'

1424 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);

| ^~~~~~~~~~~~~~~~~~~~

../../../linux-x86_64/gtk/inst/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro '_G_TYPE_CIT'

495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))

| ^~~~~~~~~~~

../libs/tk/ydk-pixbuf/ydk-pixbuf/gdk-pixbuf-core.h:159:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'

159 | #define GDK_IS_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF))

| ^~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_style.c:1424:24: note: in expansion of macro 'GDK_IS_PIXBUF'

1424 | g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);

| ^~~~~~~~~~~~~

../libs/clearlooks-newer/clearlooks_style.c: In function 'clearlooks_style_register_type':

../libs/clearlooks-newer/clearlooks_style.c:1647:3: warning: cast between incompatible function types from 'void (*)(ClearlooksStyleClass *)' {aka 'void (*)(struct _ClearlooksStyleClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type]

1647 | (GClassInitFunc) clearlooks_style_class_init,

| ^

../libs/clearlooks-newer/clearlooks_style.c:1652:3: warning: cast between incompatible function types from 'void (*)(ClearlooksStyle *)' {aka 'void (*)(struct _ClearlooksStyle *)'} to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type]

1652 | (GInstanceInitFunc) clearlooks_style_init,

| ^

[1213/1879] Compiling libs/vamp-plugins/BeatTrack.cpp

[1214/1879] Linking build/libs/clearlooks-newer/libclearlooks.so

[1215/1879] Compiling libs/vamp-plugins/plugins.cpp

[1216/1879] Compiling libs/vamp-plugins/TruePeak.cpp

[1217/1879] Compiling libs/vamp-plugins/Onset.cpp

[1218/1879] Compiling libs/tk/suil/x11_in_gtk2.c

[1219/1879] Compiling libs/surfaces/generic_midi/midiaction.cc

[1220/1879] Compiling libs/surfaces/generic_midi/midiinvokable.cc

[1221/1879] Compiling libs/surfaces/generic_midi/midifunction.cc

[1222/1879] Compiling libs/surfaces/generic_midi/gmcp_gui.cc

../libs/vamp-plugins/Transcription.cpp:567:5: warning: Value stored to 'power' is never read [deadcode.DeadStores]

power=sqrt(power);

^ ~~~~~~~~~~~

../libs/vamp-plugins/Transcription.cpp:583:40: warning: The left operand of '*' is a garbage value [core.UndefinedBinaryOperatorResult]

output=(input-signs[5*el+1]*x[2*el+0]-signs[5*el+2]*x[2*el+1]);

~~~~~~~~~~~~~^

../libs/vamp-plugins/Transcription.cpp:583:40: warning: The right operand of '*' is a garbage value [core.UndefinedBinaryOperatorResult]

output=(input-signs[5*el+1]*x[2*el+0]-signs[5*el+2]*x[2*el+1]);

^~~~~~~~~~

../libs/vamp-plugins/Transcription.cpp:583:64: warning: The right operand of '*' is a garbage value [core.UndefinedBinaryOperatorResult]

output=(input-signs[5*el+1]*x[2*el+0]-signs[5*el+2]*x[2*el+1]);

^~~~~~~~~~

../libs/vamp-plugins/Transcription.cpp:586:28: warning: The left operand of '+' is a garbage value [core.UndefinedBinaryOperatorResult]

sum[el]=sum[el]+signs[5*el+0]*(outputI*outputI+ outputM*outputM);

~~~~~~~^

../libs/vamp-plugins/Transcription.cpp:596:59: warning: The left operand of '+' is a garbage value [core.UndefinedBinaryOperatorResult]

*(z+count2*(int)NoteN+el)=1000000*(sum[el]+sum2[el])/(2*(int)(SR/100))+0.00001;

~~~~~~~^

../libs/vamp-plugins/Transcription.cpp:614:28: warning: The left operand of '+' is a garbage value [core.UndefinedBinaryOperatorResult]

sum[el]=sum[el]+*(z+i*(int)NoteN+el);

~~~~~~~^

../libs/vamp-plugins/Transcription.cpp:650:29: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

InputArray[MaxIndex]=In2[MaxIndex];

^~~~~~~~~~~~~~

../libs/vamp-plugins/Transcription.cpp:1508:9: warning: Assigned value is garbage or undefined [core.uninitialized.Assign]

MaxV=mean1[0];

^~~~~~~~~

../libs/vamp-plugins/Transcription.cpp:1734:9: warning: Value stored to 'maxV' is never read [deadcode.DeadStores]

maxV=0;

^ ~

../libs/vamp-plugins/Transcription.cpp:2015:9: warning: Value stored to 'endd' is never read [deadcode.DeadStores]

endd=(int)OutEnd[i];

^ ~~~~~~~~~~~~~~

11 warnings generated.

[1223/1879] Compiling libs/surfaces/generic_midi/interface.cc

[1224/1879] Compiling libs/surfaces/generic_midi/generic_midi_control_protocol.cc

[1225/1879] Compiling libs/surfaces/generic_midi/midicontrollable.cc

[1226/1879] Compiling libs/surfaces/faderport/faderport_interface.cc

[1227/1879] Compiling libs/surfaces/faderport/operations.cc

[1228/1879] Compiling libs/surfaces/faderport/faderport.cc

[1229/1879] Compiling libs/surfaces/faderport/gui.cc

[1230/1879] Compiling libs/surfaces/faderport8/faderport8_interface.cc

[1231/1879] Compiling libs/surfaces/faderport8/actions.cc

[1232/1879] Compiling libs/surfaces/faderport8/gui.cc

../libs/tk/suil/x11_in_gtk2.c:579:28: warning: Function taking 3 arguments is called with fewer (2) [core.CallAndMessage]

LV2_URID ui_updateRate = map->map(map->handle, LV2_UI__updateRate);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[1233/1879] Compiling libs/surfaces/faderport8/fp8_controls.cc

[1234/1879] Compiling libs/surfaces/faderport8/fp8_strip.cc

In file included from ../libs/ctrl-interface/midi_surface/midi_surface.cc:38:

../libs/pbd/pbd/abstract_ui.inc.cc:514:2: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

return true;

^~~~~~~~~~~

../libs/ctrl-interface/midi_surface/midi_surface.cc:375:78: warning: Called C++ object pointer is null [core.CallAndMessage]

DEBUG_TRACE (DEBUG::MIDISurface, string_compose ("data available on %1\n", port->name()));

^~~~~~~~~~~~

../libs/pbd/pbd/abstract_ui.inc.cc:49:101: note: expanded from macro 'DEBUG_TRACE'

#define DEBUG_TRACE(bits,str) if (((bits) & PBD::debug_bits).any()) { PBD::debug_only_print (#bits, str); }

^~~

../libs/ctrl-interface/midi_surface/midi_surface.cc:378:4: warning: Called C++ object pointer is null [core.CallAndMessage]

port->parse (now);

^~~~~~~~~~~~~~~~~

3 warnings generated.

[1235/1879] Linking build/libs/tk/suil/libsuil_x11_in_gtk2.so

[1236/1879] Compiling libs/surfaces/faderport8/callbacks.cc

[1237/1879] Compiling libs/surfaces/faderport8/faderport8.cc

../libs/vamp-plugins/SimilarityPlugin.cpp:655:5: warning: Attempt to free released memory [cplusplus.NewDelete]

delete[] dblbuf;

^~~~~~~~~~~~~~~

../libs/vamp-plugins/SimilarityPlugin.cpp:655:14: warning: Potential leak of memory pointed to by 'decbuf' [cplusplus.NewDeleteLeaks]

delete[] dblbuf;

^~~~~~

2 warnings generated.

[1238/1879] Linking build/libs/ctrl-interface/midi_surface/libardour_midisurface.so

[1239/1879] Compiling libs/surfaces/faderport8/faderport16_interface.cc

[1240/1879] Compiling libs/surfaces/faderport8/fp8_strip.cc

[1241/1879] Linking build/libs/vamp-plugins/libardourvampplugins.so

[1242/1879] Linking build/libs/vamp-pyin/libardourvamppyin.so

[1243/1879] Compiling libs/surfaces/faderport8/gui.cc

[1244/1879] Compiling libs/surfaces/faderport8/callbacks.cc

[1245/1879] Compiling libs/surfaces/faderport8/faderport8.cc

[1246/1879] Compiling libs/surfaces/faderport8/actions.cc

[1247/1879] Compiling libs/surfaces/faderport8/fp8_controls.cc

[1248/1879] Compiling libs/surfaces/faderport8/callbacks.cc

[1249/1879] Compiling libs/surfaces/faderport8/gui.cc

[1250/1879] Compiling libs/surfaces/faderport8/faderport8.cc

[1251/1879] Compiling libs/surfaces/faderport8/faderport2_interface.cc

[1252/1879] Compiling libs/surfaces/faderport8/fp8_controls.cc

[1253/1879] Compiling libs/surfaces/faderport8/actions.cc

[1254/1879] Compiling libs/surfaces/faderport8/fp8_strip.cc

[1255/1879] Compiling libs/surfaces/cc121/gui.cc

[1256/1879] Linking build/libs/waveview/libwaveview.so

[1257/1879] Compiling libs/surfaces/cc121/cc121_interface.cc

[1258/1879] Compiling libs/surfaces/cc121/operations.cc

[1259/1879] Compiling libs/surfaces/cc121/cc121.cc

../libs/surfaces/faderport8/gui.cc:188:2: warning: Value stored to 'row' is never read [deadcode.DeadStores]

row += 4;

^ ~

1 warning generated.

[1260/1879] Compiling libs/surfaces/mackie/strip.cc

[1261/1879] Compiling libs/surfaces/mackie/mcp_buttons.cc

[1262/1879] Compiling libs/surfaces/mackie/led.cc

[1263/1879] Compiling libs/surfaces/mackie/types.cc

[1264/1879] Compiling libs/surfaces/mackie/surface.cc

[1265/1879] Linking build/libs/surfaces/faderport/libardour_faderport.so

[1266/1879] Compiling libs/surfaces/mackie/surface_port.cc

[1267/1879] Compiling libs/surfaces/mackie/jog_wheel.cc

[1268/1879] Compiling libs/surfaces/mackie/mackie_control_protocol.cc

[1269/1879] Compiling libs/surfaces/mackie/device_profile.cc

[1270/1879] Compiling libs/surfaces/mackie/device_info.cc

[1271/1879] Compiling libs/surfaces/mackie/fader.cc

[1272/1879] Compiling libs/surfaces/mackie/button.cc

[1273/1879] Compiling libs/surfaces/mackie/midi_byte_array.cc

[1274/1879] Compiling libs/surfaces/mackie/jog.cc

[1275/1879] Compiling libs/surfaces/mackie/gui.cc

[1276/1879] Compiling libs/surfaces/mackie/meter.cc

[1277/1879] Compiling libs/surfaces/mackie/subview.cc

[1278/1879] Compiling libs/surfaces/mackie/pot.cc

[1279/1879] Compiling libs/surfaces/mackie/controls.cc

[1280/1879] Compiling libs/surfaces/mackie/interface.cc

[1281/1879] Compiling libs/surfaces/mackie/uf8_interface.cc

In file included from ../libs/surfaces/generic_midi/generic_midi_control_protocol.cc:70:

../libs/pbd/pbd/abstract_ui.inc.cc:514:2: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

return true;

^~~~~~~~~~~

../libs/surfaces/generic_midi/generic_midi_control_protocol.cc:780:7: warning: Although the value stored to 'prop' is used in the enclosing expression, the value is never actually read from 'prop' [deadcode.DeadStores]

if ((prop = root->property ("version")) == 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/surfaces/generic_midi/generic_midi_control_protocol.cc:948:3: warning: 1st function call argument is an uninitialized value [core.CallAndMessage]

mc->set_ctltype (ctltype);

^~~~~~~~~~~~~~~~~~~~~~~~~

3 warnings generated.

[1282/1879] Compiling libs/surfaces/mackie/led.cc

[1283/1879] Compiling libs/surfaces/mackie/fader.cc

[1284/1879] Compiling libs/surfaces/mackie/pot.cc

[1285/1879] Compiling libs/surfaces/mackie/meter.cc

[1286/1879] Compiling libs/surfaces/mackie/midi_byte_array.cc

[1287/1879] Compiling libs/surfaces/mackie/device_info.cc

[1288/1879] Compiling libs/surfaces/mackie/surface.cc

[1289/1879] Compiling libs/surfaces/mackie/button.cc

[1290/1879] Compiling libs/surfaces/mackie/subview.cc

[1291/1879] Compiling libs/surfaces/mackie/mackie_control_protocol.cc

[1292/1879] Compiling libs/surfaces/mackie/device_profile.cc

[1293/1879] Compiling libs/surfaces/mackie/strip.cc

[1294/1879] Compiling libs/surfaces/mackie/mcp_buttons.cc

[1295/1879] Compiling libs/surfaces/mackie/jog_wheel.cc

[1296/1879] Compiling libs/surfaces/mackie/controls.cc

[1297/1879] Compiling libs/surfaces/mackie/surface_port.cc

../libs/surfaces/mackie/strip.cc:410:13: warning: Called C++ object pointer is null [core.CallAndMessage]

} else if (_fader->control() == ac) {

^~~~~~~~~~~~~~~~~

1 warning generated.

[1298/1879] Compiling libs/surfaces/mackie/types.cc

[1299/1879] Compiling libs/surfaces/mackie/gui.cc

[1300/1879] Compiling libs/surfaces/mackie/jog.cc

[1301/1879] Compiling libs/surfaces/us2400/midi_byte_array.cc

[1302/1879] Compiling libs/surfaces/us2400/gui.cc

[1303/1879] Compiling libs/surfaces/us2400/led.cc

In file included from ../libs/surfaces/faderport8/faderport8.cc:65:

../libs/pbd/pbd/abstract_ui.inc.cc:514:2: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

return true;

^~~~~~~~~~~

1 warning generated.

[1304/1879] Compiling libs/surfaces/us2400/device_profile.cc

../libs/surfaces/mackie/gui.cc:361:3: warning: Value stored to 'dd_table' is never read [deadcode.DeadStores]

dd_table = Gtk::manage (new Gtk::Table (n_surfaces, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/surfaces/mackie/gui.cc:363:3: warning: Value stored to 'dd_table' is never read [deadcode.DeadStores]

dd_table = Gtk::manage (new Gtk::Table (1, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[1305/1879] Linking build/libs/surfaces/generic_midi/libardour_generic_midi.so

[1306/1879] Linking build/libs/surfaces/faderport8/libardour_faderport8.so

[1307/1879] Compiling libs/surfaces/us2400/fader.cc

[1308/1879] Compiling libs/surfaces/us2400/surface.cc

[1309/1879] Compiling libs/surfaces/us2400/meter.cc

[1310/1879] Compiling libs/surfaces/us2400/strip.cc

[1311/1879] Compiling libs/surfaces/us2400/pot.cc

[1312/1879] Compiling libs/surfaces/us2400/types.cc

[1313/1879] Compiling libs/surfaces/us2400/controls.cc

[1314/1879] Compiling libs/surfaces/us2400/us2400_control_protocol.cc

[1315/1879] Compiling libs/surfaces/us2400/device_info.cc

[1316/1879] Compiling libs/surfaces/us2400/jog_wheel.cc

In file included from ../libs/surfaces/faderport8/faderport8.cc:65:

../libs/pbd/pbd/abstract_ui.inc.cc:514:2: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

return true;

^~~~~~~~~~~

1 warning generated.

[1317/1879] Compiling libs/surfaces/us2400/jog.cc

[1318/1879] Compiling libs/surfaces/us2400/mcp_buttons.cc

[1319/1879] Compiling libs/surfaces/us2400/button.cc

[1320/1879] Linking build/libs/surfaces/faderport8/libardour_faderport16.so

[1321/1879] Compiling libs/surfaces/us2400/interface.cc

[1322/1879] Compiling libs/surfaces/us2400/surface_port.cc

[1323/1879] Compiling libs/surfaces/launch_control_xl/gui.cc

[1324/1879] Compiling libs/surfaces/launch_control_xl/midi_byte_array.cc

../libs/surfaces/mackie/gui.cc:361:3: warning: Value stored to 'dd_table' is never read [deadcode.DeadStores]

dd_table = Gtk::manage (new Gtk::Table (n_surfaces, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/surfaces/mackie/gui.cc:363:3: warning: Value stored to 'dd_table' is never read [deadcode.DeadStores]

dd_table = Gtk::manage (new Gtk::Table (1, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[1325/1879] Compiling libs/surfaces/launch_control_xl/interface.cc

[1326/1879] Compiling libs/surfaces/launch_control_xl/launch_control_xl.cc

[1327/1879] Compiling libs/surfaces/launch_control_xl/controllers.cc

In file included from ../libs/surfaces/cc121/cc121.cc:72:

../libs/pbd/pbd/abstract_ui.inc.cc:514:2: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

return true;

^~~~~~~~~~~

1 warning generated.

[1328/1879] Compiling libs/surfaces/launch_control_xl/leds.cc

[1329/1879] Compiling libs/surfaces/osc/osc_global_observer.cc

[1330/1879] Linking build/libs/surfaces/cc121/libardour_cc121.so

[1331/1879] Compiling libs/surfaces/osc/osc_gui.cc

../libs/surfaces/mackie/strip.cc:410:13: warning: Called C++ object pointer is null [core.CallAndMessage]

} else if (_fader->control() == ac) {

^~~~~~~~~~~~~~~~~

1 warning generated.

[1332/1879] Compiling libs/surfaces/osc/osc_route_observer.cc

In file included from ../libs/surfaces/faderport8/faderport8.cc:65:

../libs/pbd/pbd/abstract_ui.inc.cc:514:2: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

return true;

^~~~~~~~~~~

1 warning generated.

[1333/1879] Compiling libs/surfaces/osc/osc_cue_observer.cc

[1334/1879] Compiling libs/surfaces/osc/osc.cc

[1335/1879] Compiling libs/surfaces/osc/interface.cc

[1336/1879] Linking build/libs/surfaces/faderport8/libardour_faderport2.so

[1337/1879] Compiling libs/surfaces/osc/osc_select_observer.cc

[1338/1879] Compiling libs/surfaces/console1/console1.cc

[1339/1879] Compiling libs/surfaces/console1/c1_plugin_operations.cc

[1340/1879] Compiling libs/surfaces/console1/c1_operations.cc

[1341/1879] Compiling libs/surfaces/console1/console1_interface.cc

[1342/1879] Compiling libs/surfaces/console1/c1_gui.cc

[1343/1879] Compiling libs/surfaces/launchpad_pro/interface.cc

[1344/1879] Compiling libs/surfaces/launchpad_pro/lppro.cc

[1345/1879] Compiling libs/surfaces/launchpad_pro/gui.cc

In file included from ../libs/surfaces/mackie/mackie_control_protocol.cc:100:

../libs/pbd/pbd/abstract_ui.inc.cc:514:2: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

return true;

^~~~~~~~~~~

../libs/surfaces/mackie/mackie_control_protocol.cc:1767:3: warning: Called C++ object pointer is null [core.CallAndMessage]

port->parse (now);

^~~~~~~~~~~~~~~~~

2 warnings generated.

[1346/1879] Compiling libs/surfaces/launchpad_x/lpx.cc

[1347/1879] Compiling libs/surfaces/launchpad_x/launchpad_mini_interface.cc

[1348/1879] Linking build/libs/surfaces/mackie/libardour_mcp.so

[1349/1879] Compiling libs/surfaces/launchpad_x/gui.cc

[1350/1879] Compiling libs/surfaces/launchpad_x/launchpad_x_interface.cc

[1351/1879] Compiling libs/surfaces/launchpad_x/gui.cc

[1352/1879] Compiling libs/surfaces/launchpad_x/lpx.cc

../libs/surfaces/osc/osc_gui.cc:958:47: warning: Although the value stored to 'prop' is used in the enclosing expression, the value is never actually read from 'prop' [deadcode.DeadStores]

if ((child = root->child ("Name")) == 0 || (prop = child->property ("value")) == 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[1353/1879] Compiling libs/surfaces/launchkey_4/launchkey_4_interface.cc

[1354/1879] Compiling libs/surfaces/launchkey_4/launchkey_4.cc

[1355/1879] Compiling libs/surfaces/launchkey_4/gui.cc

In file included from ../libs/surfaces/mackie/mackie_control_protocol.cc:100:

../libs/pbd/pbd/abstract_ui.inc.cc:514:2: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

return true;

^~~~~~~~~~~

../libs/surfaces/mackie/mackie_control_protocol.cc:1767:3: warning: Called C++ object pointer is null [core.CallAndMessage]

port->parse (now);

^~~~~~~~~~~~~~~~~

2 warnings generated.

[1356/1879] Compiling libs/surfaces/push2/mix.cc

[1357/1879] Compiling libs/surfaces/push2/scale.cc

[1358/1879] Linking build/libs/surfaces/mackie/libardour_ssl_uf8.so

[1359/1879] Compiling libs/surfaces/push2/midi_byte_array.cc

../libs/surfaces/console1/c1_plugin_operations.cc:176:3: warning: Potential leak of memory pointed to by 'tree' [cplusplus.NewDeleteLeaks]

return;

^~~~~~

1 warning generated.

[1360/1879] Compiling libs/surfaces/push2/cues.cc

[1361/1879] Compiling libs/surfaces/push2/splash.cc

[1362/1879] Compiling libs/surfaces/push2/push2.cc

[1363/1879] Compiling libs/surfaces/push2/track_mix.cc

[1364/1879] Compiling libs/surfaces/push2/utils.cc

In file included from ../libs/surfaces/us2400/us2400_control_protocol.cc:85:

../libs/pbd/pbd/abstract_ui.inc.cc:514:2: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

return true;

^~~~~~~~~~~

../libs/surfaces/us2400/us2400_control_protocol.cc:1347:3: warning: Called C++ object pointer is null [core.CallAndMessage]

port->parse (now);

^~~~~~~~~~~~~~~~~

2 warnings generated.

[1365/1879] Compiling libs/surfaces/push2/menu.cc

[1366/1879] Compiling libs/surfaces/push2/canvas.cc

[1367/1879] Linking build/libs/surfaces/us2400/libardour_us2400.so

In file included from ../libs/surfaces/console1/c1_operations.cc:26:

In file included from ../libs/surfaces/console1/c1_control.h:5:

../libs/surfaces/console1/console1.h:503:3: warning: Undefined or garbage value returned to caller [core.uninitialized.UndefReturn]

return eq_freq_id;

^~~~~~~~~~~~~~~~~

../libs/surfaces/console1/console1.h:523:3: warning: Undefined or garbage value returned to caller [core.uninitialized.UndefReturn]

return eq_gain_id;

^~~~~~~~~~~~~~~~~

../libs/surfaces/console1/c1_operations.cc:1220:3: warning: Value stored to 'val' is never read [deadcode.DeadStores]

val = 0.0;

^ ~~~

../libs/surfaces/console1/c1_operations.cc:1226:3: warning: 1st function call argument is an uninitialized value [core.CallAndMessage]

get_encoder (controllerID)->set_value (gain);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

4 warnings generated.

[1368/1879] Compiling libs/surfaces/push2/leds.cc

[1369/1879] Compiling libs/surfaces/push2/knob.cc

[1370/1879] Compiling libs/surfaces/push2/interface.cc

[1371/1879] Compiling libs/surfaces/push2/layout.cc

[1372/1879] Compiling libs/surfaces/push2/gui.cc

[1373/1879] Compiling libs/surfaces/push2/buttons.cc

../libs/surfaces/push2/canvas.cc:107:7: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' [deadcode.DeadStores]

if ((err = libusb_bulk_transfer (_p2.usb_handle(), 0x01, _sample_header, sizeof (_sample_header), &transferred, timeout_msecs))) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/surfaces/push2/canvas.cc:111:7: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' [deadcode.DeadStores]

if ((err = libusb_bulk_transfer (_p2.usb_handle(), 0x01, (uint8_t*) _device_sample_buffer, 2 * pixel_area (), &transferred, timeout_msecs))) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[1374/1879] Compiling libs/surfaces/push2/level_meter.cc

[1375/1879] Compiling libs/surfaces/contourdesign/contourdesign.cc

[1376/1879] Compiling libs/surfaces/contourdesign/button_config_widget.cc

[1377/1879] Compiling libs/surfaces/contourdesign/interface.cc

[1378/1879] Compiling libs/surfaces/contourdesign/contourdesign_gui.cc

[1379/1879] Compiling libs/surfaces/contourdesign/jump_distance_widget.cc

[1380/1879] Compiling libs/surfaces/websockets/client.cc

[1381/1879] Compiling libs/surfaces/websockets/component.cc

[1382/1879] Compiling libs/surfaces/websockets/transport.cc

../libs/surfaces/console1/console1.cc:1063:5: warning: Value stored to 'val' is never read [deadcode.DeadStores]

val = pow (3.3 + 0.11 * rx, 4);

^ ~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[1383/1879] Compiling libs/surfaces/websockets/typed_value.cc

[1384/1879] Compiling libs/surfaces/websockets/message.cc

[1385/1879] Linking build/libs/surfaces/console1/libardour_console1.so

[1386/1879] Compiling libs/surfaces/websockets/manifest.cc

[1387/1879] Compiling libs/surfaces/websockets/ardour_websockets.cc

In file included from ../libs/surfaces/launch_control_xl/launch_control_xl.cc:68:

../libs/pbd/pbd/abstract_ui.inc.cc:514:2: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

return true;

^~~~~~~~~~~

../libs/surfaces/launch_control_xl/launch_control_xl.cc:498:82: warning: Called C++ object pointer is null [core.CallAndMessage]

DEBUG_TRACE (DEBUG::LaunchControlXL, string_compose ("data available on %1\n", port->name()));

^~~~~~~~~~~~

../libs/pbd/pbd/abstract_ui.inc.cc:49:101: note: expanded from macro 'DEBUG_TRACE'

#define DEBUG_TRACE(bits,str) if (((bits) & PBD::debug_bits).any()) { PBD::debug_only_print (#bits, str); }

^~~

../libs/surfaces/launch_control_xl/launch_control_xl.cc:501:4: warning: Called C++ object pointer is null [core.CallAndMessage]

port->parse (now);

^~~~~~~~~~~~~~~~~

3 warnings generated.

[1388/1879] Compiling libs/surfaces/websockets/interface.cc

[1389/1879] Compiling libs/surfaces/websockets/state.cc

[1390/1879] Compiling libs/surfaces/websockets/resources.cc

[1391/1879] Linking build/libs/surfaces/launch_control_xl/libardour_launch_control_xl.so

[1392/1879] Compiling libs/surfaces/websockets/dispatcher.cc

[1393/1879] Compiling libs/surfaces/websockets/mixer.cc

[1394/1879] Compiling libs/surfaces/websockets/server.cc

[1395/1879] Compiling libs/surfaces/websockets/feedback.cc

[1396/1879] Compiling libs/surfaces/websockets/json.cc

[1397/1879] Compiling libs/panners/2in2out/panner_2in2out.cc

[1398/1879] Compiling libs/panners/1in2out/panner_1in2out.cc

[1399/1879] Compiling libs/panners/vbap/vbap.cc

[1400/1879] Compiling libs/panners/vbap/vbap_speakers.cc

[1401/1879] Compiling libs/panners/stereobalance/panner_balance.cc

[1402/1879] Compiling libs/backends/jack/weak_libjack.c

[1403/1879] Compiling libs/backends/jack/jack_session.cc

../libs/surfaces/push2/push2.cc:300:7: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' [deadcode.DeadStores]

if ((err = libusb_claim_interface (_handle, 0x00))) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[1404/1879] Compiling libs/backends/jack/jack_connection.cc

In file included from ../libs/backends/jack/weak_libjack.h:194,

from ../libs/backends/jack/weak_libjack.c:20:

/home/ardour/linux-x86_64/gtk/inst/include/jack/jack.h:77:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]

77 | jack_get_version_string() JACK_OPTIONAL_WEAK_EXPORT;

| ^~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/backends/jack/weak_libjack.h:194,

from ../libs/backends/jack/weak_libjack.c:20:

/home/ardour/linux-x86_64/gtk/inst/include/jack/jack.h:1391:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]

1391 | jack_time_t jack_get_time() JACK_OPTIONAL_WEAK_EXPORT;

| ^~~~~~~~~~~

In file included from ../libs/backends/jack/weak_libjack.c:282:

../libs/backends/jack/weak_libjack.def: In function 'WJACK_client_name_size':

../libs/backends/jack/weak_libjack.def:35:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]

35 | JPFUN(1, int, client_name_size, (), (), 32)

| ^~~~~

../libs/backends/jack/weak_libjack.def: At top level:

../libs/backends/jack/weak_libjack.c:244:8: warning: no previous prototype for 'WJACK_get_time' [-Wmissing-prototypes]

244 | RTYPE WJACK_ ## NAME DEF { \

| ^~~~~~

../libs/backends/jack/weak_libjack.def:42:1: note: in expansion of macro 'JPFUN'

42 | JPFUN(1, jack_time_t, get_time, (void), (), 0)

| ^~~~~

../libs/backends/jack/weak_libjack.c:244:8: warning: no previous prototype for 'WJACK_set_sync_timeout' [-Wmissing-prototypes]

244 | RTYPE WJACK_ ## NAME DEF { \

| ^~~~~~

../libs/backends/jack/weak_libjack.def:107:1: note: in expansion of macro 'JPFUN'

107 | JPFUN(1, int, set_sync_timeout, (jack_client_t *c, jack_time_t t), (c,t), -1)

| ^~~~~

[1405/1879] Compiling libs/backends/jack/jack_utils.cc

[1406/1879] Linking build/libs/surfaces/push2/libardour_push2.so

In file included from ../libs/surfaces/contourdesign/contourdesign.cc:41:

../libs/pbd/pbd/abstract_ui.inc.cc:514:2: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

return true;

^~~~~~~~~~~

../libs/surfaces/contourdesign/contourdesign.cc:307:7: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' [deadcode.DeadStores]

if ((err = get_usb_device (ContourDesign, ShuttleXpress_id, &dev)) == LIBUSB_SUCCESS) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/surfaces/contourdesign/contourdesign.cc:310:12: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' [deadcode.DeadStores]

else if ((err = get_usb_device (ContourDesign, ShuttlePRO_id, &dev)) == LIBUSB_SUCCESS) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

3 warnings generated.

[1407/1879] Compiling libs/backends/jack/jack_portengine.cc

[1408/1879] Compiling libs/backends/jack/jack_audiobackend.cc

[1409/1879] Linking build/libs/surfaces/contourdesign/libardour_contourdesign.so

In file included from ../libs/surfaces/websockets/ardour_websockets.cc:35:

../libs/pbd/pbd/abstract_ui.inc.cc:514:2: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

return true;

^~~~~~~~~~~

1 warning generated.

[1410/1879] Compiling libs/backends/jack/jack_api.cc

[1411/1879] Compiling libs/backends/alsa/alsa_midi.cc

../libs/surfaces/launchpad_pro/lppro.cc:936:4: warning: 1st function call argument is an uninitialized value [core.CallAndMessage]

str << (int) data[n] << ' ';

^~~~~~~~~~~~~~~~~~~~

1 warning generated.

[1412/1879] Compiling libs/backends/alsa/alsa_sequencer.cc

[1413/1879] Compiling libs/backends/alsa/alsa_slave.cc

[1414/1879] Compiling libs/backends/alsa/alsa_rawmidi.cc

[1415/1879] Compiling libs/backends/alsa/alsa_audiobackend.cc

[1416/1879] Linking build/libs/surfaces/launchpad_pro/libardour_launchpad_pro.so

[1417/1879] Compiling libs/backends/alsa/zita-alsa-pcmi.cc

[1418/1879] Compiling libs/backends/pulseaudio/pulseaudio_backend.cc

[1419/1879] Compiling libs/backends/dummy/dummy_audiobackend.cc

[1420/1879] Compiling libs/plugins/reasonablesynth.lv2/lv2.c

[1421/1879] Compiling libs/plugins/a-comp.lv2/a-comp.c

[1422/1879] Compiling libs/plugins/a-exp.lv2/a-exp.c

[1423/1879] Linking build/libs/panners/2in2out/libpan2in2out.so

[1424/1879] Linking build/libs/panners/1in2out/libpan1in2out.so

[1425/1879] Compiling libs/plugins/a-delay.lv2/a-delay.c

../libs/plugins/a-comp.lv2/a-comp.c:342:14: warning: The left operand of '!=' is a garbage value due to array index out of bounds [core.UndefinedBinaryOperatorResult]

if (ins[c] != outs[c]) {

~~~~~~ ^

../libs/plugins/a-comp.lv2/a-comp.c:379:3: warning: Value stored to 'Lyg' is never read [deadcode.DeadStores]

Lyg = 0.f;

^ ~~~

2 warnings generated.

[1426/1879] Linking build/libs/panners/vbap/libpanvbap.so

../libs/backends/alsa/zita-alsa-pcmi.cc:806:7: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' [deadcode.DeadStores]

if ((err = snd_pcm_sw_params_set_tstamp_mode (handle, swpar, SND_PCM_TSTAMP_MMAP)) < 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/backends/alsa/zita-alsa-pcmi.cc:812:7: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' [deadcode.DeadStores]

if ((err = snd_pcm_sw_params_set_avail_min (handle, swpar, _fsize)) < 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/backends/alsa/zita-alsa-pcmi.cc:826:7: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' [deadcode.DeadStores]

if ((err = snd_pcm_sw_params (handle, swpar)) < 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

3 warnings generated.

[1427/1879] Linking build/libs/panners/stereobalance/libpanbalance.so

[1428/1879] Linking build/libs/LV2/a-comp.lv2/a-comp.so

[1429/1879] Compiling libs/plugins/a-eq.lv2/a-eq.c

[1430/1879] Linking build/libs/LV2/reasonablesynth.lv2/reasonablesynth.so

[1431/1879] Compiling libs/plugins/a-reverb.lv2/a-reverb.c

[1432/1879] Compiling libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc

[1433/1879] Compiling gtk2_ardour/ruler_dialog.cc

../libs/plugins/a-exp.lv2/a-exp.c:380:25: warning: Dereference of undefined pointer value [core.NullDereference]

maxabs = fmaxf(fabsf(ins[c][i]), maxabs);

^~~~~~~~~

../libs/plugins/a-exp.lv2/a-exp.c:384:3: warning: Value stored to 'Lyg' is never read [deadcode.DeadStores]

Lyg = 0.f;

^ ~~~

2 warnings generated.

[1434/1879] Compiling gtk2_ardour/track_view_list.cc

[1435/1879] Compiling gtk2_ardour/editor_rulers.cc

../libs/backends/alsa/alsa_slave.cc:260:38: warning: The left operand of '+' is a garbage value [core.UndefinedBinaryOperatorResult]

_pcmi.capt_chan (c, vec.buf[1] + c - s, spp - k, nchn);

~~~~~~~~~~ ^

1 warning generated.

[1436/1879] Compiling gtk2_ardour/automation_region_view.cc

[1437/1879] Compiling gtk2_ardour/editor_export_audio.cc

[1438/1879] Compiling gtk2_ardour/route_group_menu.cc

[1439/1879] Compiling gtk2_ardour/mini_timeline.cc

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/plugins/a-delay.lv2/a-delay.c:34:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'lv2_atom_sequence_begin':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:86:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

86 | return (LV2_Atom_Event*)(body + 1);

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'lv2_atom_sequence_end':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:93:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

93 | return (LV2_Atom_Event*)((const uint8_t*)body + lv2_atom_pad_size(size));

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'lv2_atom_sequence_next':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:109:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

109 | return (LV2_Atom_Event*)((const uint8_t*)i + sizeof(LV2_Atom_Event) +

| ^

In file included from ../libs/plugins/a-delay.lv2/a-delay.c:32:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'lv2_atom_tuple_begin':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:90:48: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

90 | #define LV2_ATOM_CONTENTS(type, atom) ((void*)((uint8_t*)(atom) + sizeof(type)))

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:102:29: note: in expansion of macro 'LV2_ATOM_CONTENTS'

102 | #define LV2_ATOM_BODY(atom) LV2_ATOM_CONTENTS(LV2_Atom, atom)

| ^~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:194:22: note: in expansion of macro 'LV2_ATOM_BODY'

194 | return (LV2_Atom*)(LV2_ATOM_BODY(tup));

| ^~~~~~~~~~~~~

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/plugins/a-delay.lv2/a-delay.c:34:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'lv2_atom_tuple_next':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:208:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

208 | return (LV2_Atom*)((const uint8_t*)i + sizeof(LV2_Atom) +

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'lv2_atom_object_begin':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:248:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

248 | return (LV2_Atom_Property_Body*)(body + 1);

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'lv2_atom_object_next':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:266:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

266 | return (LV2_Atom_Property_Body*)((const uint8_t*)i +

| ^

[1440/1879] Compiling gtk2_ardour/ardour_ui.cc

[1441/1879] Linking build/libs/LV2/a-exp.lv2/a-exp.so

[1442/1879] Compiling gtk2_ardour/processor_selection.cc

[1443/1879] Linking build/libs/LV2/a-reverb.lv2/a-reverb.so

[1444/1879] Linking build/libs/LV2/a-delay.lv2/a-delay.so

[1445/1879] Compiling gtk2_ardour/editing.cc

[1446/1879] Linking build/libs/LV2/a-eq.lv2/a-eq.so

[1447/1879] Compiling gtk2_ardour/ardour_ui2.cc

In file included from ../libs/surfaces/websockets/feedback.cc:23:

../libs/pbd/pbd/abstract_ui.inc.cc:514:2: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

return true;

^~~~~~~~~~~

1 warning generated.

[1448/1879] Linking build/libs/surfaces/launchkey_4/libardour_launchkey_4.so

[1449/1879] Compiling gtk2_ardour/velocity_display.cc

[1450/1879] Linking build/libs/surfaces/websockets/libardour_websockets.so

[1451/1879] Compiling gtk2_ardour/save_as_dialog.cc

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc:60:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_begin(const LV2_Atom_Sequence_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:86:10: warning: cast from type 'const LV2_Atom_Sequence_Body*' to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

86 | return (LV2_Atom_Event*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_end(const LV2_Atom_Sequence_Body*, uint32_t)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:93:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

93 | return (LV2_Atom_Event*)((const uint8_t*)body + lv2_atom_pad_size(size));

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_next(const LV2_Atom_Event*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:109:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

109 | return (LV2_Atom_Event*)((const uint8_t*)i + sizeof(LV2_Atom_Event) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

110 | lv2_atom_pad_size(i->body.size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc:59:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_begin(const LV2_Atom_Tuple*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:90:48: warning: cast from type 'const LV2_Atom_Tuple*' to type 'uint8_t*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual]

90 | #define LV2_ATOM_CONTENTS(type, atom) ((void*)((uint8_t*)(atom) + sizeof(type)))

| ^~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:102:29: note: in expansion of macro 'LV2_ATOM_CONTENTS'

102 | #define LV2_ATOM_BODY(atom) LV2_ATOM_CONTENTS(LV2_Atom, atom)

| ^~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:194:22: note: in expansion of macro 'LV2_ATOM_BODY'

194 | return (LV2_Atom*)(LV2_ATOM_BODY(tup));

| ^~~~~~~~~~~~~

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc:60:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_next(const LV2_Atom*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:208:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom*' casts away qualifiers [-Wcast-qual]

208 | return (LV2_Atom*)((const uint8_t*)i + sizeof(LV2_Atom) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

209 | lv2_atom_pad_size(i->size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_begin(const LV2_Atom_Object_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:248:10: warning: cast from type 'const LV2_Atom_Object_Body*' to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

248 | return (LV2_Atom_Property_Body*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_next(const LV2_Atom_Property_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:266:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

266 | return (LV2_Atom_Property_Body*)((const uint8_t*)i +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

267 | lv2_atom_pad_size(

| ~~~~~~~~~~~~~~~~~~

268 | (uint32_t)sizeof(LV2_Atom_Property_Body) +

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

269 | value->size));

| ~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_query(const LV2_Atom_Object*, LV2_Atom_Object_Query*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:349:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

349 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_body_get(uint32_t, const LV2_Atom_Object_Body*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:293:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

293 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:383:3: note: in expansion of macro 'LV2_ATOM_OBJECT_BODY_FOREACH'

383 | LV2_ATOM_OBJECT_BODY_FOREACH (body, size, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:438:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

438 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get_typed(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:494:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

494 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

../libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc: In function 'void run(LV2_Handle, uint32_t)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:128:25: warning: unnecessary parentheses in declaration of 'ev' [-Wparentheses]

128 | for (LV2_Atom_Event * (iter) = lv2_atom_sequence_begin(&(seq)->body); \

| ^

../libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc:622:2: note: in expansion of macro 'LV2_ATOM_SEQUENCE_FOREACH'

622 | LV2_ATOM_SEQUENCE_FOREACH (self->control, ev)

| ^~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc:59:

../libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc: In function 'LV2_State_Status restore(LV2_Handle, LV2_State_Retrieve_Function, LV2_State_Handle, uint32_t, const LV2_Feature* const*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:90:48: warning: cast from type 'const void*' to type 'uint8_t*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual]

90 | #define LV2_ATOM_CONTENTS(type, atom) ((void*)((uint8_t*)(atom) + sizeof(type)))

| ^~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:102:29: note: in expansion of macro 'LV2_ATOM_CONTENTS'

102 | #define LV2_ATOM_BODY(atom) LV2_ATOM_CONTENTS(LV2_Atom, atom)

| ^~~~~~~~~~~~~~~~~

../libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc:993:31: note: in expansion of macro 'LV2_ATOM_BODY'

993 | memcpy (self->queue_tuning, LV2_ATOM_BODY (value), 128 * sizeof (double));

| ^~~~~~~~~~~~~

[1452/1879] Compiling gtk2_ardour/region_fx_properties_box.cc

[1453/1879] Compiling gtk2_ardour/vst3_x11_plugin_ui.cc

[1454/1879] Linking build/libs/LV2/a-fluidsynth.lv2/a-fluidsynth.so

[1455/1879] Compiling gtk2_ardour/export_format_selector.cc

[1456/1879] Compiling gtk2_ardour/editor_keys.cc

In file included from ../libs/surfaces/osc/osc.cc:87:

../libs/pbd/pbd/abstract_ui.inc.cc:514:2: warning: Potential leak of memory pointed to by 'req' [cplusplus.NewDeleteLeaks]

return true;

^~~~~~~~~~~

../libs/surfaces/osc/osc.cc:863:4: warning: Value stored to 'ret' is never read [deadcode.DeadStores]

ret = set_bank (sur->bank, msg);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~

../libs/surfaces/osc/osc.cc:6473:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores]

ret = cue_set (1, msg);

^ ~~~~~~~~~~~~~~~~

../libs/surfaces/osc/osc.cc:6489:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores]

ret = cue_set (1, msg);

^ ~~~~~~~~~~~~~~~~

4 warnings generated.

[1457/1879] Compiling gtk2_ardour/port_matrix_component.cc

[1458/1879] Linking build/libs/surfaces/launchpad_x/libardour_launchpad_mini.so

[1459/1879] Linking build/libs/surfaces/osc/libardour_osc.so

[1460/1879] Compiling gtk2_ardour/location_ui.cc

[1461/1879] Linking build/libs/backends/jack/libjack_audiobackend.so

[1462/1879] Compiling gtk2_ardour/midi_channel_selector.cc

[1463/1879] Linking build/libs/surfaces/launchpad_x/libardour_launchpad_x.so

[1464/1879] Compiling gtk2_ardour/nag.cc

[1465/1879] Compiling gtk2_ardour/port_group.cc

[1466/1879] Compiling gtk2_ardour/foldback_strip.cc

[1467/1879] Compiling gtk2_ardour/midi_selection.cc

[1468/1879] Compiling gtk2_ardour/automation_text_entry.cc

[1469/1879] Compiling gtk2_ardour/patch_change_dialog.cc

[1470/1879] Compiling gtk2_ardour/screensaver.cc

[1471/1879] Compiling gtk2_ardour/virtual_keyboard_window.cc

[1472/1879] Linking build/libs/backends/pulseaudio/libpulseaudio_backend.so

[1473/1879] Linking build/libs/backends/dummy/libdummy_audiobackend.so

[1474/1879] Compiling gtk2_ardour/soundcloud_export_selector.cc

[1475/1879] Compiling gtk2_ardour/region_gain_line.cc

[1476/1879] Compiling gtk2_ardour/midi_view_background.cc

[1477/1879] Compiling gtk2_ardour/plugin_ui.cc

[1478/1879] Compiling gtk2_ardour/time_fx_dialog.cc

[1479/1879] Compiling gtk2_ardour/export_filename_selector.cc

../gtk2_ardour/editor_rulers.cc:651:3: warning: Value stored to 'tbpos' is never read [deadcode.DeadStores]

tbpos += timebar_height * videotl_bar_height;

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[1480/1879] Compiling gtk2_ardour/main_clock.cc

[1481/1879] Compiling gtk2_ardour/piano_roll_header.cc

[1482/1879] Compiling gtk2_ardour/splash.cc

[1483/1879] Compiling gtk2_ardour/cuebox_ui.cc

[1484/1879] Compiling gtk2_ardour/template_dialog.cc

../gtk2_ardour/midi_view_background.cc:288:3: warning: Value stored to 'highest' is never read [deadcode.DeadStores]

highest = center + ((contents_height() / nh) / 2);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/midi_view_background.cc:289:3: warning: Value stored to 'lowest' is never read [deadcode.DeadStores]

lowest = center - ((contents_height() / nh) / 2);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[1485/1879] Compiling gtk2_ardour/route_comment_editor.cc

[1486/1879] Compiling gtk2_ardour/trigger_source_list.cc

[1487/1879] Compiling gtk2_ardour/clock_group.cc

[1488/1879] Compiling gtk2_ardour/video_timeline.cc

[1489/1879] Linking build/libs/backends/alsa/libalsa_audiobackend.so

[1490/1879] Compiling gtk2_ardour/slot_properties_box.cc

[1491/1879] Compiling gtk2_ardour/patch_change_widget.cc

[1492/1879] Compiling gtk2_ardour/export_analysis_graphs.cc

[1493/1879] Compiling gtk2_ardour/return_ui.cc

[1494/1879] Compiling gtk2_ardour/plugin_dspload_window.cc

[1495/1879] Compiling gtk2_ardour/midi_tracer.cc

[1496/1879] Compiling gtk2_ardour/editor_tempodisplay.cc

[1497/1879] Compiling gtk2_ardour/audio_clock.cc

[1498/1879] Compiling gtk2_ardour/plugin_setup_dialog.cc

[1499/1879] Compiling gtk2_ardour/region_selection.cc

[1500/1879] Compiling gtk2_ardour/session_metadata_dialog.cc

[1501/1879] Compiling gtk2_ardour/rc_option_editor.cc

../gtk2_ardour/cuebox_ui.cc:311:2: warning: #warning @Ben disambiguate processor *active* vs *visibility* [-Wcpp]

311 | #warning @Ben disambiguate processor *active* vs *visibility*

| ^~~~~~~

[1502/1879] Compiling gtk2_ardour/hit.cc

[1503/1879] Compiling gtk2_ardour/ghostregion.cc

[1504/1879] Compiling gtk2_ardour/input_port_monitor.cc

[1505/1879] Compiling gtk2_ardour/missing_plugin_dialog.cc

[1506/1879] Compiling gtk2_ardour/global_port_matrix.cc

[1507/1879] Compiling gtk2_ardour/ardour_ui_options.cc

../gtk2_ardour/export_analysis_graphs.cc:163:10: warning: Value stored to 'y' during its initialization is never read [deadcode.DeadStores]

float y = p->limiter_pk[x];

^ ~~~~~~~~~~~~~~~~

../gtk2_ardour/export_analysis_graphs.cc:734:2: warning: Variable 'v' with floating point type 'float' should not be used as a loop counter [security.FloatLoopCounter]

for (float v = v_min + 5; v <= v_max; v += 10.f) {

^ ~ ~

2 warnings generated.

[1508/1879] Compiling gtk2_ardour/analysis_window.cc

In file included from ../gtk2_ardour/ardour_ui.cc:111:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../gtk2_ardour/ardour_ui.cc:111:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[1509/1879] Compiling gtk2_ardour/plugin_presets_ui.cc

[1510/1879] Compiling gtk2_ardour/plugin_selector.cc

[1511/1879] Compiling gtk2_ardour/transpose_dialog.cc

[1512/1879] Compiling gtk2_ardour/audio_clip_editor.cc

[1513/1879] Compiling gtk2_ardour/prh.cc

[1514/1879] Compiling gtk2_ardour/lv2_plugin_ui.cc

[1515/1879] Compiling gtk2_ardour/ardour_window.cc

[1516/1879] Compiling gtk2_ardour/view_background.cc

[1517/1879] Compiling gtk2_ardour/tempo_curve.cc

[1518/1879] Compiling gtk2_ardour/enums.cc

[1519/1879] Compiling gtk2_ardour/ardour_message.cc

[1520/1879] Compiling gtk2_ardour/editor_locations.cc

[1521/1879] Compiling gtk2_ardour/bundle_env_linux.cc

[1522/1879] Compiling gtk2_ardour/big_clock_window.cc

[1523/1879] Compiling gtk2_ardour/strip_export_dialog.cc

[1524/1879] Compiling gtk2_ardour/region_view.cc

[1525/1879] Compiling gtk2_ardour/audio_trigger_properties_box.cc

[1526/1879] Compiling gtk2_ardour/transport_control.cc

[1527/1879] Compiling gtk2_ardour/session_dialog.cc

[1528/1879] Compiling gtk2_ardour/editor_ops.cc

[1529/1879] Compiling gtk2_ardour/ardour_ui_engine.cc

[1530/1879] Compiling gtk2_ardour/triggerbox_ui.cc

[1531/1879] Compiling gtk2_ardour/midi_automation_line.cc

[1532/1879] Compiling gtk2_ardour/velocity_ghost_region.cc

[1533/1879] Compiling gtk2_ardour/progress_reporter.cc

[1534/1879] Compiling gtk2_ardour/ardour_ui_session.cc

[1535/1879] Compiling gtk2_ardour/editor_regions.cc

[1536/1879] Compiling gtk2_ardour/new_user_wizard.cc

[1537/1879] Compiling gtk2_ardour/midi_cut_buffer.cc

[1538/1879] Compiling gtk2_ardour/sfdb_ui.cc

[1539/1879] Compiling gtk2_ardour/recorder_group_tabs.cc

[1540/1879] Compiling gtk2_ardour/transport_masters_dialog.cc

[1541/1879] Compiling gtk2_ardour/editor_summary.cc

[1542/1879] Compiling gtk2_ardour/track_selection.cc

[1543/1879] Compiling gtk2_ardour/duplicate_routes_dialog.cc

[1544/1879] Compiling gtk2_ardour/editor_component.cc

[1545/1879] Compiling gtk2_ardour/pianoroll_midi_view.cc

[1546/1879] Compiling gtk2_ardour/video_server_dialog.cc

[1547/1879] Compiling gtk2_ardour/automation_time_axis.cc

[1548/1879] Compiling gtk2_ardour/route_params_ui.cc

[1549/1879] Compiling gtk2_ardour/video_image_frame.cc

[1550/1879] Compiling gtk2_ardour/region_list_base.cc

In file included from ../gtk2_ardour/session_dialog.cc:59:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../gtk2_ardour/session_dialog.cc:59:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[1551/1879] Compiling gtk2_ardour/send_ui.cc

[1552/1879] Compiling gtk2_ardour/mouse_cursors.cc

[1553/1879] Compiling gtk2_ardour/selection_properties_box.cc

[1554/1879] Compiling gtk2_ardour/panner_interface.cc

[1555/1879] Compiling gtk2_ardour/sys_ex.cc

[1556/1879] Compiling gtk2_ardour/region_editor_window.cc

[1557/1879] Compiling gtk2_ardour/region_layering_order_editor.cc

[1558/1879] Compiling gtk2_ardour/track_record_axis.cc

[1559/1879] Compiling gtk2_ardour/midi_view.cc

[1560/1879] Compiling gtk2_ardour/pianoroll.cc

[1561/1879] Compiling gtk2_ardour/tempo_dialog.cc

[1562/1879] Compiling gtk2_ardour/editor_section_box.cc

[1563/1879] Compiling gtk2_ardour/route_list_base.cc

../gtk2_ardour/region_editor_window.cc:34:41: warning: Called C++ object pointer is null [core.CallAndMessage]

_region_editor = new RegionEditor (s, rv->region());

^~~~~~~~~~~~

1 warning generated.

[1564/1879] Compiling gtk2_ardour/streamview.cc

[1565/1879] Compiling gtk2_ardour/mono_panner_editor.cc

[1566/1879] Compiling gtk2_ardour/marker.cc

[1567/1879] Compiling gtk2_ardour/missing_file_dialog.cc

[1568/1879] Compiling gtk2_ardour/pianoroll_velocity.cc

[1569/1879] Compiling gtk2_ardour/midi_export_dialog.cc

[1570/1879] Compiling gtk2_ardour/trigger_strip.cc

[1571/1879] Compiling gtk2_ardour/patch_change.cc

[1572/1879] Compiling gtk2_ardour/plugin_pin_dialog.cc

../gtk2_ardour/sfdb_ui.cc:220:65: warning: Value stored to 'row' is never read [deadcode.DeadStores]

table.attach (tempomap_value, 1, 2, row, row+1, FILL, FILL); row+=1;

^ ~

../gtk2_ardour/sfdb_ui.cc:1373:12: warning: Value stored to 'pre_node' during its initialization is never read [deadcode.DeadStores]

XMLNode *pre_node = node->child ("previews");

^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[1573/1879] Compiling gtk2_ardour/io_selector.cc

In file included from ../gtk2_ardour/automation_time_axis.cc:33:

In file included from /home/ardour/linux-x86_64/gtk/inst/include/boost/algorithm/string.hpp:19:

In file included from /home/ardour/linux-x86_64/gtk/inst/include/boost/algorithm/string/trim.hpp:23:

In file included from /home/ardour/linux-x86_64/gtk/inst/include/boost/algorithm/string/classification.hpp:18:

/home/ardour/linux-x86_64/gtk/inst/include/boost/algorithm/string/detail/classification.hpp:135:25: warning: Potential memory leak [cplusplus.NewDeleteLeaks]

if(!use_fixed_storage(m_Size) && m_Storage.m_dynSet!=0)

^~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/boost/algorithm/string/detail/classification.hpp:139:17: warning: Potential memory leak [cplusplus.NewDeleteLeaks]

}

^

2 warnings generated.

[1574/1879] Compiling gtk2_ardour/new_plugin_preset_dialog.cc

[1575/1879] Compiling gtk2_ardour/plugin_eq_gui.cc

[1576/1879] Compiling gtk2_ardour/io_button.cc

[1577/1879] Compiling gtk2_ardour/route_processor_selection.cc

[1578/1879] Compiling gtk2_ardour/ardour_ui_access_web.cc

[1579/1879] Compiling gtk2_ardour/region_editor.cc

[1580/1879] Compiling gtk2_ardour/simple_export_dialog.cc

[1581/1879] Compiling gtk2_ardour/transcode_video_dialog.cc

[1582/1879] Compiling gtk2_ardour/editor_group_tabs.cc

[1583/1879] Compiling gtk2_ardour/source_list_base.cc

[1584/1879] Compiling gtk2_ardour/luainstance.cc

[1585/1879] Compiling gtk2_ardour/route_time_axis.cc

[1586/1879] Compiling gtk2_ardour/export_timespan_selector.cc

[1587/1879] Compiling gtk2_ardour/time_axis_view_item.cc

[1588/1879] Compiling gtk2_ardour/midi_streamview.cc

[1589/1879] Compiling gtk2_ardour/luadialog.cc

[1590/1879] Compiling gtk2_ardour/rta_manager.cc

[1591/1879] Compiling gtk2_ardour/editor_selection.cc

[1592/1879] Compiling gtk2_ardour/export_report.cc

../gtk2_ardour/plugin_eq_gui.cc:771:2: warning: Variable 'dB' with floating point type 'float' should not be used as a loop counter [security.FloatLoopCounter]

for (float dB = 0.0; dB < _max_dB; dB += _step_dB) {

^ ~~ ~~

../gtk2_ardour/plugin_eq_gui.cc:798:2: warning: Variable 'dB' with floating point type 'float' should not be used as a loop counter [security.FloatLoopCounter]

for (float dB = - _step_dB; dB > _min_dB; dB -= _step_dB) {

^ ~~ ~~

2 warnings generated.

[1593/1879] Compiling gtk2_ardour/editor_cursors.cc

[1594/1879] Compiling gtk2_ardour/editor_sections.cc

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/ardour/surround_return.h:27,

from ../gtk2_ardour/simple_export_dialog.cc:34:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_begin(const LV2_Atom_Sequence_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:86:10: warning: cast from type 'const LV2_Atom_Sequence_Body*' to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

86 | return (LV2_Atom_Event*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_end(const LV2_Atom_Sequence_Body*, uint32_t)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:93:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

93 | return (LV2_Atom_Event*)((const uint8_t*)body + lv2_atom_pad_size(size));

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_next(const LV2_Atom_Event*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:109:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

109 | return (LV2_Atom_Event*)((const uint8_t*)i + sizeof(LV2_Atom_Event) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

110 | lv2_atom_pad_size(i->body.size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/ardour/surround_return.h:26,

from ../gtk2_ardour/simple_export_dialog.cc:34:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_begin(const LV2_Atom_Tuple*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:90:48: warning: cast from type 'const LV2_Atom_Tuple*' to type 'uint8_t*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual]

90 | #define LV2_ATOM_CONTENTS(type, atom) ((void*)((uint8_t*)(atom) + sizeof(type)))

| ^~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:102:29: note: in expansion of macro 'LV2_ATOM_CONTENTS'

102 | #define LV2_ATOM_BODY(atom) LV2_ATOM_CONTENTS(LV2_Atom, atom)

| ^~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:194:22: note: in expansion of macro 'LV2_ATOM_BODY'

194 | return (LV2_Atom*)(LV2_ATOM_BODY(tup));

| ^~~~~~~~~~~~~

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/ardour/surround_return.h:27,

from ../gtk2_ardour/simple_export_dialog.cc:34:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_next(const LV2_Atom*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:208:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom*' casts away qualifiers [-Wcast-qual]

208 | return (LV2_Atom*)((const uint8_t*)i + sizeof(LV2_Atom) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

209 | lv2_atom_pad_size(i->size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_begin(const LV2_Atom_Object_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:248:10: warning: cast from type 'const LV2_Atom_Object_Body*' to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

248 | return (LV2_Atom_Property_Body*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_next(const LV2_Atom_Property_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:266:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

266 | return (LV2_Atom_Property_Body*)((const uint8_t*)i +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

267 | lv2_atom_pad_size(

| ~~~~~~~~~~~~~~~~~~

268 | (uint32_t)sizeof(LV2_Atom_Property_Body) +

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

269 | value->size));

| ~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_query(const LV2_Atom_Object*, LV2_Atom_Object_Query*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:349:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

349 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_body_get(uint32_t, const LV2_Atom_Object_Body*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:293:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

293 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:383:3: note: in expansion of macro 'LV2_ATOM_OBJECT_BODY_FOREACH'

383 | LV2_ATOM_OBJECT_BODY_FOREACH (body, size, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:438:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

438 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get_typed(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:494:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

494 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

[1595/1879] Compiling gtk2_ardour/insert_remove_time_dialog.cc

[1596/1879] Compiling gtk2_ardour/editor_sources.cc

[1597/1879] Compiling gtk2_ardour/transcode_ffmpeg.cc

[1598/1879] Compiling gtk2_ardour/editor_route_groups.cc

[1599/1879] Compiling gtk2_ardour/editor_automation_line.cc

[1600/1879] Compiling gtk2_ardour/engine_dialog.cc

[1601/1879] Compiling gtk2_ardour/configinfo.cc

[1602/1879] Compiling gtk2_ardour/bbt_marker_dialog.cc

In file included from ../gtk2_ardour/luadialog.cc:34:

In file included from ../gtk2_ardour/luadialog.h:27:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../gtk2_ardour/luadialog.cc:34:

In file included from ../gtk2_ardour/luadialog.h:27:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[1603/1879] Compiling gtk2_ardour/audio_time_axis.cc

[1604/1879] Compiling gtk2_ardour/dsp_stats_window.cc

../gtk2_ardour/export_report.cc:250:13: warning: Value stored to 'htn' during its initialization is never read [deadcode.DeadStores]

const int htn = lin[0] * 1.25 + lin[1] * 1.25 + lin[2] * 1.25 + lin[3];

^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/export_report.cc:794:5: warning: Value stored to 'tbl_h' is never read [deadcode.DeadStores]

tbl_h += conf->get_height() + 4;

^ ~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/export_report.cc:801:5: warning: Value stored to 'png_y0' is never read [deadcode.DeadStores]

png_y0 += conf->get_height() + 4;

^ ~~~~~~~~~~~~~~~~~~~~~~

3 warnings generated.

[1605/1879] Compiling gtk2_ardour/region_ui_settings.cc

[1606/1879] Compiling gtk2_ardour/ardour_http.cc

[1607/1879] Compiling gtk2_ardour/trigger_route_list.cc

[1608/1879] Compiling gtk2_ardour/vca_master_strip.cc

[1609/1879] Compiling gtk2_ardour/pianoroll_background.cc

[1610/1879] Compiling gtk2_ardour/ui_config.cc

[1611/1879] Compiling gtk2_ardour/quantize_dialog.cc

[1612/1879] Compiling gtk2_ardour/ardour_ui_video.cc

[1613/1879] Compiling gtk2_ardour/loudness_settings.cc

[1614/1879] Compiling gtk2_ardour/actions.cc

../gtk2_ardour/ardour_http.cc:198:2: warning: Use of memory after it is freed [unix.Malloc]

return rv;

^~~~~~~~~

1 warning generated.

[1615/1879] Compiling gtk2_ardour/monitor_section.cc

[1616/1879] Compiling gtk2_ardour/verbose_cursor.cc

[1617/1879] Compiling gtk2_ardour/processor_box.cc

[1618/1879] Compiling gtk2_ardour/utils.cc

[1619/1879] Compiling gtk2_ardour/timectl_gui.cc

[1620/1879] Compiling gtk2_ardour/trigger_jump_dialog.cc

[1621/1879] Compiling gtk2_ardour/shuttle_control.cc

../gtk2_ardour/editor_selection.cc:1979:3: warning: Called C++ object pointer is null [core.CallAndMessage]

owner->get_selectables (start, end, top, bot, found);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[1622/1879] Compiling gtk2_ardour/mixer_strip.cc

[1623/1879] Compiling gtk2_ardour/application_bar.cc

[1624/1879] Compiling gtk2_ardour/midi_region_view.cc

[1625/1879] Compiling gtk2_ardour/region_peak_cursor.cc

In file included from ../gtk2_ardour/luainstance.cc:42:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../gtk2_ardour/luainstance.cc:42:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[1626/1879] Compiling gtk2_ardour/editor_pt_import.cc

[1627/1879] Compiling gtk2_ardour/strip_silence_dialog.cc

[1628/1879] Compiling gtk2_ardour/step_entry.cc

[1629/1879] Compiling gtk2_ardour/timers.cc

[1630/1879] Compiling gtk2_ardour/step_editor.cc

[1631/1879] Compiling gtk2_ardour/main.cc

[1632/1879] Compiling gtk2_ardour/led.cc

[1633/1879] Compiling gtk2_ardour/opts.cc

[1634/1879] Compiling gtk2_ardour/speaker_dialog.cc

[1635/1879] Compiling gtk2_ardour/plugin_window_proxy.cc

[1636/1879] Compiling gtk2_ardour/ardour_ui_aaf.cc

[1637/1879] Compiling gtk2_ardour/note_base.cc

../gtk2_ardour/shuttle_control.cc:678:4: warning: Value stored to 'speed' is never read [deadcode.DeadStores]

speed = requested_speed;

^ ~~~~~~~~~~~~~~~

1 warning generated.

[1638/1879] Compiling gtk2_ardour/interthread_progress_window.cc

[1639/1879] Compiling gtk2_ardour/idleometer.cc

[1640/1879] Compiling gtk2_ardour/big_transport_window.cc

[1641/1879] Compiling gtk2_ardour/debug.cc

[1642/1879] Compiling gtk2_ardour/ghost_event.cc

[1643/1879] Compiling gtk2_ardour/edit_note_dialog.cc

[1644/1879] Compiling gtk2_ardour/fft.cc

[1645/1879] Compiling gtk2_ardour/stripable_colorpicker.cc

[1646/1879] Compiling gtk2_ardour/automation_controller.cc

[1647/1879] Compiling gtk2_ardour/export_channel_selector.cc

[1648/1879] Compiling gtk2_ardour/tempo_map_change.cc

[1649/1879] Compiling gtk2_ardour/midi_trigger_properties_box.cc

[1650/1879] Compiling gtk2_ardour/rta_window.cc

[1651/1879] Compiling gtk2_ardour/trigger_clip_picker.cc

../gtk2_ardour/engine_dialog.cc:603:3: warning: Value stored to 'btn' is never read [deadcode.DeadStores]

btn += 2;

^ ~

../gtk2_ardour/engine_dialog.cc:822:3: warning: Value stored to 'valid' is never read [deadcode.DeadStores]

valid = false;

^ ~~~~~

../gtk2_ardour/engine_dialog.cc:847:3: warning: Value stored to 'valid' is never read [deadcode.DeadStores]

valid = false;

^ ~~~~~

3 warnings generated.

[1652/1879] Compiling gtk2_ardour/surround_strip.cc

[1653/1879] Compiling gtk2_ardour/instrument_selector.cc

../gtk2_ardour/application_bar.cc:795:18: warning: Forming reference to null pointer [core.NonNullParamChecker]

_basic_ui = new BasicUI (*s);

^~~~~~~~~~~~

1 warning generated.

[1654/1879] Compiling gtk2_ardour/note_player.cc

[1655/1879] Compiling gtk2_ardour/selection.cc

[1656/1879] Compiling gtk2_ardour/stereo_panner.cc

[1657/1879] Compiling gtk2_ardour/fitted_canvas_widget.cc

[1658/1879] Compiling gtk2_ardour/gain_meter.cc

[1659/1879] Compiling gtk2_ardour/note_select_dialog.cc

[1660/1879] Compiling gtk2_ardour/loudness_dialog.cc

[1661/1879] Compiling gtk2_ardour/sfdb_freesound_mootcher.cc

[1662/1879] Compiling gtk2_ardour/lua_script_manager.cc

[1663/1879] Compiling gtk2_ardour/export_file_notebook.cc

[1664/1879] Compiling gtk2_ardour/normalize_dialog.cc

[1665/1879] Compiling gtk2_ardour/video_monitor.cc

[1666/1879] Compiling gtk2_ardour/time_info_box.cc

[1667/1879] Compiling gtk2_ardour/route_ui.cc

[1668/1879] Compiling gtk2_ardour/nsm.cc

[1669/1879] Compiling gtk2_ardour/grid_lines.cc

[1670/1879] Compiling gtk2_ardour/editor_snapshots.cc

../gtk2_ardour/midi_view.cc:1244:3: warning: Value stored to 'low_note' is never read [deadcode.DeadStores]

low_note = UIConfiguration::instance().get_default_lower_midi_note();

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/midi_view.cc:1245:3: warning: Value stored to 'hi_note' is never read [deadcode.DeadStores]

hi_note = UIConfiguration::instance().get_default_upper_midi_note();

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/midi_view.cc:1255:9: warning: Branch condition evaluates to a garbage value [core.uninitialized.Branch]

if (visible) {

^~~~~~~

3 warnings generated.

[1671/1879] Compiling gtk2_ardour/time_selection.cc

[1672/1879] Compiling gtk2_ardour/panner_ui.cc

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/ardour/surround_return.h:27,

from ../gtk2_ardour/surround_strip.cc:26:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_begin(const LV2_Atom_Sequence_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:86:10: warning: cast from type 'const LV2_Atom_Sequence_Body*' to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

86 | return (LV2_Atom_Event*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_end(const LV2_Atom_Sequence_Body*, uint32_t)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:93:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

93 | return (LV2_Atom_Event*)((const uint8_t*)body + lv2_atom_pad_size(size));

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Event* lv2_atom_sequence_next(const LV2_Atom_Event*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:109:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Event*' casts away qualifiers [-Wcast-qual]

109 | return (LV2_Atom_Event*)((const uint8_t*)i + sizeof(LV2_Atom_Event) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

110 | lv2_atom_pad_size(i->body.size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../libs/ardour/ardour/surround_return.h:26,

from ../gtk2_ardour/surround_strip.cc:26:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_begin(const LV2_Atom_Tuple*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:90:48: warning: cast from type 'const LV2_Atom_Tuple*' to type 'uint8_t*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual]

90 | #define LV2_ATOM_CONTENTS(type, atom) ((void*)((uint8_t*)(atom) + sizeof(type)))

| ^~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/atom.h:102:29: note: in expansion of macro 'LV2_ATOM_CONTENTS'

102 | #define LV2_ATOM_BODY(atom) LV2_ATOM_CONTENTS(LV2_Atom, atom)

| ^~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:194:22: note: in expansion of macro 'LV2_ATOM_BODY'

194 | return (LV2_Atom*)(LV2_ATOM_BODY(tup));

| ^~~~~~~~~~~~~

In file included from /home/ardour/linux-x86_64/gtk/inst/include/lv2/lv2plug.in/ns/ext/atom/forge.h:55,

from ../libs/ardour/ardour/surround_return.h:27,

from ../gtk2_ardour/surround_strip.cc:26:

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom* lv2_atom_tuple_next(const LV2_Atom*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:208:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom*' casts away qualifiers [-Wcast-qual]

208 | return (LV2_Atom*)((const uint8_t*)i + sizeof(LV2_Atom) +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

209 | lv2_atom_pad_size(i->size));

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_begin(const LV2_Atom_Object_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:248:10: warning: cast from type 'const LV2_Atom_Object_Body*' to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

248 | return (LV2_Atom_Property_Body*)(body + 1);

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'LV2_Atom_Property_Body* lv2_atom_object_next(const LV2_Atom_Property_Body*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:266:10: warning: cast from type 'const uint8_t*' {aka 'const unsigned char*'} to type 'LV2_Atom_Property_Body*' casts away qualifiers [-Wcast-qual]

266 | return (LV2_Atom_Property_Body*)((const uint8_t*)i +

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

267 | lv2_atom_pad_size(

| ~~~~~~~~~~~~~~~~~~

268 | (uint32_t)sizeof(LV2_Atom_Property_Body) +

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

269 | value->size));

| ~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_query(const LV2_Atom_Object*, LV2_Atom_Object_Query*)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:349:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

349 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_body_get(uint32_t, const LV2_Atom_Object_Body*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:293:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

293 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:383:3: note: in expansion of macro 'LV2_ATOM_OBJECT_BODY_FOREACH'

383 | LV2_ATOM_OBJECT_BODY_FOREACH (body, size, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:438:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

438 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h: In function 'int lv2_atom_object_get_typed(const LV2_Atom_Object*, ...)':

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:287:33: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]

287 | for (LV2_Atom_Property_Body * (iter) = lv2_atom_object_begin(&(obj)->body); \

| ^

/home/ardour/linux-x86_64/gtk/inst/include/lv2/atom/util.h:494:3: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'

494 | LV2_ATOM_OBJECT_FOREACH (object, prop) {

| ^~~~~~~~~~~~~~~~~~~~~~~

[1673/1879] Compiling gtk2_ardour/editor_routes.cc

[1674/1879] Compiling gtk2_ardour/pianoroll_automation_line.cc

[1675/1879] Compiling gtk2_ardour/editor_markers.cc

In file included from ../gtk2_ardour/lua_script_manager.cc:28:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../gtk2_ardour/lua_script_manager.cc:28:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[1676/1879] Compiling gtk2_ardour/generic_pluginui.cc

[1677/1879] Compiling gtk2_ardour/editor_audio_import.cc

[1678/1879] Compiling gtk2_ardour/midi_channel_dialog.cc

[1679/1879] Compiling gtk2_ardour/control_point.cc

[1680/1879] Compiling gtk2_ardour/editor_mouse.cc

[1681/1879] Compiling gtk2_ardour/keyboard.cc

[1682/1879] Compiling gtk2_ardour/editor_drag.cc

[1683/1879] Compiling gtk2_ardour/editor_videotimeline.cc

[1684/1879] Compiling gtk2_ardour/ardour_ui3.cc

[1685/1879] Compiling gtk2_ardour/pianokeyboard.cc

[1686/1879] Compiling gtk2_ardour/ardour_ui_dialogs.cc

[1687/1879] Compiling gtk2_ardour/fft_result.cc

[1688/1879] Compiling gtk2_ardour/editor.cc

[1689/1879] Compiling gtk2_ardour/ardour_ui_dependents.cc

[1690/1879] Compiling gtk2_ardour/vst3_plugin_ui.cc

[1691/1879] Compiling gtk2_ardour/mixer_ui.cc

[1692/1879] Compiling gtk2_ardour/public_editor.cc

[1693/1879] Compiling gtk2_ardour/automation_line.cc

[1694/1879] Compiling gtk2_ardour/window_manager.cc

[1695/1879] Compiling gtk2_ardour/rec_info_box.cc

In file included from ../gtk2_ardour/processor_box.cc:82:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../gtk2_ardour/processor_box.cc:82:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[1696/1879] Compiling gtk2_ardour/mixer_group_tabs.cc

[1697/1879] Compiling gtk2_ardour/port_insert_ui.cc

[1698/1879] Compiling gtk2_ardour/control_point_dialog.cc

[1699/1879] Compiling gtk2_ardour/meterbridge.cc

[1700/1879] Compiling gtk2_ardour/trigger_region_list.cc

[1701/1879] Compiling gtk2_ardour/audio_region_view.cc

[1702/1879] Compiling gtk2_ardour/session_archive_dialog.cc

../gtk2_ardour/editor_audio_import.cc:167:7: warning: Although the value stored to 'existing' is used in the enclosing expression, the value is never actually read from 'existing' [deadcode.DeadStores]

if ((existing = _session->count_sources_by_origin (path)) > 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[1703/1879] Compiling gtk2_ardour/plugin_manager_ui.cc

[1704/1879] Compiling gtk2_ardour/luawindow.cc

[1705/1879] Compiling gtk2_ardour/export_dialog.cc

[1706/1879] Compiling gtk2_ardour/vca_time_axis.cc

../gtk2_ardour/editor_mouse.cc:888:11: warning: Called C++ object pointer is null [core.CallAndMessage]

if (!clicked_regionview->region()->locked() && (Config->get_edit_mode() != Lock)) {

^~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[1707/1879] Compiling gtk2_ardour/startup_fsm.cc

[1708/1879] Compiling gtk2_ardour/ardour_ui_ed.cc

[1709/1879] Compiling gtk2_ardour/linux_vst_gui_support.cc

[1710/1879] Compiling gtk2_ardour/port_matrix_column_labels.cc

[1711/1879] Compiling gtk2_ardour/pianoroll_window.cc

[1712/1879] Compiling gtk2_ardour/utils_videotl.cc

[1713/1879] Compiling gtk2_ardour/note.cc

[1714/1879] Compiling gtk2_ardour/panner_editor.cc

[1715/1879] Compiling gtk2_ardour/port_matrix_body.cc

[1716/1879] Compiling gtk2_ardour/ardour_ui_keys.cc

[1717/1879] Compiling gtk2_ardour/about.cc

[1718/1879] Compiling gtk2_ardour/gui_object.cc

[1719/1879] Compiling gtk2_ardour/port_matrix_grid.cc

[1720/1879] Compiling gtk2_ardour/port_matrix.cc

[1721/1879] Compiling gtk2_ardour/search_path_option.cc

[1722/1879] Compiling gtk2_ardour/stereo_panner_editor.cc

[1723/1879] Compiling gtk2_ardour/route_group_dialog.cc

[1724/1879] Compiling gtk2_ardour/boundary.cc

In file included from ../gtk2_ardour/luawindow.cc:45:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../gtk2_ardour/luawindow.cc:45:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[1725/1879] Compiling gtk2_ardour/control_slave_ui.cc

[1726/1879] Compiling gtk2_ardour/option_editor.cc

[1727/1879] Compiling gtk2_ardour/port_matrix_row_labels.cc

[1728/1879] Compiling gtk2_ardour/plugin_display.cc

[1729/1879] Compiling gtk2_ardour/library_download_dialog.cc

[1730/1879] Compiling gtk2_ardour/editor_actions.cc

[1731/1879] Compiling gtk2_ardour/script_selector.cc

[1732/1879] Compiling gtk2_ardour/floating_text_entry.cc

[1733/1879] Compiling gtk2_ardour/color_theme_manager.cc

[1734/1879] Compiling gtk2_ardour/axis_view.cc

[1735/1879] Compiling gtk2_ardour/selection_memento.cc

[1736/1879] Compiling gtk2_ardour/editor_timefx.cc

[1737/1879] Compiling gtk2_ardour/meter_patterns.cc

[1738/1879] Compiling gtk2_ardour/midi_util.cc

[1739/1879] Compiling gtk2_ardour/plugin_scan_dialog.cc

[1740/1879] Compiling gtk2_ardour/ardour_dialog.cc

[1741/1879] Compiling gtk2_ardour/missing_filesource_dialog.cc

[1742/1879] Compiling gtk2_ardour/transform_dialog.cc

../gtk2_ardour/audio_region_view.cc:1729:19: warning: Value stored to 'outline' during its initialization is never read [deadcode.DeadStores]

Gtkmm2ext::Color outline = fill;

^~~~~~~ ~~~~

1 warning generated.

[1743/1879] Compiling gtk2_ardour/recorder_ui.cc

../gtk2_ardour/color_theme_manager.cc:319:73: warning: Potential leak of memory pointed to by 'r' [cplusplus.NewDeleteLeaks]

for (uint32_t x = 0; x < width - box_size && color_num < color_limit; x += box_size) {

^

1 warning generated.

[1744/1879] Compiling gtk2_ardour/keyeditor.cc

[1745/1879] Compiling gtk2_ardour/curvetest.cc

[1746/1879] Compiling gtk2_ardour/fft_graph.cc

[1747/1879] Compiling gtk2_ardour/prh_base.cc

[1748/1879] Compiling gtk2_ardour/region_fx_line.cc

[1749/1879] Compiling gtk2_ardour/editor_mixer.cc

[1750/1879] Compiling gtk2_ardour/export_preset_selector.cc

../gtk2_ardour/meter_patterns.cc:1019:5: warning: Value stored to 'tw' is never read [deadcode.DeadStores]

tw = th = 0;

^ ~~~~~~

../gtk2_ardour/meter_patterns.cc:1019:10: warning: Although the value stored to 'th' is used in the enclosing expression, the value is never actually read from 'th' [deadcode.DeadStores]

tw = th = 0;

^ ~

2 warnings generated.

[1751/1879] Compiling gtk2_ardour/midi_velocity_dialog.cc

[1752/1879] Compiling gtk2_ardour/export_format_dialog.cc

[1753/1879] Compiling gtk2_ardour/level_meter.cc

[1754/1879] Compiling gtk2_ardour/nsmclient.cc

[1755/1879] Compiling gtk2_ardour/route_properties_box.cc

[1756/1879] Compiling gtk2_ardour/group_tabs.cc

[1757/1879] Compiling gtk2_ardour/mono_panner.cc

[1758/1879] Compiling gtk2_ardour/cue_editor.cc

[1759/1879] Compiling gtk2_ardour/piano_key_bindings.cc

[1760/1879] Compiling gtk2_ardour/trigger_page.cc

[1761/1879] Compiling gtk2_ardour/io_plugin_window.cc

../gtk2_ardour/fft_graph.cc:494:6: warning: Value stored to 'btm_lbl' during its initialization is never read [deadcode.DeadStores]

int btm_lbl = fft_pane_size_h;

^~~~~~~ ~~~~~~~~~~~~~~~

1 warning generated.

[1762/1879] Compiling gtk2_ardour/pingback.cc

[1763/1879] Compiling gtk2_ardour/vst_plugin_ui.cc

../gtk2_ardour/prh_base.cc:203:3: warning: Value stored to 'lowest' is never read [deadcode.DeadStores]

lowest = 0;

^ ~

../gtk2_ardour/prh_base.cc:356:3: warning: 2nd function call argument is an uninitialized value [core.CallAndMessage]

Gtkmm2ext::set_source_rgba (cr, bg);

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[1764/1879] Compiling gtk2_ardour/panner2d.cc

[1765/1879] Compiling gtk2_ardour/audio_region_editor.cc

[1766/1879] Compiling gtk2_ardour/time_axis_view.cc

../gtk2_ardour/editor_mixer.cc:214:7: warning: Although the value stored to 'atv' is used in the enclosing expression, the value is never actually read from 'atv' [deadcode.DeadStores]

if ((atv = dynamic_cast<AutomationTimeAxisView*>(&view)) != 0) {

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[1767/1879] Compiling gtk2_ardour/mergeable_line.cc

[1768/1879] Compiling gtk2_ardour/session_option_editor.cc

../gtk2_ardour/editor.cc:408:2: warning: Value stored to 'rtbl' is never read [deadcode.DeadStores]

rtbl = setup_ruler_new (_ruler_box_minsec, _ruler_labels, _("Mins:Secs"));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/editor.cc:410:2: warning: Value stored to 'rtbl' is never read [deadcode.DeadStores]

rtbl = setup_ruler_new (_ruler_box_timecode, _ruler_labels, _("Timecode"));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/editor.cc:412:2: warning: Value stored to 'rtbl' is never read [deadcode.DeadStores]

rtbl = setup_ruler_new (_ruler_box_samples, _ruler_labels, _("Samples"));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/editor.cc:414:2: warning: Value stored to 'rtbl' is never read [deadcode.DeadStores]

rtbl = setup_ruler_new (_ruler_box_bbt, _ruler_labels, _("Bars:Beats"));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/editor.cc:437:2: warning: Value stored to 'rtbl' is never read [deadcode.DeadStores]

rtbl = setup_ruler_new (_ruler_box_videotl, _ruler_labels, &videotl_label);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/editor.cc:4830:29: warning: Called C++ object pointer is null [core.CallAndMessage]

TimeAxisView::Children c = tv->get_child_list ();

^~~~~~~~~~~~~~~~~~~~~

6 warnings generated.

[1769/1879] Compiling gtk2_ardour/ardour_ui_startup.cc

[1770/1879] Compiling gtk2_ardour/port_matrix_labels.cc

[1771/1879] Compiling gtk2_ardour/lxvst_plugin_ui.cc

In file included from ../gtk2_ardour/editor_actions.cc:47:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../gtk2_ardour/editor_actions.cc:47:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[1772/1879] Compiling gtk2_ardour/editor_canvas_events.cc

[1773/1879] Compiling gtk2_ardour/strip_import_dialog.cc

[1774/1879] Compiling gtk2_ardour/add_route_dialog.cc

[1775/1879] Compiling gtk2_ardour/midi_list_editor.cc

[1776/1879] Compiling gtk2_ardour/save_template_dialog.cc

[1777/1879] Compiling gtk2_ardour/plugin_dspload_ui.cc

[1778/1879] Compiling gtk2_ardour/pt_import_selector.cc

[1779/1879] Compiling gtk2_ardour/editor_audiotrack.cc

[1780/1879] Compiling gtk2_ardour/dsp_stats_ui.cc

[1781/1879] Compiling gtk2_ardour/audio_streamview.cc

[1782/1879] Compiling gtk2_ardour/rhythm_ferret.cc

[1783/1879] Compiling gtk2_ardour/visibility_group.cc

[1784/1879] Compiling gtk2_ardour/add_video_dialog.cc

[1785/1879] Compiling gtk2_ardour/ardour_ui_mixer.cc

[1786/1879] Compiling gtk2_ardour/ambiguous_file_dialog.cc

../gtk2_ardour/recorder_ui.cc:238:2: warning: Value stored to 'col' is never read [deadcode.DeadStores]

col += 1;

^ ~

1 warning generated.

[1787/1879] Compiling gtk2_ardour/meter_strip.cc

In file included from ../gtk2_ardour/add_route_dialog.cc:51:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../gtk2_ardour/add_route_dialog.cc:51:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[1788/1879] Compiling gtk2_ardour/trigger_ui.cc

[1789/1879] Compiling gtk2_ardour/editor_canvas.cc

[1790/1879] Compiling gtk2_ardour/playlist_selector.cc

[1791/1879] Compiling gtk2_ardour/trigger_master.cc

[1792/1879] Compiling gtk2_ardour/editing_context.cc

[1793/1879] Compiling gtk2_ardour/export_video_dialog.cc

[1794/1879] Compiling gtk2_ardour/varispeed_dialog.cc

[1795/1879] Compiling gtk2_ardour/midi_time_axis.cc

[1796/1879] Compiling gtk2_ardour/transport_control_ui.cc

[1797/1879] Compiling gtk2_ardour/bundle_manager.cc

[1798/1879] Compiling gtk2_ardour/automation_streamview.cc

../gtk2_ardour/dsp_stats_ui.cc:243:3: warning: Value stored to 'min' is never read [deadcode.DeadStores]

min -= smin;

^ ~~~~

1 warning generated.

[1799/1879] Compiling gtk2_ardour/stripable_time_axis.cc

[1800/1879] Compiling headless/misc.cc

[1801/1879] Compiling headless/load_session.cc

[1802/1879] Compiling luasession/luasession.cc

[1803/1879] Compiling session_utils/copy-mixer.cc

[1804/1879] Compiling session_utils/common.cc

[1805/1879] Compiling session_utils/export.cc

[1806/1879] Compiling session_utils/common.cc

[1807/1879] Compiling session_utils/new_empty_session.cc

../gtk2_ardour/trigger_master.cc:728:2: warning: #warning @Ben disambiguate processor *active* vs *visibility* [-Wcpp]

728 | #warning @Ben disambiguate processor *active* vs *visibility*

| ^~~~~~~

[1808/1879] Compiling session_utils/common.cc

../gtk2_ardour/trigger_ui.cc:409:2: warning: Called C++ object pointer is null [core.CallAndMessage]

tref.box()->begin_midi_learn (trigger()->index());

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/trigger_ui.cc:415:2: warning: Called C++ object pointer is null [core.CallAndMessage]

tref.box()->midi_unlearn (trigger()->index());

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

[1809/1879] Compiling session_utils/common.cc

../gtk2_ardour/editor_drag.cc:1712:2: warning: #warning paul fix this code [-Wcpp]

1712 | #warning paul fix this code

| ^~~~~~~

../gtk2_ardour/editor_drag.cc: In member function 'virtual void BBTMarkerDrag::finished(GdkEvent*, bool)':

../gtk2_ardour/editor_drag.cc:3436:29: warning: unused variable 'point' [-Wunused-variable]

3436 | Temporal::MusicTimePoint& point (const_cast<Temporal::MusicTimePoint&>(_marker->mt_point ()));

| ^~~~~

../gtk2_ardour/editor_drag.cc:5944:15: warning: Value stored to 'cursor' during its initialization is never read [deadcode.DeadStores]

Gdk::Cursor* cursor = MouseCursors::invalid_cursor ();

^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 warning generated.

[1810/1879] Compiling session_utils/new_session.cc

[1811/1879] Compiling libs/fst/vst3-scanner.cc

[1812/1879] Compiling libs/fst/vst2-scanner.cc

[1813/1879] Compiling libs/vfork/exec_wrapper.c

[1814/1879] Linking build/headless/hardour-9.0.rc2.96

[1815/1879] Linking build/libs/vfork/ardour-exec-wrapper

[1816/1879] Compiling libs/ardouralsautil/request_device.c

[1817/1879] Compiling libs/ardouralsautil/reserve.c

[1818/1879] Compiling libs/hidapi/linux/hid.c

[1819/1879] Compiling tools/avahi.sh

[1820/1879] Linking build/libs/ardouralsautil/ardour-request-device

[1821/1879] Creating build/libs/clearlooks-newer/engines

[1822/1879] Compiling libs/plugins/reasonablesynth.lv2/manifest.ttl.in

[1823/1879] Compiling libs/plugins/reasonablesynth.lv2/reasonablesynth.ttl.in

[1824/1879] Compiling libs/plugins/a-comp.lv2/manifest.ttl.in

[1825/1879] Compiling libs/plugins/a-comp.lv2/a-comp.ttl.in

[1826/1879] Compiling libs/plugins/a-comp.lv2/a-comp#stereo.ttl.in

[1827/1879] Compiling libs/plugins/a-comp.lv2/presets.ttl.in

[1828/1879] Compiling libs/plugins/a-exp.lv2/manifest.ttl.in

[1829/1879] Compiling libs/plugins/a-exp.lv2/a-exp.ttl.in

[1830/1879] Compiling libs/plugins/a-exp.lv2/a-exp#stereo.ttl.in

[1831/1879] Compiling libs/plugins/a-delay.lv2/manifest.ttl.in

[1832/1879] Compiling libs/plugins/a-delay.lv2/a-delay.ttl.in

[1833/1879] Compiling libs/plugins/a-delay.lv2/presets.ttl.in

[1834/1879] Compiling libs/plugins/a-eq.lv2/manifest.ttl.in

[1835/1879] Compiling libs/plugins/a-eq.lv2/a-eq.ttl.in

[1836/1879] Compiling libs/plugins/a-reverb.lv2/manifest.ttl.in

[1837/1879] Compiling libs/plugins/a-reverb.lv2/a-reverb.ttl.in

[1838/1879] Compiling libs/plugins/a-fluidsynth.lv2/manifest.ttl.in

[1839/1879] Compiling libs/plugins/a-fluidsynth.lv2/a-fluidsynth.ttl.in

[1840/1879] Compiling gtk2_ardour/ardev_common.sh.in

[1841/1879] Compiling gtk2_ardour/ardour.sh.in

[1842/1879] Compiling gtk2_ardour/clearlooks.rc.in

[1843/1879] Compiling gtk2_ardour/clearlooks.rc.in

[1844/1879] Compiling gtk2_ardour/default_ui_config.in

[1845/1879] Compiling gtk2_ardour/ardour.menus.in

[1846/1879] Processing ardour.keys: gtk2_ardour/ardour.keys.in gtk2_ardour/mixer.bindings gtk2_ardour/processor_box.bindings gtk2_ardour/step_editing.bindings gtk2_ardour/monitor.bindings gtk2_ardour/trigger.bindings gtk2_ardour/regionfx_box.bindings gtk2_ardour/automation.bindings -> build/gtk2_ardour/ardour.keys

[1847/1879] Compiling luasession/ardour-lua.sh.in

[1848/1879] Compiling session_utils/ardour-util.sh.in

[1849/1879] Linking build/session_utils/ardour9-copy-mixer

../gtk2_ardour/editor_canvas.cc:788:3: warning: Value stored to 'x' is never read [deadcode.DeadStores]

x = min (max ((ArdourCanvas::Coord) cx, autoscroll_boundary.x0), autoscroll_boundary.x1);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/editor_canvas.cc:789:3: warning: Value stored to 'y' is never read [deadcode.DeadStores]

y = min (max ((ArdourCanvas::Coord) cy, autoscroll_boundary.y0), autoscroll_boundary.y1);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/editor_canvas.cc:1187:15: warning: Value stored to 'cursor' during its initialization is never read [deadcode.DeadStores]

Gdk::Cursor* cursor = MouseCursors::invalid_cursor();

^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

3 warnings generated.

[1850/1879] Linking build/session_utils/ardour9-new_empty_session

[1851/1879] Linking build/libs/fst/ardour-vst-scanner

In file included from ../libs/fst/vst3-scanner.cc:51:

../libs/fst/../ardour/vst3_host.cc:93:7: warning: base class 'class Steinberg::Linux::IRunLoop' has accessible non-virtual destructor [-Wnon-virtual-dtor]

93 | class AVST3Runloop : public Linux::IRunLoop

| ^~~~~~~~~~~~

../libs/fst/../ardour/vst3_host.cc:93:7: warning: 'class AVST3Runloop' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]

In file included from ../libs/fst/vst3-scanner.cc:51:

../libs/fst/../ardour/vst3_host.cc:1235:3: warning: Value stored to 'n_bytes' is never read [deadcode.DeadStores]

n_bytes = 0;

^ ~

1 warning generated.

[1852/1879] Linking build/libs/fst/ardour-vst3-scanner

[1853/1879] Linking build/session_utils/ardour9-export

[1854/1879] Linking build/session_utils/ardour9-new_session

../libs/hidapi/linux/hid.c:616:15: warning: Potential memory leak [unix.Malloc]

found_name = 1;

~~~~~~~~~~~^~~

../libs/hidapi/linux/hid.c:620:17: warning: Potential memory leak [unix.Malloc]

found_serial = 1;

~~~~~~~~~~~~~^~~

2 warnings generated.

[1855/1879] Linking build/libs/hidapi/libhidapi.a

In file included from ../luasession/luasession.cc:43:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:151:

../libs/lua/LuaBridge/detail/CFunctions.h:142:9: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,"no writable variable '%s'", lua_tostring (L, 2));

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../luasession/luasession.cc:43:

In file included from ../libs/lua/LuaBridge/LuaBridge.h:152:

../libs/lua/LuaBridge/detail/Namespace.h:336:11: warning: Value stored to 'result' is never read [deadcode.DeadStores]

result = luaL_error (L,

^ ~~~~~~~~~~~~~~

2 warnings generated.

[1856/1879] Linking build/luasession/luasession

../gtk2_ardour/editor_ops.cc:2596:4: warning: Value stored to 'start_sample' is never read [deadcode.DeadStores]

start_sample = start_sample - preroll;

^ ~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/editor_ops.cc:2599:3: warning: Value stored to 'end_sample' is never read [deadcode.DeadStores]

end_sample = end_sample + preroll; //"post-roll"

^ ~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/editor_ops.cc:3748:17: warning: Potential memory leak [cplusplus.NewDeleteLeaks]

for (auto & pl : playlists) {

^

3 warnings generated.

../gtk2_ardour/cue_editor.cc: In member function 'void CueEditor::count_in(Temporal::timepos_t, unsigned int)':

../gtk2_ardour/cue_editor.cc:1492:14: warning: unused variable 'audible_samples' [-Wunused-variable]

1492 | samplepos_t audible_samples = audible.samples ();

| ^~~~~~~~~~~~~~~

../gtk2_ardour/cue_editor.cc:983:3: warning: Value stored to 'x' is never read [deadcode.DeadStores]

x = min (max ((ArdourCanvas::Coord) cx, autoscroll_boundary.x0), autoscroll_boundary.x1);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/cue_editor.cc:984:3: warning: Value stored to 'y' is never read [deadcode.DeadStores]

y = min (max ((ArdourCanvas::Coord) cy, autoscroll_boundary.y0), autoscroll_boundary.y1);

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../gtk2_ardour/cue_editor.cc:1492:14: warning: Value stored to 'audible_samples' during its initialization is never read [deadcode.DeadStores]

samplepos_t audible_samples = audible.samples ();

^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~

../gtk2_ardour/cue_editor.cc:1804:2: warning: Value stored to 'bbt_beat_subdivision' is never read [deadcode.DeadStores]

bbt_beat_subdivision *= bbt_divisor;

^ ~~~~~~~~~~~

4 warnings generated.

[1857/1879] Linking build/gtk2_ardour/ardour-9.0.rc2.96

[1858/1879] Symlinking build/libs/ptformat/libptformat.so

[1859/1879] Symlinking build/libs/vamp-pyin/libardourvamppyin.so

[1860/1879] Symlinking build/libs/aaf/libaaf.so

[1861/1879] Symlinking build/libs/tk/ztk/libztk.so

[1862/1879] Symlinking build/libs/tk/ydk-pixbuf/libydk-pixbuf.so

[1863/1879] Symlinking build/libs/tk/ydk/libydk.so

[1864/1879] Symlinking build/libs/tk/ytk/libytk.so

[1865/1879] Symlinking build/libs/tk/ztkmm/libztkmm.so

[1866/1879] Symlinking build/libs/tk/ydkmm/libydkmm.so

[1867/1879] Symlinking build/libs/tk/ytkmm/libytkmm.so

[1868/1879] Symlinking build/libs/tk/suil/libsuil.so

[1869/1879] Symlinking build/libs/pbd/libpbd.so

[1870/1879] Symlinking build/libs/midi++2/libmidipp.so

[1871/1879] Symlinking build/libs/evoral/libevoral.so

[1872/1879] Symlinking build/libs/temporal/libtemporal.so

[1873/1879] Symlinking build/libs/ardour/libardour.so

[1874/1879] Symlinking build/libs/gtkmm2ext/libgtkmm2ext.so

[1875/1879] Symlinking build/libs/audiographer/libaudiographer.so

[1876/1879] Symlinking build/libs/canvas/libcanvas.so

[1877/1879] Symlinking build/libs/widgets/libwidgets.so

[1878/1879] Symlinking build/libs/waveview/libwaveview.so

[1879/1879] Symlinking build/libs/ardouralsautil/libardouralsautil.so

Waf: Leaving directory `/home/ardour/linux-x86_64-v10/ardour-scan/build'

'build' finished successfully (18m16.320s)

scan-build: Analysis run complete.

scan-build: 538 bugs found.

scan-build: Run 'scan-view /var/tmp/builds/A_Linux_x86_64_SCAN/2026-01-11-211822-1759612-1' to examine bug reports.

Scan complete: 2026-01-11 21:36:41 +0000

-------------------------------------------------------------------------------