=> Building audio/fluidsynth build started at Mon Oct 3 19:18:54 PDT 2016 port directory: /usr/ports/audio/fluidsynth building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: multimedia@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../09//usr/ports/audio/fluidsynth/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=fluidsynth-1.1.6_2 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for fluidsynth-1.1.6_2: ALSA=off: ALSA audio architecture support DBUS=off: D-Bus IPC system support JACK=on: JACK audio server support LADSPA=off: LADSPA audio plugins support LASH=off: LASH audio support PORTAUDIO=off: PortAudio library support PULSEAUDIO=off: PulseAudio sound server support SNDFILE=off: Audio conversion support via libsndfile ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/audio/fluidsynth XDG_CONFIG_HOME=/wrkdirs/audio/fluidsynth HOME=/wrkdirs/audio/fluidsynth TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/audio/fluidsynth XDG_CONFIG_HOME=/wrkdirs/audio/fluidsynth HOME=/wrkdirs/audio/fluidsynth TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 DESTDIR=/wrkdirs/audio/fluidsynth/stage PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -lpthread" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- CMAKE_BUILD_TYPE="release" GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/fluidsynth" EXAMPLESDIR="share/examples/fluidsynth" DATADIR="share/fluidsynth" WWWDIR="www/fluidsynth" ETCDIR="etc/fluidsynth" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fluidsynth DOCSDIR=/usr/local/share/doc/fluidsynth EXAMPLESDIR=/usr/local/share/examples/fluidsynth WWWDIR=/usr/local/www/fluidsynth ETCDIR=/usr/local/etc/fluidsynth --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> License LGPL20 accepted by the user =========================================================================== =================================================== ===> fluidsynth-1.1.6_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> fluidsynth-1.1.6_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of fluidsynth-1.1.6_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> License LGPL20 accepted by the user ===> Fetching all distfiles required by fluidsynth-1.1.6_2 for building =========================================================================== =================================================== ===> License LGPL20 accepted by the user ===> Fetching all distfiles required by fluidsynth-1.1.6_2 for building => SHA256 Checksum OK for fluidsynth-1.1.6.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> License LGPL20 accepted by the user ===> Fetching all distfiles required by fluidsynth-1.1.6_2 for building ===> Extracting for fluidsynth-1.1.6_2 ===> License LGPL20 accepted by the user ===> Fetching all distfiles required by fluidsynth-1.1.6_2 for building => SHA256 Checksum OK for fluidsynth-1.1.6.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for fluidsynth-1.1.6_2 echo 'SET(CMAKE_NO_BUILTIN_CHRPATH OFF CACHE BOOL "" FORCE)' >> /wrkdirs/audio/fluidsynth/fluidsynth-1.1.6/CMakeLists.txt ===> Applying ports patches for fluidsynth-1.1.6_2 =========================================================================== =================================================== ===> fluidsynth-1.1.6_2 depends on file: /usr/local/bin/cmake - not found ===> Installing existing package /packages/All/cmake-3.6.2.txz Installing cmake-3.6.2... `-- Installing expat-2.2.0... `-- Extracting expat-2.2.0: .......... done `-- Installing cmake-modules-3.6.2... `-- Extracting cmake-modules-3.6.2: .......... done `-- Installing curl-7.50.3... | `-- Installing libressl-2.4.3... | `-- Extracting libressl-2.4.3: .......... done | `-- Installing ca_root_nss-3.27... | `-- Extracting ca_root_nss-3.27: ....... done | `-- Installing krb5-1.14.4... | | `-- Installing pkgconf-1.0.1... | | `-- Extracting pkgconf-1.0.1: .......... done | | `-- Installing gettext-runtime-0.19.8.1... | | `-- Installing indexinfo-0.2.5... | | `-- Extracting indexinfo-0.2.5: .... done | | `-- Extracting gettext-runtime-0.19.8.1: .......... done | `-- Extracting krb5-1.14.4: .......... done `-- Extracting curl-7.50.3: .......... done `-- Installing libarchive-3.2.1,1... | `-- Installing liblz4-131... | `-- Extracting liblz4-131: .......... done | `-- Installing lzo2-2.09... | `-- Extracting lzo2-2.09: .......... done `-- Extracting libarchive-3.2.1,1: .......... done `-- Installing jsoncpp-1.7.3... `-- Extracting jsoncpp-1.7.3: .......... done `-- Installing ncurses-6.0_5... `-- Extracting ncurses-6.0_5: .......... done Extracting cmake-3.6.2: .......... done Message from ca_root_nss-3.27: ********************************* WARNING ********************************* FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. *********************************** NOTE ********************************** This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem *************************************************************************** Message from ncurses-6.0_5: ===> NOTICE: The ncurses port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> fluidsynth-1.1.6_2 depends on file: /usr/local/bin/cmake - found ===> Returning to build of fluidsynth-1.1.6_2 ===> fluidsynth-1.1.6_2 depends on package: pkgconf>=0.9.10 - found ===> fluidsynth-1.1.6_2 depends on executable: ninja - not found ===> Installing existing package /packages/All/ninja-1.7.1_1,2.txz Installing ninja-1.7.1_1,2... `-- Installing python27-2.7.12... | `-- Installing readline-6.3.8... | `-- Extracting readline-6.3.8: .......... done | `-- Installing libffi-3.2.1... | `-- Extracting libffi-3.2.1: .......... done `-- Extracting python27-2.7.12: .......... done Extracting ninja-1.7.1_1,2: ....... done Message from python27-2.7.12: =========================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter =========================================================================== ===> fluidsynth-1.1.6_2 depends on executable: ninja - found ===> Returning to build of fluidsynth-1.1.6_2 =========================================================================== =================================================== ===> fluidsynth-1.1.6_2 depends on shared library: libjack.so - not found ===> Installing existing package /packages/All/jackit-0.124.1_5.txz Installing jackit-0.124.1_5... `-- Installing libsndfile-1.0.26_1... | `-- Installing flac-1.3.1_2... | | `-- Installing libogg-1.3.2_1,4... | | `-- Extracting libogg-1.3.2_1,4: .......... done | `-- Extracting flac-1.3.1_2: .......... done | `-- Installing libvorbis-1.3.5,3... | `-- Extracting libvorbis-1.3.5,3: .......... done `-- Extracting libsndfile-1.0.26_1: .......... done `-- Installing db5-5.3.28_4... `-- Extracting db5-5.3.28_4: .......... done `-- Installing e2fsprogs-libuuid-1.43.3_1... `-- Extracting e2fsprogs-libuuid-1.43.3_1: .......... done `-- Installing celt-0.11.3_2... `-- Extracting celt-0.11.3_2: .......... done `-- Installing libsamplerate-0.1.8_6... `-- Extracting libsamplerate-0.1.8_6: .......... done Extracting jackit-0.124.1_5: .......... done ===> fluidsynth-1.1.6_2 depends on shared library: libjack.so - found (/usr/local/lib/libjack.so) ===> Returning to build of fluidsynth-1.1.6_2 ===> fluidsynth-1.1.6_2 depends on shared library: libglib-2.0.so - not found ===> Installing existing package /packages/All/glib-2.46.2_3.txz Installing glib-2.46.2_3... `-- Installing libiconv-1.14_9... `-- Extracting libiconv-1.14_9: .......... done `-- Installing pcre-8.39... `-- Extracting pcre-8.39: .......... done `-- Installing perl5-5.20.3_15... `-- Extracting perl5-5.20.3_15: .......... done Extracting glib-2.46.2_3: .......... done No schema files found: doing nothing. Message from perl5-5.20.3_15: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> fluidsynth-1.1.6_2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> Returning to build of fluidsynth-1.1.6_2 =========================================================================== =================================================== ===> Configuring for fluidsynth-1.1.6_2 ===> Performing in-source build /bin/mkdir -p /wrkdirs/audio/fluidsynth/fluidsynth-1.1.6 -- The C compiler identification is GNU 5.4.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Checking whether system has ANSI C header files -- Looking for 8 include files dlfcn.h, ..., float.h -- Looking for 8 include files dlfcn.h, ..., float.h - found -- Performing Test memchrExists -- Performing Test memchrExists - Success -- Performing Test freeExists -- Performing Test freeExists - Success -- ANSI C header files - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for DIR in sys/stat.h;sys/types.h;dirent.h -- Looking for DIR in sys/stat.h;sys/types.h;dirent.h - found -- Looking for stdio.h -- Looking for stdio.h - found -- Looking for math.h -- Looking for math.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/ioctl.h -- Looking for sys/ioctl.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for netinet/tcp.h -- Looking for netinet/tcp.h - found -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for getopt.h -- Looking for getopt.h - found -- Performing Test _have_inline -- Performing Test _have_inline - Success -- Performing Test _have_vla -- Performing Test _have_vla - Success -- Check if the system is big endian -- Searching 16 bit integer -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Found Pthreads: /usr/lib/libpthread.so -- Found PkgConfig: pkgconf (found version "1.0.1") -- Checking for modules 'glib-2.0>=2.6.5;gthread-2.0>=2.6.5' -- Found glib-2.0, version 2.46.2 -- Found gthread-2.0, version 2.46.2 -- Checking for module 'jack' -- Found jack, version 0.124.1 -- Found READLINE: /usr/local/include -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) ************************************************************** Summary: Build type: Release libsndfile: no (raw audio file rendering only) D-Bus: no PulseAudio: no JACK: yes ALSA: no PortAudio: no OSS: yes MidiShare: no CoreAudio: no CoreMIDI: no Windows: no LADSPA support: no LASH support: no LADCCA support: no OS/2 DART support: no Audio to file driver: yes Readline: yes (NOTE: GPL library) Samples type=float: no (using double) Profiling: no Debug: no Trap on FPE (debug): no Check FPE (debug): no ************************************************************** -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_COLOR_MAKEFILE CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE CMAKE_MODULE_LINKER_FLAGS CMAKE_VERBOSE_MAKEFILE THREADS_HAVE_PTHREAD_ARG -- Build files have been written to: /wrkdirs/audio/fluidsynth/fluidsynth-1.1.6 =========================================================================== =================================================== ===> Building for fluidsynth-1.1.6_2 [1/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/utils/fluid_list.c.o -MF src/CMakeFiles/libfluidsynth.dir/utils/fluid_list.c.o.d -o src/CMakeFiles/libfluidsynth.dir/utils/fluid_list.c.o -c src/utils/fluid_list.c [2/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/utils/fluid_ringbuffer.c.o -MF src/CMakeFiles/libfluidsynth.dir/utils/fluid_ringbuffer.c.o.d -o src/CMakeFiles/libfluidsynth.dir/utils/fluid_ringbuffer.c.o -c src/utils/fluid_ringbuffer.c In file included from src/utils/fluid_ringbuffer.h:24:0, from src/utils/fluid_ringbuffer.c:26: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/utils/fluid_ringbuffer.h:24, from src/utils/fluid_ringbuffer.c:26: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/utils/fluid_ringbuffer.h:24:0, from src/utils/fluid_ringbuffer.c:26: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/utils/fluid_ringbuffer.h:24, from src/utils/fluid_ringbuffer.c:26: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [3/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/utils/fluid_conv.c.o -MF src/CMakeFiles/libfluidsynth.dir/utils/fluid_conv.c.o.d -o src/CMakeFiles/libfluidsynth.dir/utils/fluid_conv.c.o -c src/utils/fluid_conv.c [4/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/drivers/fluid_jack.c.o -MF src/CMakeFiles/libfluidsynth.dir/drivers/fluid_jack.c.o.d -o src/CMakeFiles/libfluidsynth.dir/drivers/fluid_jack.c.o -c src/drivers/fluid_jack.c In file included from src/drivers/fluid_jack.c:32:0: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/drivers/fluid_jack.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/drivers/fluid_jack.c:32:0: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/drivers/fluid_jack.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ In file included from /usr/local/include/jack/jack.h:28:0, from src/drivers/fluid_jack.c:38: /usr/local/include/jack/types.h: At top level: /usr/local/include/jack/types.h:372:1: warning: 'register' is not at beginning of declaration [-Wold-style-declaration] typedef void (*JackPortRegistrationCallback)(jack_port_id_t port, int register, void *arg); ^ /usr/local/include/jack/types.h:394:1: warning: 'register' is not at beginning of declaration [-Wold-style-declaration] typedef void (*JackClientRegistrationCallback)(const char* name, int register, void *arg); ^ In file included from src/drivers/fluid_jack.c:38:0: /usr/local/include/jack/jack.h:1262:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] jack_time_t jack_get_time() JACK_OPTIONAL_WEAK_EXPORT; ^ src/drivers/fluid_jack.c: In function 'new_fluid_jack_client': src/drivers/fluid_jack.c:127:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock (last_client_mutex); /* ++ lock last_client */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/drivers/fluid_jack.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/drivers/fluid_jack.c:145:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock (last_client_mutex); /* -- unlock last_client */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/drivers/fluid_jack.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/drivers/fluid_jack.c:219:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock (last_client_mutex); /* -- unlock last_client */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/drivers/fluid_jack.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/drivers/fluid_jack.c:227:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock (last_client_mutex); /* -- unlock clients list */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/drivers/fluid_jack.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/drivers/fluid_jack.c: In function 'fluid_jack_client_close': src/drivers/fluid_jack.c:362:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock (last_client_mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/drivers/fluid_jack.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/drivers/fluid_jack.c:367:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock (last_client_mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/drivers/fluid_jack.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ In file included from /usr/local/include/glib-2.0/glib/gthread.h:32:0, from /usr/local/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/local/include/glib-2.0/glib.h:32, from src/utils/fluidsynth_priv.h:25, from src/drivers/fluid_jack.c:31: src/drivers/fluid_jack.c: In function 'fluid_jack_driver_process': /usr/local/include/glib-2.0/glib/gatomic.h:108:5: warning: cast from function call of type 'long unsigned int' to non-matching type 'void *' [-Wbad-function-cast] (gpointer) __atomic_load_8 ((atomic), __ATOMIC_SEQ_CST); \ ^ src/utils/fluid_sys.h:188:49: note: in expansion of macro 'g_atomic_pointer_get' #define fluid_atomic_pointer_get(_pp) g_atomic_pointer_get(_pp) ^ src/drivers/fluid_jack.c:486:17: note: in expansion of macro 'fluid_atomic_pointer_get' midi_driver = fluid_atomic_pointer_get (&client->midi_driver); ^ [5/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/utils/fluid_sys.c.o -MF src/CMakeFiles/libfluidsynth.dir/utils/fluid_sys.c.o.d -o src/CMakeFiles/libfluidsynth.dir/utils/fluid_sys.c.o -c src/utils/fluid_sys.c In file included from src/utils/fluid_sys.c:21:0: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/utils/fluid_sys.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/utils/fluid_sys.c:21:0: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/utils/fluid_sys.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ In file included from /usr/local/include/readline/readline.h:36:0, from src/utils/fluid_sys.c:25: /usr/local/include/readline/rltypedefs.h: At top level: /usr/local/include/readline/rltypedefs.h:35:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef int Function () __attribute__ ((deprecated)); ^ /usr/local/include/readline/rltypedefs.h:36:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void VFunction () __attribute__ ((deprecated)); ^ /usr/local/include/readline/rltypedefs.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef char *CPFunction () __attribute__ ((deprecated)); ^ /usr/local/include/readline/rltypedefs.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef char **CPPFunction () __attribute__ ((deprecated)); ^ src/utils/fluid_sys.c: In function 'new_fluid_cond': src/utils/fluid_sys.c:579:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/utils/fluid_sys.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ src/utils/fluid_sys.c:580:3: warning: 'g_cond_new' is deprecated [-Wdeprecated-declarations] return g_cond_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/utils/fluid_sys.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:281:17: note: declared here GCond * g_cond_new (void); ^ src/utils/fluid_sys.c: In function 'new_fluid_thread': src/utils/fluid_sys.c:617:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/utils/fluid_sys.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ src/utils/fluid_sys.c:632:5: warning: 'g_thread_create' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] thread = g_thread_create (fluid_thread_high_prio, info, detach == FALSE, &err); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/utils/fluid_sys.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: declared here GThread *g_thread_create (GThreadFunc func, ^ src/utils/fluid_sys.c:634:3: warning: 'g_thread_create' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] else thread = g_thread_create ((GThreadFunc)func, data, detach == FALSE, &err); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/utils/fluid_sys.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: declared here GThread *g_thread_create (GThreadFunc func, ^ [6/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/drivers/fluid_oss.c.o -MF src/CMakeFiles/libfluidsynth.dir/drivers/fluid_oss.c.o.d -o src/CMakeFiles/libfluidsynth.dir/drivers/fluid_oss.c.o -c src/drivers/fluid_oss.c In file included from src/synth/fluid_event_queue.h:24:0, from src/synth/fluid_synth.h:35, from src/drivers/fluid_oss.c:27: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/drivers/fluid_oss.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/synth/fluid_event_queue.h:24:0, from src/synth/fluid_synth.h:35, from src/drivers/fluid_oss.c:27: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/drivers/fluid_oss.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [7/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_adsr_env.c.o -MF src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_adsr_env.c.o.d -o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_adsr_env.c.o -c src/rvoice/fluid_adsr_env.c In file included from src/rvoice/fluid_adsr_env.h:25:0, from src/rvoice/fluid_adsr_env.c:21: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_adsr_env.h:24, from src/rvoice/fluid_adsr_env.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/rvoice/fluid_adsr_env.h:25:0, from src/rvoice/fluid_adsr_env.c:21: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_adsr_env.h:24, from src/rvoice/fluid_adsr_env.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [8/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_chorus.c.o -MF src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_chorus.c.o.d -o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_chorus.c.o -c src/rvoice/fluid_chorus.c In file included from src/rvoice/fluid_chorus.c:69:0: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_chorus.h:25, from src/rvoice/fluid_chorus.c:68: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/rvoice/fluid_chorus.c:69:0: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_chorus.h:25, from src/rvoice/fluid_chorus.c:68: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [9/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/utils/fluid_settings.c.o -MF src/CMakeFiles/libfluidsynth.dir/utils/fluid_settings.c.o.d -o src/CMakeFiles/libfluidsynth.dir/utils/fluid_settings.c.o -c src/utils/fluid_settings.c In file included from src/utils/fluid_settings.c:22:0: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/utils/fluid_settings.c:22:0: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ src/utils/fluid_settings.c: In function 'new_fluid_settings': src/utils/fluid_settings.c:244:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] fluid_rec_mutex_init (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ src/utils/fluid_settings.c:244:3: warning: 'g_static_rec_mutex_init' is deprecated: Use 'g_rec_mutex_init' instead [-Wdeprecated-declarations] fluid_rec_mutex_init (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:176:10: note: declared here void g_static_rec_mutex_init (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'delete_fluid_settings': src/utils/fluid_settings.c:258:3: warning: 'g_static_rec_mutex_free' is deprecated: Use 'g_rec_mutex_free' instead [-Wdeprecated-declarations] fluid_rec_mutex_destroy (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:195:10: note: declared here void g_static_rec_mutex_free (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_register_str': src/utils/fluid_settings.c:452:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:473:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_register_num': src/utils/fluid_settings.c:494:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:520:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_register_int': src/utils/fluid_settings.c:541:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:567:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_get_type': src/utils/fluid_settings.c:588:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:590:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_get_hints': src/utils/fluid_settings.c:611:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:626:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_is_realtime': src/utils/fluid_settings.c:647:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:662:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_setstr': src/utils/fluid_settings.c:684:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:723:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_copystr': src/utils/fluid_settings.c:755:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:785:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_dupstr': src/utils/fluid_settings.c:811:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:841:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_getstr': src/utils/fluid_settings.c:873:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:896:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_str_equal': src/utils/fluid_settings.c:919:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:937:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_getstr_default': src/utils/fluid_settings.c:959:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:977:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_add_option': src/utils/fluid_settings.c:1001:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1012:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_remove_option': src/utils/fluid_settings.c:1034:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1054:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_setnum': src/utils/fluid_settings.c:1077:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1101:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_getnum': src/utils/fluid_settings.c:1124:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1133:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_getnum_range': src/utils/fluid_settings.c:1157:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1166:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_getnum_default': src/utils/fluid_settings.c:1185:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1193:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_setint': src/utils/fluid_settings.c:1216:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1240:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_getint': src/utils/fluid_settings.c:1263:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1272:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_getint_range': src/utils/fluid_settings.c:1295:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1304:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_getint_default': src/utils/fluid_settings.c:1323:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1331:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_foreach_option': src/utils/fluid_settings.c:1360:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); /* ++ lock */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1364:5: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); /* -- unlock */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1380:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); /* -- unlock */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_option_count': src/utils/fluid_settings.c:1402:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1405:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_option_concat': src/utils/fluid_settings.c:1434:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); /* ++ lock */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1438:5: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); /* -- unlock */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1475:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); /* -- unlock */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c: In function 'fluid_settings_foreach': src/utils/fluid_settings.c:1554:3: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/utils/fluid_settings.c:1570:3: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock (settings->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_settings.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ [10/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_iir_filter.c.o -MF src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_iir_filter.c.o.d -o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_iir_filter.c.o -c src/rvoice/fluid_iir_filter.c In file included from src/rvoice/fluid_iir_filter.c:22:0: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_iir_filter.h:24, from src/rvoice/fluid_iir_filter.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/rvoice/fluid_iir_filter.c:22:0: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_iir_filter.h:24, from src/rvoice/fluid_iir_filter.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [11/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_lfo.c.o -MF src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_lfo.c.o.d -o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_lfo.c.o -c src/rvoice/fluid_lfo.c [12/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/utils/fluid_hash.c.o -MF src/CMakeFiles/libfluidsynth.dir/utils/fluid_hash.c.o.d -o src/CMakeFiles/libfluidsynth.dir/utils/fluid_hash.c.o -c src/utils/fluid_hash.c In file included from src/utils/fluid_hash.h:40:0, from src/utils/fluid_hash.c:35: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_hash.c:34: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/utils/fluid_hash.h:40:0, from src/utils/fluid_hash.c:35: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_hash.c:34: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ src/utils/fluid_hash.c: In function 'fluid_hashtable_unref': src/utils/fluid_hash.c:642:3: warning: 'g_atomic_int_exchange_and_add' is deprecated: Use 'g_atomic_int_add' instead [-Wdeprecated-declarations] if (fluid_atomic_int_exchange_and_add (&hashtable->ref_count, -1) - 1 == 0) ^ In file included from /usr/local/include/glib-2.0/glib/gthread.h:32:0, from /usr/local/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/local/include/glib-2.0/glib.h:32, from src/utils/fluidsynth_priv.h:25, from src/utils/fluid_hash.c:34: /usr/local/include/glib-2.0/glib/gatomic.h:80:25: note: declared here gint g_atomic_int_exchange_and_add (volatile gint *atomic, ^ [13/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_event.c.o -MF src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_event.c.o.d -o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_event.c.o -c src/rvoice/fluid_rvoice_event.c In file included from src/rvoice/fluid_adsr_env.h:25:0, from src/rvoice/fluid_rvoice.h:27, from src/rvoice/fluid_rvoice_mixer.h:26, from src/rvoice/fluid_rvoice_event.h:26, from src/rvoice/fluid_rvoice_event.c:21: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_rvoice_event.h:25, from src/rvoice/fluid_rvoice_event.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/rvoice/fluid_adsr_env.h:25:0, from src/rvoice/fluid_rvoice.h:27, from src/rvoice/fluid_rvoice_mixer.h:26, from src/rvoice/fluid_rvoice_event.h:26, from src/rvoice/fluid_rvoice_event.c:21: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_rvoice_event.h:25, from src/rvoice/fluid_rvoice_event.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [14/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/sfloader/fluid_ramsfont.c.o -MF src/CMakeFiles/libfluidsynth.dir/sfloader/fluid_ramsfont.c.o.d -o src/CMakeFiles/libfluidsynth.dir/sfloader/fluid_ramsfont.c.o -c src/sfloader/fluid_ramsfont.c In file included from src/sfloader/fluid_ramsfont.c:22:0: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/sfloader/fluid_ramsfont.h:27, from src/sfloader/fluid_ramsfont.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/sfloader/fluid_ramsfont.c:22:0: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/sfloader/fluid_ramsfont.h:27, from src/sfloader/fluid_ramsfont.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ src/sfloader/fluid_ramsfont.c: In function 'fluid_rampreset_noteon': src/sfloader/fluid_ramsfont.c:892:53: warning: variable 'z' set but not used [-Wunused-but-set-variable] fluid_inst_zone_t *inst_zone, *global_inst_zone, *z; ^ [15/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice.c.o -MF src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice.c.o.d -o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice.c.o -c src/rvoice/fluid_rvoice.c In file included from src/rvoice/fluid_adsr_env.h:25:0, from src/rvoice/fluid_rvoice.h:27, from src/rvoice/fluid_rvoice.c:21: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_rvoice.h:25, from src/rvoice/fluid_rvoice.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/rvoice/fluid_adsr_env.h:25:0, from src/rvoice/fluid_rvoice.h:27, from src/rvoice/fluid_rvoice.c:21: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_rvoice.h:25, from src/rvoice/fluid_rvoice.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [16/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_dsp.c.o -MF src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_dsp.c.o.d -o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_dsp.c.o -c src/rvoice/fluid_rvoice_dsp.c In file included from src/rvoice/fluid_adsr_env.h:25:0, from src/rvoice/fluid_rvoice.h:27, from src/rvoice/fluid_rvoice_dsp.c:23: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_rvoice_dsp.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/rvoice/fluid_adsr_env.h:25:0, from src/rvoice/fluid_rvoice.h:27, from src/rvoice/fluid_rvoice_dsp.c:23: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_rvoice_dsp.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [17/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/synth/fluid_chan.c.o -MF src/CMakeFiles/libfluidsynth.dir/synth/fluid_chan.c.o.d -o src/CMakeFiles/libfluidsynth.dir/synth/fluid_chan.c.o -c src/synth/fluid_chan.c In file included from src/midi/fluid_midi.h:25:0, from src/synth/fluid_chan.h:25, from src/synth/fluid_chan.c:21: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_chan.h:24, from src/synth/fluid_chan.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/midi/fluid_midi.h:25:0, from src/synth/fluid_chan.h:25, from src/synth/fluid_chan.c:21: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_chan.h:24, from src/synth/fluid_chan.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [18/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/synth/fluid_gen.c.o -MF src/CMakeFiles/libfluidsynth.dir/synth/fluid_gen.c.o.d -o src/CMakeFiles/libfluidsynth.dir/synth/fluid_gen.c.o -c src/synth/fluid_gen.c In file included from src/midi/fluid_midi.h:25:0, from src/synth/fluid_chan.h:25, from src/synth/fluid_gen.c:23: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_gen.h:25, from src/synth/fluid_gen.c:22: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/midi/fluid_midi.h:25:0, from src/synth/fluid_chan.h:25, from src/synth/fluid_gen.c:23: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_gen.h:25, from src/synth/fluid_gen.c:22: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [19/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rev.c.o -MF src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rev.c.o.d -o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rev.c.o -c src/rvoice/fluid_rev.c [20/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/synth/fluid_event.c.o -MF src/CMakeFiles/libfluidsynth.dir/synth/fluid_event.c.o.d -o src/CMakeFiles/libfluidsynth.dir/synth/fluid_event.c.o -c src/synth/fluid_event.c In file included from src/synth/fluid_event_priv.h:26:0, from src/synth/fluid_event.c:31: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/synth/fluid_event.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/synth/fluid_event_priv.h:26:0, from src/synth/fluid_event.c:31: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/synth/fluid_event.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ src/synth/fluid_event.c: In function '_fluid_evt_heap_init': src/synth/fluid_event.c:647:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] fluid_mutex_init(heap->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/synth/fluid_event.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ src/synth/fluid_event.c:647:3: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] fluid_mutex_init(heap->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/synth/fluid_event.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here void g_static_mutex_init (GStaticMutex *mutex); ^ src/synth/fluid_event.c:650:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock(heap->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/synth/fluid_event.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/synth/fluid_event.c:660:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock(heap->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/synth/fluid_event.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/synth/fluid_event.c: In function '_fluid_evt_heap_free': src/synth/fluid_event.c:697:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock(heap->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/synth/fluid_event.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/synth/fluid_event.c:707:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock(heap->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/synth/fluid_event.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/synth/fluid_event.c:708:3: warning: 'g_static_mutex_free' is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations] fluid_mutex_destroy(heap->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/synth/fluid_event.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:152:9: note: declared here void g_static_mutex_free (GStaticMutex *mutex); ^ src/synth/fluid_event.c: In function '_fluid_seq_heap_get_free': src/synth/fluid_event.c:724:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock(heap->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/synth/fluid_event.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/synth/fluid_event.c:743:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock(heap->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/synth/fluid_event.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/synth/fluid_event.c: In function '_fluid_seq_heap_set_free': src/synth/fluid_event.c:766:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock(heap->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/synth/fluid_event.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/synth/fluid_event.c:772:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock(heap->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/synth/fluid_event.c:31: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ [21/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/synth/fluid_mod.c.o -MF src/CMakeFiles/libfluidsynth.dir/synth/fluid_mod.c.o.d -o src/CMakeFiles/libfluidsynth.dir/synth/fluid_mod.c.o -c src/synth/fluid_mod.c In file included from src/midi/fluid_midi.h:25:0, from src/synth/fluid_chan.h:25, from src/synth/fluid_mod.c:22: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_mod.h:24, from src/synth/fluid_mod.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/midi/fluid_midi.h:25:0, from src/synth/fluid_chan.h:25, from src/synth/fluid_mod.c:22: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_mod.h:24, from src/synth/fluid_mod.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [22/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/synth/fluid_tuning.c.o -MF src/CMakeFiles/libfluidsynth.dir/synth/fluid_tuning.c.o.d -o src/CMakeFiles/libfluidsynth.dir/synth/fluid_tuning.c.o -c src/synth/fluid_tuning.c In file included from src/synth/fluid_tuning.c:24:0: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_tuning.h:35, from src/synth/fluid_tuning.c:22: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/synth/fluid_tuning.c:24:0: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_tuning.h:35, from src/synth/fluid_tuning.c:22: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [23/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/midi/fluid_midi.c.o -MF src/CMakeFiles/libfluidsynth.dir/midi/fluid_midi.c.o.d -o src/CMakeFiles/libfluidsynth.dir/midi/fluid_midi.c.o -c src/midi/fluid_midi.c In file included from src/midi/fluid_midi.h:25:0, from src/midi/fluid_midi.c:21: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi.h:24, from src/midi/fluid_midi.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/midi/fluid_midi.h:25:0, from src/midi/fluid_midi.c:21: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi.h:24, from src/midi/fluid_midi.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ src/midi/fluid_midi.c: In function 'fluid_midi_file_read_event': src/midi/fluid_midi.c:440:52: warning: variable 'mi' set but not used [-Wunused-but-set-variable] int nominator, denominator, clocks, notes, sf, mi; ^ src/midi/fluid_midi.c:440:48: warning: variable 'sf' set but not used [-Wunused-but-set-variable] int nominator, denominator, clocks, notes, sf, mi; ^ [24/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/sfloader/fluid_defsfont.c.o -MF src/CMakeFiles/libfluidsynth.dir/sfloader/fluid_defsfont.c.o.d -o src/CMakeFiles/libfluidsynth.dir/sfloader/fluid_defsfont.c.o -c src/sfloader/fluid_defsfont.c In file included from src/sfloader/fluid_defsfont.c:27:0: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/sfloader/fluid_defsfont.h:29, from src/sfloader/fluid_defsfont.c:25: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/sfloader/fluid_defsfont.c:27:0: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/sfloader/fluid_defsfont.h:29, from src/sfloader/fluid_defsfont.c:25: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ src/sfloader/fluid_defsfont.c: In function 'fluid_defpreset_noteon': src/sfloader/fluid_defsfont.c:582:53: warning: variable 'z' set but not used [-Wunused-but-set-variable] fluid_inst_zone_t *inst_zone, *global_inst_zone, *z; ^ [25/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_mixer.c.o -MF src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_mixer.c.o.d -o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_mixer.c.o -c src/rvoice/fluid_rvoice_mixer.c In file included from src/rvoice/fluid_adsr_env.h:25:0, from src/rvoice/fluid_rvoice.h:27, from src/rvoice/fluid_rvoice_mixer.h:26, from src/rvoice/fluid_rvoice_mixer.c:21: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_rvoice_mixer.h:25, from src/rvoice/fluid_rvoice_mixer.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/rvoice/fluid_adsr_env.h:25:0, from src/rvoice/fluid_rvoice.h:27, from src/rvoice/fluid_rvoice_mixer.h:26, from src/rvoice/fluid_rvoice_mixer.c:21: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_rvoice_mixer.h:25, from src/rvoice/fluid_rvoice_mixer.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ src/rvoice/fluid_rvoice_mixer.c: In function 'delete_fluid_rvoice_mixer': src/rvoice/fluid_rvoice_mixer.c:627:5: warning: 'g_cond_free' is deprecated [-Wdeprecated-declarations] delete_fluid_cond(mixer->thread_ready); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_rvoice_mixer.h:25, from src/rvoice/fluid_rvoice_mixer.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:283:17: note: declared here void g_cond_free (GCond *cond); ^ src/rvoice/fluid_rvoice_mixer.c:629:5: warning: 'g_cond_free' is deprecated [-Wdeprecated-declarations] delete_fluid_cond(mixer->wakeup_threads); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_rvoice_mixer.h:25, from src/rvoice/fluid_rvoice_mixer.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:283:17: note: declared here void g_cond_free (GCond *cond); ^ src/rvoice/fluid_rvoice_mixer.c:631:5: warning: 'g_mutex_free' is deprecated [-Wdeprecated-declarations] delete_fluid_cond_mutex(mixer->thread_ready_m); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_rvoice_mixer.h:25, from src/rvoice/fluid_rvoice_mixer.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:279:17: note: declared here void g_mutex_free (GMutex *mutex); ^ src/rvoice/fluid_rvoice_mixer.c:633:5: warning: 'g_mutex_free' is deprecated [-Wdeprecated-declarations] delete_fluid_cond_mutex(mixer->wakeup_threads_m); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_rvoice_mixer.h:25, from src/rvoice/fluid_rvoice_mixer.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:279:17: note: declared here void g_mutex_free (GMutex *mutex); ^ src/rvoice/fluid_rvoice_mixer.c: In function 'fluid_mixer_get_mt_rvoice': src/rvoice/fluid_rvoice_mixer.c:700:3: warning: 'g_atomic_int_exchange_and_add' is deprecated: Use 'g_atomic_int_add' instead [-Wdeprecated-declarations] int i = fluid_atomic_int_exchange_and_add(&mixer->current_rvoice, 1); ^ In file included from /usr/local/include/glib-2.0/glib/gthread.h:32:0, from /usr/local/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/local/include/glib-2.0/glib.h:32, from src/utils/fluidsynth_priv.h:25, from src/rvoice/fluid_rvoice_mixer.h:25, from src/rvoice/fluid_rvoice_mixer.c:21: /usr/local/include/glib-2.0/glib/gatomic.h:80:25: note: declared here gint g_atomic_int_exchange_and_add (volatile gint *atomic, ^ [26/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/midi/fluid_seqbind.c.o -MF src/CMakeFiles/libfluidsynth.dir/midi/fluid_seqbind.c.o.d -o src/CMakeFiles/libfluidsynth.dir/midi/fluid_seqbind.c.o -c src/midi/fluid_seqbind.c In file included from src/synth/fluid_event_queue.h:24:0, from src/synth/fluid_synth.h:35, from src/midi/fluid_seqbind.c:31: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_seqbind.c:30: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/synth/fluid_event_queue.h:24:0, from src/synth/fluid_synth.h:35, from src/midi/fluid_seqbind.c:31: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_seqbind.c:30: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [27/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/midi/fluid_midi_router.c.o -MF src/CMakeFiles/libfluidsynth.dir/midi/fluid_midi_router.c.o.d -o src/CMakeFiles/libfluidsynth.dir/midi/fluid_midi_router.c.o -c src/midi/fluid_midi_router.c In file included from src/midi/fluid_midi.h:25:0, from src/midi/fluid_midi_router.h:28, from src/midi/fluid_midi_router.c:27: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi_router.h:27, from src/midi/fluid_midi_router.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/midi/fluid_midi.h:25:0, from src/midi/fluid_midi_router.h:28, from src/midi/fluid_midi_router.c:27: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi_router.h:27, from src/midi/fluid_midi_router.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ src/midi/fluid_midi_router.c: In function 'new_fluid_midi_router': src/midi/fluid_midi_router.c:106:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] fluid_mutex_init (router->rules_mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi_router.h:27, from src/midi/fluid_midi_router.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ src/midi/fluid_midi_router.c:106:3: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] fluid_mutex_init (router->rules_mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi_router.h:27, from src/midi/fluid_midi_router.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here void g_static_mutex_init (GStaticMutex *mutex); ^ src/midi/fluid_midi_router.c: In function 'delete_fluid_midi_router': src/midi/fluid_midi_router.c:150:3: warning: 'g_static_mutex_free' is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations] fluid_mutex_destroy (router->rules_mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi_router.h:27, from src/midi/fluid_midi_router.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:152:9: note: declared here void g_static_mutex_free (GStaticMutex *mutex); ^ src/midi/fluid_midi_router.c: In function 'fluid_midi_router_set_default_rules': src/midi/fluid_midi_router.c:189:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock (router->rules_mutex); /* ++ lock */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi_router.h:27, from src/midi/fluid_midi_router.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/midi/fluid_midi_router.c:222:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock (router->rules_mutex); /* -- unlock */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi_router.h:27, from src/midi/fluid_midi_router.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/midi/fluid_midi_router.c: In function 'fluid_midi_router_clear_rules': src/midi/fluid_midi_router.c:255:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock (router->rules_mutex); /* ++ lock */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi_router.h:27, from src/midi/fluid_midi_router.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/midi/fluid_midi_router.c:284:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock (router->rules_mutex); /* -- unlock */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi_router.h:27, from src/midi/fluid_midi_router.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/midi/fluid_midi_router.c: In function 'fluid_midi_router_add_rule': src/midi/fluid_midi_router.c:321:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock (router->rules_mutex); /* ++ lock */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi_router.h:27, from src/midi/fluid_midi_router.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/midi/fluid_midi_router.c:330:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock (router->rules_mutex); /* -- unlock */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi_router.h:27, from src/midi/fluid_midi_router.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/midi/fluid_midi_router.c: In function 'fluid_midi_router_handle_midi_event': src/midi/fluid_midi_router.c:549:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock (router->rules_mutex); /* ++ lock rules */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi_router.h:27, from src/midi/fluid_midi_router.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/midi/fluid_midi_router.c:583:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock (router->rules_mutex); /* -- unlock rules */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi_router.h:27, from src/midi/fluid_midi_router.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/midi/fluid_midi_router.c:740:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock (router->rules_mutex); /* -- unlock rules */ ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/midi/fluid_midi_router.h:27, from src/midi/fluid_midi_router.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ [28/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/drivers/fluid_mdriver.c.o -MF src/CMakeFiles/libfluidsynth.dir/drivers/fluid_mdriver.c.o.d -o src/CMakeFiles/libfluidsynth.dir/drivers/fluid_mdriver.c.o -c src/drivers/fluid_mdriver.c [29/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/drivers/fluid_adriver.c.o -MF src/CMakeFiles/libfluidsynth.dir/drivers/fluid_adriver.c.o.d -o src/CMakeFiles/libfluidsynth.dir/drivers/fluid_adriver.c.o -c src/drivers/fluid_adriver.c [30/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/synth/fluid_voice.c.o -MF src/CMakeFiles/libfluidsynth.dir/synth/fluid_voice.c.o.d -o src/CMakeFiles/libfluidsynth.dir/synth/fluid_voice.c.o -c src/synth/fluid_voice.c In file included from src/rvoice/fluid_adsr_env.h:25:0, from src/synth/fluid_voice.h:29, from src/synth/fluid_voice.c:22: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_voice.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/rvoice/fluid_adsr_env.h:25:0, from src/synth/fluid_voice.h:29, from src/synth/fluid_voice.c:22: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_voice.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [31/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/drivers/fluid_aufile.c.o -MF src/CMakeFiles/libfluidsynth.dir/drivers/fluid_aufile.c.o.d -o src/CMakeFiles/libfluidsynth.dir/drivers/fluid_aufile.c.o -c src/drivers/fluid_aufile.c In file included from src/drivers/fluid_aufile.c:29:0: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/drivers/fluid_adriver.h:24, from src/drivers/fluid_aufile.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/drivers/fluid_aufile.c:29:0: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/drivers/fluid_adriver.h:24, from src/drivers/fluid_aufile.c:27: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [32/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/bindings/fluid_filerenderer.c.o -MF src/CMakeFiles/libfluidsynth.dir/bindings/fluid_filerenderer.c.o.d -o src/CMakeFiles/libfluidsynth.dir/bindings/fluid_filerenderer.c.o -c src/bindings/fluid_filerenderer.c In file included from src/synth/fluid_event_queue.h:24:0, from src/synth/fluid_synth.h:35, from src/bindings/fluid_filerenderer.c:27: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/bindings/fluid_filerenderer.c:26: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/synth/fluid_event_queue.h:24:0, from src/synth/fluid_synth.h:35, from src/bindings/fluid_filerenderer.c:27: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/bindings/fluid_filerenderer.c:26: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ [33/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/midi/fluid_seq.c.o -MF src/CMakeFiles/libfluidsynth.dir/midi/fluid_seq.c.o.d -o src/CMakeFiles/libfluidsynth.dir/midi/fluid_seq.c.o -c src/midi/fluid_seq.c In file included from src/synth/fluid_event_priv.h:26:0, from src/midi/fluid_seq.c:30: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/midi/fluid_seq.c:30: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/synth/fluid_event_priv.h:26:0, from src/midi/fluid_seq.c:30: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/midi/fluid_seq.c:30: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ src/midi/fluid_seq.c: In function '_fluid_seq_queue_init': src/midi/fluid_seq.c:673:2: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] fluid_mutex_init(seq->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/midi/fluid_seq.c:30: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ src/midi/fluid_seq.c:673:2: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] fluid_mutex_init(seq->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/midi/fluid_seq.c:30: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here void g_static_mutex_init (GStaticMutex *mutex); ^ src/midi/fluid_seq.c: In function '_fluid_seq_queue_end': src/midi/fluid_seq.c:707:2: warning: 'g_static_mutex_free' is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations] fluid_mutex_destroy(seq->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/midi/fluid_seq.c:30: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:152:9: note: declared here void g_static_mutex_free (GStaticMutex *mutex); ^ src/midi/fluid_seq.c: In function '_fluid_seq_queue_pre_insert': src/midi/fluid_seq.c:733:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock(seq->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/midi/fluid_seq.c:30: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/midi/fluid_seq.c:743:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock(seq->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/midi/fluid_seq.c:30: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/midi/fluid_seq.c: In function '_fluid_seq_queue_pre_remove': src/midi/fluid_seq.c:771:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock(seq->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/midi/fluid_seq.c:30: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/midi/fluid_seq.c:781:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock(seq->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/midi/fluid_seq.c:30: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/midi/fluid_seq.c: In function 'fluid_sequencer_process': src/midi/fluid_seq.c:825:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock(seq->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/midi/fluid_seq.c:30: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/midi/fluid_seq.c:832:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock(seq->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluid_sys.h:39, from src/synth/fluid_event_priv.h:26, from src/midi/fluid_seq.c:30: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ [34/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/bindings/fluid_cmd.c.o -MF src/CMakeFiles/libfluidsynth.dir/bindings/fluid_cmd.c.o.d -o src/CMakeFiles/libfluidsynth.dir/bindings/fluid_cmd.c.o -c src/bindings/fluid_cmd.c In file included from src/synth/fluid_event_queue.h:24:0, from src/synth/fluid_synth.h:35, from src/bindings/fluid_cmd.c:25: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/bindings/fluid_cmd.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/synth/fluid_event_queue.h:24:0, from src/synth/fluid_synth.h:35, from src/bindings/fluid_cmd.c:25: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/bindings/fluid_cmd.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ In file included from /usr/local/include/readline/readline.h:36:0, from src/bindings/fluid_cmd.c:34: /usr/local/include/readline/rltypedefs.h: At top level: /usr/local/include/readline/rltypedefs.h:35:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef int Function () __attribute__ ((deprecated)); ^ /usr/local/include/readline/rltypedefs.h:36:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void VFunction () __attribute__ ((deprecated)); ^ /usr/local/include/readline/rltypedefs.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef char *CPFunction () __attribute__ ((deprecated)); ^ /usr/local/include/readline/rltypedefs.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef char **CPPFunction () __attribute__ ((deprecated)); ^ src/bindings/fluid_cmd.c: In function 'new_fluid_server': src/bindings/fluid_cmd.c:1837:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] fluid_mutex_init(server->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/bindings/fluid_cmd.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ src/bindings/fluid_cmd.c:1837:3: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] fluid_mutex_init(server->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/bindings/fluid_cmd.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here void g_static_mutex_init (GStaticMutex *mutex); ^ src/bindings/fluid_cmd.c: In function 'fluid_server_close': src/bindings/fluid_cmd.c:1878:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock(server->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/bindings/fluid_cmd.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/bindings/fluid_cmd.c:1881:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock(server->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/bindings/fluid_cmd.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/bindings/fluid_cmd.c: In function 'fluid_server_add_client': src/bindings/fluid_cmd.c:1919:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock(server->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/bindings/fluid_cmd.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/bindings/fluid_cmd.c:1921:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock(server->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/bindings/fluid_cmd.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/bindings/fluid_cmd.c: In function 'fluid_server_remove_client': src/bindings/fluid_cmd.c:1926:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_lock(server->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/bindings/fluid_cmd.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ src/bindings/fluid_cmd.c:1928:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] fluid_mutex_unlock(server->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/bindings/fluid_cmd.c:21: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^ [35/39] /usr/bin/cc -DHAVE_CONFIG_H -Dlibfluidsynth_EXPORTS -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -fPIC -MD -MT src/CMakeFiles/libfluidsynth.dir/synth/fluid_synth.c.o -MF src/CMakeFiles/libfluidsynth.dir/synth/fluid_synth.c.o.d -o src/CMakeFiles/libfluidsynth.dir/synth/fluid_synth.c.o -c src/synth/fluid_synth.c In file included from src/synth/fluid_event_queue.h:24:0, from src/synth/fluid_synth.h:35, from src/synth/fluid_synth.c:23: src/utils/fluid_sys.h: In function 'new_fluid_cond_mutex': src/utils/fluid_sys.h:161:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] if (!g_thread_supported ()) g_thread_init (NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/synth/fluid_synth.c:23: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ In file included from src/synth/fluid_event_queue.h:24:0, from src/synth/fluid_synth.h:35, from src/synth/fluid_synth.c:23: src/utils/fluid_sys.h:162:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] return g_mutex_new (); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/synth/fluid_synth.c:23: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GMutex * g_mutex_new (void); ^ src/synth/fluid_synth.c: In function 'new_fluid_synth': src/synth/fluid_synth.c:569:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] fluid_rec_mutex_init(synth->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/synth/fluid_synth.c:23: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ src/synth/fluid_synth.c:569:3: warning: 'g_static_rec_mutex_init' is deprecated: Use 'g_rec_mutex_init' instead [-Wdeprecated-declarations] fluid_rec_mutex_init(synth->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/synth/fluid_synth.c:23: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:176:10: note: declared here void g_static_rec_mutex_init (GStaticRecMutex *mutex); ^ src/synth/fluid_synth.c:661:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] fluid_private_init(synth->tuning_iter); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/synth/fluid_synth.c:23: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^ src/synth/fluid_synth.c:661:3: warning: 'g_static_private_init' is deprecated [-Wdeprecated-declarations] fluid_private_init(synth->tuning_iter); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/synth/fluid_synth.c:23: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:248:10: note: declared here void g_static_private_init (GStaticPrivate *private_key); ^ src/synth/fluid_synth.c: In function 'delete_fluid_synth': src/synth/fluid_synth.c:866:3: warning: 'g_static_private_free' is deprecated [-Wdeprecated-declarations] fluid_private_free (synth->tuning_iter); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/synth/fluid_synth.c:23: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:259:10: note: declared here void g_static_private_free (GStaticPrivate *private_key); ^ src/synth/fluid_synth.c:874:3: warning: 'g_static_rec_mutex_free' is deprecated: Use 'g_rec_mutex_free' instead [-Wdeprecated-declarations] fluid_rec_mutex_destroy(synth->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/synth/fluid_synth.c:23: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:195:10: note: declared here void g_static_rec_mutex_free (GStaticRecMutex *mutex); ^ src/synth/fluid_synth.c: In function 'fluid_synth_nwrite_float': src/synth/fluid_synth.c:2374:33: warning: variable 'bytes' set but not used [-Wunused-but-set-variable] int i, num, available, count, bytes; ^ src/synth/fluid_synth.c: In function 'fluid_synth_tuning_iteration_start': src/synth/fluid_synth.c:4443:3: warning: 'g_static_private_set' is deprecated: Use 'g_private_set' instead [-Wdeprecated-declarations] fluid_private_set (synth->tuning_iter, FLUID_INT_TO_POINTER (0), NULL); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/synth/fluid_synth.c:23: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:254:10: note: declared here void g_static_private_set (GStaticPrivate *private_key, ^ src/synth/fluid_synth.c: In function 'fluid_synth_tuning_iteration_next': src/synth/fluid_synth.c:4466:3: warning: 'g_static_private_get' is deprecated: Use 'g_private_get' instead [-Wdeprecated-declarations] pval = fluid_private_get (synth->tuning_iter); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/synth/fluid_synth.c:23: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:251:10: note: declared here gpointer g_static_private_get (GStaticPrivate *private_key); ^ src/synth/fluid_synth.c:4487:7: warning: 'g_static_private_set' is deprecated: Use 'g_private_set' instead [-Wdeprecated-declarations] if (p < 127) fluid_private_set (synth->tuning_iter, ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/synth/fluid_synth.c:23: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:254:10: note: declared here void g_static_private_set (GStaticPrivate *private_key, ^ src/synth/fluid_synth.c:4489:7: warning: 'g_static_private_set' is deprecated: Use 'g_private_set' instead [-Wdeprecated-declarations] else fluid_private_set (synth->tuning_iter, ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/synth/fluid_synth.c:23: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:254:10: note: declared here void g_static_private_set (GStaticPrivate *private_key, ^ src/synth/fluid_synth.c: In function 'fluid_synth_api_enter': src/synth/fluid_synth.c:4938:5: warning: 'g_static_rec_mutex_lock' is deprecated: Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations] fluid_rec_mutex_lock(synth->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/synth/fluid_synth.c:23: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:179:10: note: declared here void g_static_rec_mutex_lock (GStaticRecMutex *mutex); ^ src/synth/fluid_synth.c: In function 'fluid_synth_api_exit': src/synth/fluid_synth.c:4954:5: warning: 'g_static_rec_mutex_unlock' is deprecated: Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations] fluid_rec_mutex_unlock(synth->mutex); ^ In file included from /usr/local/include/glib-2.0/glib.h:107:0, from src/utils/fluidsynth_priv.h:25, from src/synth/fluid_synth.h:34, from src/synth/fluid_synth.c:23: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:185:10: note: declared here void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); ^ [36/39] : && /usr/bin/cc -fPIC -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -lpthread -Wl,--no-undefined -shared -Wl,-soname,libfluidsynth.so.1 -o src/libfluidsynth.so.1.5.2 src/CMakeFiles/libfluidsynth.dir/drivers/fluid_jack.c.o src/CMakeFiles/libfluidsynth.dir/drivers/fluid_oss.c.o src/CMakeFiles/libfluidsynth.dir/utils/fluid_conv.c.o src/CMakeFiles/libfluidsynth.dir/utils/fluid_hash.c.o src/CMakeFiles/libfluidsynth.dir/utils/fluid_list.c.o src/CMakeFiles/libfluidsynth.dir/utils/fluid_ringbuffer.c.o src/CMakeFiles/libfluidsynth.dir/utils/fluid_settings.c.o src/CMakeFiles/libfluidsynth.dir/utils/fluid_sys.c.o src/CMakeFiles/libfluidsynth.dir/sfloader/fluid_defsfont.c.o src/CMakeFiles/libfluidsynth.dir/sfloader/fluid_ramsfont.c.o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_adsr_env.c.o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_chorus.c.o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_iir_filter.c.o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_lfo.c.o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice.c.o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_dsp.c.o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_event.c.o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_mixer.c.o src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rev.c.o src/CMakeFiles/libfluidsynth.dir/synth/fluid_chan.c.o src/CMakeFiles/libfluidsynth.dir/synth/fluid_event.c.o src/CMakeFiles/libfluidsynth.dir/synth/fluid_gen.c.o src/CMakeFiles/libfluidsynth.dir/synth/fluid_mod.c.o src/CMakeFiles/libfluidsynth.dir/synth/fluid_synth.c.o src/CMakeFiles/libfluidsynth.dir/synth/fluid_tuning.c.o src/CMakeFiles/libfluidsynth.dir/synth/fluid_voice.c.o src/CMakeFiles/libfluidsynth.dir/midi/fluid_midi.c.o src/CMakeFiles/libfluidsynth.dir/midi/fluid_midi_router.c.o src/CMakeFiles/libfluidsynth.dir/midi/fluid_seqbind.c.o src/CMakeFiles/libfluidsynth.dir/midi/fluid_seq.c.o src/CMakeFiles/libfluidsynth.dir/drivers/fluid_adriver.c.o src/CMakeFiles/libfluidsynth.dir/drivers/fluid_mdriver.c.o src/CMakeFiles/libfluidsynth.dir/drivers/fluid_aufile.c.o src/CMakeFiles/libfluidsynth.dir/bindings/fluid_cmd.c.o src/CMakeFiles/libfluidsynth.dir/bindings/fluid_filerenderer.c.o -L/usr/local/lib -lgthread-2.0 -lglib-2.0 -lintl -ljack /usr/local/lib/libreadline.so -lm -Wl,-rpath,/usr/local/lib: && : [37/39] /usr/local/bin/cmake -E cmake_symlink_library src/libfluidsynth.so.1.5.2 src/libfluidsynth.so.1 src/libfluidsynth.so && : [38/39] /usr/bin/cc -DHAVE_CONFIG_H -I. -Isrc -Isrc/drivers -Isrc/synth -Isrc/rvoice -Isrc/midi -Isrc/utils -Isrc/sfloader -Isrc/bindings -Iinclude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -MD -MT src/CMakeFiles/fluidsynth.dir/fluidsynth.c.o -MF src/CMakeFiles/fluidsynth.dir/fluidsynth.c.o.d -o src/CMakeFiles/fluidsynth.dir/fluidsynth.c.o -c src/fluidsynth.c src/fluidsynth.c: In function 'main': src/fluidsynth.c:298:7: warning: variable 'connect_lash' set but not used [-Wunused-but-set-variable] int connect_lash = 1; ^ [39/39] : && /usr/bin/cc -pipe -O2 -fno-strict-aliasing -fomit-frame-pointer -funroll-all-loops -finline-functions -DNDEBUG -Wall -W -Wpointer-arith -Wbad-function-cast -Wno-cast-qual -Wcast-align -Wstrict-prototypes -Wno-unused-parameter -Wdeclaration-after-statement -lpthread -Wl,--as-needed src/CMakeFiles/fluidsynth.dir/fluidsynth.c.o -o src/fluidsynth -L/usr/local/lib src/libfluidsynth.so.1.5.2 -lgthread-2.0 -lglib-2.0 -lintl -ljack /usr/local/lib/libreadline.so -lm -Wl,-rpath,/usr/local/lib:/wrkdirs/audio/fluidsynth/fluidsynth-1.1.6/src: && : =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for fluidsynth-1.1.6_2 ===> Generating temporary packing list [0/1] cd /wrkdirs/audio/fluidsynth/fluidsynth-1.1.6 && /usr/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake -- Install configuration: "Release" -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/libdata/pkgconfig/fluidsynth.pc -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/bin/fluidsynth -- Set runtime path of "/wrkdirs/audio/fluidsynth/stage/usr/local/bin/fluidsynth" to "/usr/local/lib" -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/lib/libfluidsynth.so.1.5.2 -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/lib/libfluidsynth.so.1 -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/lib/libfluidsynth.so -- Set runtime path of "/wrkdirs/audio/fluidsynth/stage/usr/local/lib/libfluidsynth.so.1.5.2" to "/usr/local/lib" -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/audio.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/event.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/gen.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/log.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/midi.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/misc.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/mod.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/ramsfont.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/seq.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/seqbind.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/settings.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/sfont.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/shell.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/synth.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/types.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/voice.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/include/fluidsynth/version.h -- Installing: /wrkdirs/audio/fluidsynth/stage/usr/local/man/man1/fluidsynth.1 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for fluidsynth-1.1.6_2 file sizes/checksums [27]: . done packing files [27]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for fluidsynth-1.1.6_2 build of audio/fluidsynth ended at Mon Oct 3 19:19:52 PDT 2016 build time: 00:00:58