==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_4565dba9-dbfc-4bf0-b65e-b1e5f8eeefce]...done ==> Making package: mtpfs 1.1-5.2 (Sun Apr 26 12:52:31 2026) ==> Retrieving sources... -> Downloading mtpfs-1.1.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 100 169 0 169 0 0 1312 0 0 100 169 0 169 0 0 1311 0 0 0 0 0 0 0 0 0 0 0 0 105.7k 0 0 0 0 0 0 00:01 0 100 105.7k 100 105.7k 0 0 58605 0 00:01 00:01 63000 100 105.7k 100 105.7k 0 0 58603 0 00:01 00:01 63000 100 105.7k 100 105.7k 0 0 58602 0 00:01 00:01 63000 ==> Validating source files with sha512sums... mtpfs-1.1.tar.gz ... Passed ==> Making package: mtpfs 1.1-5.2 (Sun Apr 26 10:52:35 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (5) New Version Net Change extra/fuse-common 3.18.2-1 0.00 MiB extra/fuse2 2.9.9-5 0.44 MiB extra/libid3tag 0.16.4-1 0.10 MiB extra/libmad 0.15.1b-10 0.16 MiB extra/libmtp 1.1.23-1 5.36 MiB Total Installed Size: 6.06 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libmtp... installing libid3tag... installing fuse-common... installing fuse2... installing libmad... :: Running post-transaction hooks... (1/3) Updating udev hardware database... (2/3) Reloading device manager configuration... Skipped: Current root is not booted. (3/3) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found mtpfs-1.1.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting mtpfs-1.1.tar.gz with bsdtar ==> Starting build()... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether gcc and cc understand -c and -o together... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for FUSE... yes checking for MTP... yes checking for GLIB... yes checking for MAD... yes configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands gcc -DPACKAGE_NAME=\"MTPfs\" -DPACKAGE_TARNAME=\"mtpfs\" -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"MTPfs\ 1.1\" -DPACKAGE_BUGREPORT=\"Chris\ Debenham\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mtpfs\" -DVERSION=\"1.1\" -DDEBUG=0 -I. -DFUSE_USE_VERSION=22 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libusb-1.0 -DUSEMAD -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/mtpfs -flto=auto -falign-functions=32 -MT mtpfs-mtpfs.o -MD -MP -MF .deps/mtpfs-mtpfs.Tpo -c -o mtpfs-mtpfs.o `test -f 'mtpfs.c' || echo './'`mtpfs.c gcc -DPACKAGE_NAME=\"MTPfs\" -DPACKAGE_TARNAME=\"mtpfs\" -DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"MTPfs\ 1.1\" -DPACKAGE_BUGREPORT=\"Chris\ Debenham\ \\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mtpfs\" -DVERSION=\"1.1\" -DDEBUG=0 -I. -DFUSE_USE_VERSION=22 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libusb-1.0 -DUSEMAD -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/mtpfs -flto=auto -falign-functions=32 -MT mtpfs-id3read.o -MD -MP -MF .deps/mtpfs-id3read.Tpo -c -o mtpfs-id3read.o `test -f 'id3read.c' || echo './'`id3read.c In file included from mtpfs.c:9: ./mtpfs.h:76:1: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 76 | static GStaticMutex device_lock = G_STATIC_MUTEX_INIT; | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:115, from ./mtpfs.h:24: /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_init" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:131:65: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 131 | #define G_STATIC_MUTEX_INIT { NULL, PTHREAD_MUTEX_INITIALIZER } GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_init) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mtpfs.h:76:35: note: in expansion of macro ‘G_STATIC_MUTEX_INIT’ 76 | static GStaticMutex device_lock = G_STATIC_MUTEX_INIT; | ^~~~~~~~~~~~~~~~~~~ mtpfs.c: In function ‘mtpfs_release’: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:19: note: in expansion of macro ‘g_static_mutex_get_mutex’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:474:5: note: in expansion of macro ‘enter_lock’ 474 | enter_lock("release: %s", path); | ^~~~~~~~~~ mtpfs.c:474:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:53: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:474:5: note: in expansion of macro ‘enter_lock’ 474 | enter_lock("release: %s", path); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:483:13: note: in expansion of macro ‘return_unlock’ 483 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:483:13: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:483:13: note: in expansion of macro ‘return_unlock’ 483 | return_unlock(0); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:618:13: note: in expansion of macro ‘return_unlock’ 618 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c:618:13: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:618:13: note: in expansion of macro ‘return_unlock’ 618 | return_unlock(ret); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:622:5: note: in expansion of macro ‘return_unlock’ 622 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:622:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:622:5: note: in expansion of macro ‘return_unlock’ 622 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c: In function ‘mtpfs_destroy’: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:19: note: in expansion of macro ‘g_static_mutex_get_mutex’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:628:5: note: in expansion of macro ‘enter_lock’ 628 | enter_lock("destroy"); | ^~~~~~~~~~ mtpfs.c:628:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:53: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:628:5: note: in expansion of macro ‘enter_lock’ 628 | enter_lock("destroy"); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:636:5: note: in expansion of macro ‘return_unlock’ 636 | return_unlock(); | ^~~~~~~~~~~~~ mtpfs.c:636:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:636:5: note: in expansion of macro ‘return_unlock’ 636 | return_unlock(); | ^~~~~~~~~~~~~ mtpfs.c: In function ‘mtpfs_readdir’: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:19: note: in expansion of macro ‘g_static_mutex_get_mutex’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:643:9: note: in expansion of macro ‘enter_lock’ 643 | enter_lock("readdir %s", path); | ^~~~~~~~~~ mtpfs.c:643:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:53: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:643:9: note: in expansion of macro ‘enter_lock’ 643 | enter_lock("readdir %s", path); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:666:17: note: in expansion of macro ‘return_unlock’ 666 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:666:17: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:666:17: note: in expansion of macro ‘return_unlock’ 666 | return_unlock(0); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:691:9: note: in expansion of macro ‘return_unlock’ 691 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:691:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:691:9: note: in expansion of macro ‘return_unlock’ 691 | return_unlock(0); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:709:17: note: in expansion of macro ‘return_unlock’ 709 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:709:17: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:709:17: note: in expansion of macro ‘return_unlock’ 709 | return_unlock(0); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:730:29: note: in expansion of macro ‘return_unlock’ 730 | if (folder == NULL) return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:730:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 730 | if (folder == NULL) return_unlock(0); | ^~ /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:730:29: note: in expansion of macro ‘return_unlock’ 730 | if (folder == NULL) return_unlock(0); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:733:25: note: in expansion of macro ‘return_unlock’ 733 | if (folder == NULL) return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:733:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 733 | if (folder == NULL) return_unlock(0); | ^~ /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:733:25: note: in expansion of macro ‘return_unlock’ 733 | if (folder == NULL) return_unlock(0); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:769:5: note: in expansion of macro ‘return_unlock’ 769 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:769:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:769:5: note: in expansion of macro ‘return_unlock’ 769 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c: In function ‘mtpfs_getattr_real’: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:776:21: note: in expansion of macro ‘return_unlock’ 776 | if (path==NULL) return_unlock(-ENOENT); | ^~~~~~~~~~~~~ mtpfs.c:776:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 776 | if (path==NULL) return_unlock(-ENOENT); | ^~ /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:776:21: note: in expansion of macro ‘return_unlock’ 776 | if (path==NULL) return_unlock(-ENOENT); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:787:9: note: in expansion of macro ‘return_unlock’ 787 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:787:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:787:9: note: in expansion of macro ‘return_unlock’ 787 | return_unlock(0); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:799:13: note: in expansion of macro ‘return_unlock’ 799 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:799:13: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:799:13: note: in expansion of macro ‘return_unlock’ 799 | return_unlock(0); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:808:9: note: in expansion of macro ‘return_unlock’ 808 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:808:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:808:9: note: in expansion of macro ‘return_unlock’ 808 | return_unlock(0); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:843:17: note: in expansion of macro ‘return_unlock’ 843 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:843:17: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:843:17: note: in expansion of macro ‘return_unlock’ 843 | return_unlock(0); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:847:9: note: in expansion of macro ‘return_unlock’ 847 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ mtpfs.c:847:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:847:9: note: in expansion of macro ‘return_unlock’ 847 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:864:33: note: in expansion of macro ‘return_unlock’ 864 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:864:33: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:864:33: note: in expansion of macro ‘return_unlock’ 864 | return_unlock(0); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:868:17: note: in expansion of macro ‘return_unlock’ 868 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ mtpfs.c:868:17: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:868:17: note: in expansion of macro ‘return_unlock’ 868 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ mtpfs.c: In function ‘mtpfs_getattr’: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:19: note: in expansion of macro ‘g_static_mutex_get_mutex’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:914:5: note: in expansion of macro ‘enter_lock’ 914 | enter_lock("getattr %s", path); | ^~~~~~~~~~ mtpfs.c:914:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:53: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:914:5: note: in expansion of macro ‘enter_lock’ 914 | enter_lock("getattr %s", path); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:919:5: note: in expansion of macro ‘return_unlock’ 919 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c:919:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:919:5: note: in expansion of macro ‘return_unlock’ 919 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c: In function ‘mtpfs_mknod’: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:19: note: in expansion of macro ‘g_static_mutex_get_mutex’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:925:9: note: in expansion of macro ‘enter_lock’ 925 | enter_lock("mknod %s", path); | ^~~~~~~~~~ mtpfs.c:925:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:53: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:925:9: note: in expansion of macro ‘enter_lock’ 925 | enter_lock("mknod %s", path); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:928:9: note: in expansion of macro ‘return_unlock’ 928 | return_unlock(-EEXIST); | ^~~~~~~~~~~~~ mtpfs.c:928:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:928:9: note: in expansion of macro ‘return_unlock’ 928 | return_unlock(-EEXIST); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:931:5: note: in expansion of macro ‘return_unlock’ 931 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:931:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:931:5: note: in expansion of macro ‘return_unlock’ 931 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c: In function ‘mtpfs_open’: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:19: note: in expansion of macro ‘g_static_mutex_get_mutex’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:937:5: note: in expansion of macro ‘enter_lock’ 937 | enter_lock("open"); | ^~~~~~~~~~ mtpfs.c:937:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:53: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:937:5: note: in expansion of macro ‘enter_lock’ 937 | enter_lock("open"); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:941:9: note: in expansion of macro ‘return_unlock’ 941 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ mtpfs.c:941:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:941:9: note: in expansion of macro ‘return_unlock’ 941 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1007:17: note: in expansion of macro ‘return_unlock’ 1007 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ mtpfs.c:1007:17: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1007:17: note: in expansion of macro ‘return_unlock’ 1007 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1011:9: note: in expansion of macro ‘return_unlock’ 1011 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ mtpfs.c:1011:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1011:9: note: in expansion of macro ‘return_unlock’ 1011 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1014:5: note: in expansion of macro ‘return_unlock’ 1014 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:1014:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1014:5: note: in expansion of macro ‘return_unlock’ 1014 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c: In function ‘mtpfs_read’: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:19: note: in expansion of macro ‘g_static_mutex_get_mutex’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:1021:5: note: in expansion of macro ‘enter_lock’ 1021 | enter_lock("read"); | ^~~~~~~~~~ mtpfs.c:1021:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:53: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:1021:5: note: in expansion of macro ‘enter_lock’ 1021 | enter_lock("read"); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1027:9: note: in expansion of macro ‘return_unlock’ 1027 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ mtpfs.c:1027:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1027:9: note: in expansion of macro ‘return_unlock’ 1027 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1033:5: note: in expansion of macro ‘return_unlock’ 1033 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c:1033:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1033:5: note: in expansion of macro ‘return_unlock’ 1033 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c: In function ‘mtpfs_write’: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:19: note: in expansion of macro ‘g_static_mutex_get_mutex’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:1040:5: note: in expansion of macro ‘enter_lock’ 1040 | enter_lock("write"); | ^~~~~~~~~~ mtpfs.c:1040:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:53: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:1040:5: note: in expansion of macro ‘enter_lock’ 1040 | enter_lock("write"); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1048:5: note: in expansion of macro ‘return_unlock’ 1048 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c:1048:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1048:5: note: in expansion of macro ‘return_unlock’ 1048 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c: In function ‘mtpfs_unlink’: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:19: note: in expansion of macro ‘g_static_mutex_get_mutex’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:1055:5: note: in expansion of macro ‘enter_lock’ 1055 | enter_lock("unlink"); | ^~~~~~~~~~ mtpfs.c:1055:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:53: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:1055:5: note: in expansion of macro ‘enter_lock’ 1055 | enter_lock("unlink"); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1060:9: note: in expansion of macro ‘return_unlock’ 1060 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ mtpfs.c:1060:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1060:9: note: in expansion of macro ‘return_unlock’ 1060 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1070:5: note: in expansion of macro ‘return_unlock’ 1070 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c:1070:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1070:5: note: in expansion of macro ‘return_unlock’ 1070 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c: In function ‘mtpfs_mkdir_real’: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1077:7: note: in expansion of macro ‘return_unlock’ 1077 | return_unlock(-EPERM); | ^~~~~~~~~~~~~ mtpfs.c:1077:7: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1077:7: note: in expansion of macro ‘return_unlock’ 1077 | return_unlock(-EPERM); | ^~~~~~~~~~~~~ mtpfs.c: In function ‘mtpfs_mkdir’: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:19: note: in expansion of macro ‘g_static_mutex_get_mutex’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:1133:5: note: in expansion of macro ‘enter_lock’ 1133 | enter_lock("mkdir: %s", path); | ^~~~~~~~~~ mtpfs.c:1133:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:53: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:1133:5: note: in expansion of macro ‘enter_lock’ 1133 | enter_lock("mkdir: %s", path); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1136:5: note: in expansion of macro ‘return_unlock’ 1136 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c:1136:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1136:5: note: in expansion of macro ‘return_unlock’ 1136 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c: In function ‘mtpfs_rmdir’: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:19: note: in expansion of macro ‘g_static_mutex_get_mutex’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:1142:5: note: in expansion of macro ‘enter_lock’ 1142 | enter_lock("rmdir %s", path); | ^~~~~~~~~~ mtpfs.c:1142:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:53: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:1142:5: note: in expansion of macro ‘enter_lock’ 1142 | enter_lock("rmdir %s", path); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1146:9: note: in expansion of macro ‘return_unlock’ 1146 | return_unlock(0); | ^~~~~~~~~~~~~ mtpfs.c:1146:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1146:9: note: in expansion of macro ‘return_unlock’ 1146 | return_unlock(0); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1151:9: note: in expansion of macro ‘return_unlock’ 1151 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ mtpfs.c:1151:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1151:9: note: in expansion of macro ‘return_unlock’ 1151 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1156:5: note: in expansion of macro ‘return_unlock’ 1156 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c:1156:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1156:5: note: in expansion of macro ‘return_unlock’ 1156 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c: In function ‘mtpfs_rename’: /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:19: note: in expansion of macro ‘g_static_mutex_get_mutex’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:1202:9: note: in expansion of macro ‘enter_lock’ 1202 | enter_lock("rename '%s' to '%s'", oldname, newname); | ^~~~~~~~~~ mtpfs.c:1202:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:147:53: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 147 | g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:29:58: note: in expansion of macro ‘g_static_mutex_lock’ 29 | #define enter_lock(a...) do { DBG("lock"); DBG(a); g_static_mutex_lock(&device_lock); } while(0) | ^~~~~~~~~~~~~~~~~~~ mtpfs.c:1202:9: note: in expansion of macro ‘enter_lock’ 1202 | enter_lock("rename '%s' to '%s'", oldname, newname); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1216:9: note: in expansion of macro ‘return_unlock’ 1216 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ mtpfs.c:1216:9: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1216:9: note: in expansion of macro ‘return_unlock’ 1216 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1223:17: note: in expansion of macro ‘return_unlock’ 1223 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ mtpfs.c:1223:17: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1223:17: note: in expansion of macro ‘return_unlock’ 1223 | return_unlock(-ENOENT); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1338:31: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1338 | #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:141:39: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO’ 141 | #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:129:64: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32’ 129 | #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:21: note: in expansion of macro ‘g_static_mutex_get_mutex’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1269:5: note: in expansion of macro ‘return_unlock’ 1269 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c:1269:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] /usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here 158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1337 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1340:3: note: in expansion of macro ‘_GLIB_GNUC_DO_PRAGMA’ 1340 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:142:46: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_FOR’ 142 | #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:151:55: note: in expansion of macro ‘GLIB_DEPRECATED_MACRO_IN_2_32_FOR’ 151 | g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtpfs.c:30:59: note: in expansion of macro ‘g_static_mutex_unlock’ 30 | #define return_unlock(a) do { DBG("return unlock"); g_static_mutex_unlock(&device_lock); return a; } while(0) | ^~~~~~~~~~~~~~~~~~~~~ mtpfs.c:1269:5: note: in expansion of macro ‘return_unlock’ 1269 | return_unlock(ret); | ^~~~~~~~~~~~~ mtpfs.c: At top level: mtpfs.c:1302:16: error: initialization of ‘int (*)(const char *, mode_t)’ {aka ‘int (*)(const char *, unsigned int)’} from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types] 1302 | .chmod = mtpfs_blank, | ^~~~~~~~~~~ mtpfs.c:1302:16: note: (near initialization for ‘mtpfs_oper.chmod’) mtpfs.c:1296:1: note: ‘mtpfs_blank’ declared here 1296 | mtpfs_blank() | ^~~~~~~~~~~ mtpfs.c:1311:16: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 1311 | .destroy = mtpfs_destroy, | ^~~~~~~~~~~~~ mtpfs.c:1311:16: note: (near initialization for ‘mtpfs_oper.destroy’) mtpfs.c:626:1: note: ‘mtpfs_destroy’ declared here 626 | mtpfs_destroy () | ^~~~~~~~~~~~~ make: *** [Makefile:290: mtpfs-mtpfs.o] Error 1 make: *** Waiting for unfinished jobs.... mv -f .deps/mtpfs-id3read.Tpo .deps/mtpfs-id3read.Po ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_4565dba9-dbfc-4bf0-b65e-b1e5f8eeefce/build