<86>Dec 4 17:55:34 userdel[119430]: delete user 'rooter' <86>Dec 4 17:55:34 groupadd[119628]: group added to /etc/group: name=rooter, GID=672 <86>Dec 4 17:55:34 groupadd[119628]: group added to /etc/gshadow: name=rooter <86>Dec 4 17:55:34 groupadd[119628]: new group: name=rooter, GID=672 <86>Dec 4 17:55:34 useradd[119861]: new user: name=rooter, UID=672, GID=672, home=/root, shell=/bin/bash <86>Dec 4 17:55:34 userdel[120373]: delete user 'builder' <86>Dec 4 17:55:34 userdel[120373]: removed group 'builder' owned by 'builder' <86>Dec 4 17:55:34 userdel[120373]: removed shadow group 'builder' owned by 'builder' <86>Dec 4 17:55:34 groupadd[120954]: group added to /etc/group: name=builder, GID=673 <86>Dec 4 17:55:34 groupadd[120954]: group added to /etc/gshadow: name=builder <86>Dec 4 17:55:34 groupadd[120954]: new group: name=builder, GID=673 <86>Dec 4 17:55:34 useradd[121006]: new user: name=builder, UID=673, GID=673, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/rox-base-2.11-alt1.src.rpm: license not found in '/usr/share/license' directory: GNU /usr/src/in/srpm/rox-base-2.11-alt1.src.rpm: The use of such a license name is ambiguous: GPL <13>Dec 4 17:55:38 rpmi: xorg-proto-devel-2020.1-alt1 sisyphus+250406.100.1.1 1587554810 installed <13>Dec 4 17:55:38 rpmi: libglvnd-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 17:55:38 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Dec 4 17:55:38 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Dec 4 17:55:38 rpmi: libICE-1.0.10-alt1 sisyphus+247690.100.1.1 1584000387 installed <13>Dec 4 17:55:38 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Dec 4 17:55:38 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Dec 4 17:55:38 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Dec 4 17:55:38 rpmi: libwayland-server-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Dec 4 17:55:38 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Dec 4 17:55:39 rpmi: libicu67-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>Dec 4 17:55:39 rpmi: libgraphite2-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed <13>Dec 4 17:55:39 rpmi: libgraphite2-devel-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed <13>Dec 4 17:55:39 rpmi: icu-utils-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>Dec 4 17:55:39 rpmi: libicu-devel-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>Dec 4 17:55:39 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Dec 4 17:55:40 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Dec 4 17:55:40 rpmi: libICE-devel-1.0.10-alt1 sisyphus+247690.100.1.1 1584000387 installed <13>Dec 4 17:55:40 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Dec 4 17:55:40 rpmi: libOpenGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 17:55:40 rpmi: libGLES-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 17:55:40 rpmi: libgtk+2-locales-2.24.32-alt5 sisyphus+262336.100.3.1 1606161374 installed <13>Dec 4 17:55:40 rpmi: libfribidi-1.0.10-alt1 sisyphus+254557.100.1.1 1594020362 installed <13>Dec 4 17:55:40 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Dec 4 17:55:40 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Dec 4 17:55:40 rpmi: libpixman-3:0.40.0-alt1 sisyphus+250700.100.1.1 1587971055 installed <13>Dec 4 17:55:40 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099167 installed <13>Dec 4 17:55:40 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Dec 4 17:55:40 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Dec 4 17:55:40 rpmi: libsystemd-1:247-alt1 sisyphus+262610.100.3.1 1606868459 installed <13>Dec 4 17:55:40 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed <13>Dec 4 17:55:40 rpmi: libavahi-0.8-alt1 sisyphus+255349.240.4.1 1595604514 installed <13>Dec 4 17:55:40 rpmi: libcups-2.3.1-alt2 sisyphus+255816.100.2.1 1596533556 installed <13>Dec 4 17:55:40 rpmi: libatk-locales-2.36.0-alt1 sisyphus+249208.100.1.1 1585840405 installed <13>Dec 4 17:55:40 rpmi: libatk-2.36.0-alt1 sisyphus+249208.100.1.1 1585840406 installed <13>Dec 4 17:55:40 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Dec 4 17:55:40 rpmi: libX11-locales-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422159 installed <13>Dec 4 17:55:40 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Dec 4 17:55:40 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Dec 4 17:55:40 rpmi: libX11-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422166 installed <13>Dec 4 17:55:40 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Dec 4 17:55:40 rpmi: libXrender-0.9.10-alt1 sisyphus+261890.100.1.1 1605595177 installed <13>Dec 4 17:55:40 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Dec 4 17:55:40 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Dec 4 17:55:42 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Dec 4 17:55:42 rpmi: libX11-devel-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422166 installed <13>Dec 4 17:55:42 rpmi: libXrender-devel-0.9.10-alt1 sisyphus+261890.100.1.1 1605595177 installed <13>Dec 4 17:55:42 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Dec 4 17:55:42 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed <13>Dec 4 17:55:42 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Dec 4 17:55:42 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Dec 4 17:55:42 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106978 installed <13>Dec 4 17:55:42 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Dec 4 17:55:42 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949137 installed <13>Dec 4 17:55:42 rpmi: libXt-1.2.0-alt1 sisyphus+247690.400.1.1 1584000596 installed <13>Dec 4 17:55:42 rpmi: libwayland-client-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Dec 4 17:55:42 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Dec 4 17:55:42 rpmi: libdrm-1:2.4.103-alt1 sisyphus+261080.100.1.1 1604598368 installed <13>Dec 4 17:55:42 rpmi: libGLX-mesa-4:20.2.3-alt1 sisyphus+262368.100.1.1 1606200337 installed <13>Dec 4 17:55:42 rpmi: libGLX-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 17:55:42 rpmi: libGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 17:55:42 rpmi: libgbm-4:20.2.3-alt1 sisyphus+262368.100.1.1 1606200337 installed <13>Dec 4 17:55:42 rpmi: libEGL-mesa-4:20.2.3-alt1 sisyphus+262368.100.1.1 1606200337 installed <13>Dec 4 17:55:42 rpmi: libEGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 17:55:42 rpmi: libglvnd-devel-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 17:55:42 rpmi: libEGL-devel-4:20.2.3-alt1 sisyphus+262368.100.1.1 1606200337 installed <13>Dec 4 17:55:42 rpmi: libGL-devel-4:20.2.3-alt1 sisyphus+262368.100.1.1 1606200337 installed <13>Dec 4 17:55:42 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>Dec 4 17:55:42 rpmi: libwebp7-1.1.0-alt1 sisyphus+243895.100.1.1 1578410873 installed <13>Dec 4 17:55:42 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Dec 4 17:55:42 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743635 installed <13>Dec 4 17:55:42 rpmi: shared-mime-info-2.0-alt1 sisyphus+251302.100.1.1 1588847607 installed <13>Dec 4 17:55:42 rpmi: libgdk-pixbuf-locales-2.42.0-alt1 sisyphus+261999.200.2.1 1605722003 installed <13>Dec 4 17:55:43 rpmi: gsettings-desktop-schemas-data-3.38.0-alt1 sisyphus+258314.500.14.2 1600843028 installed <13>Dec 4 17:55:43 rpmi: libgio-2.66.3-alt1 sisyphus+261863.100.1.1 1605540253 installed <13>Dec 4 17:55:43 rpmi: gsettings-desktop-schemas-3.38.0-alt1 sisyphus+258314.500.14.2 1600843530 installed <13>Dec 4 17:55:43 rpmi: libgdk-pixbuf-2.42.0-alt1 sisyphus+261999.200.2.1 1605722034 installed <13>Dec 4 17:55:43 rpmi: gtk-update-icon-cache-3.24.23-alt2 sisyphus+258314.2000.14.2 1600845597 installed <13>Dec 4 17:55:43 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>Dec 4 17:55:43 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>Dec 4 17:55:43 rpmi: libharfbuzz-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Dec 4 17:55:43 rpmi: libfreetype-2.10.4-alt2 sisyphus+260293.100.2.1 1604479496 installed <13>Dec 4 17:55:43 rpmi: fontconfig-2.13.1-alt1 sisyphus+257555.100.1.1 1599475160 installed Updating fonts cache: <29>Dec 4 17:55:44 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Dec 4 17:55:44 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Dec 4 17:55:44 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Dec 4 17:55:44 rpmi: libpango-1.48.0-alt1 sisyphus+261300.100.2.1 1604868816 installed <13>Dec 4 17:55:44 rpmi: libgtk+2-2.24.32-alt5 sisyphus+262336.100.3.1 1606161327 installed <13>Dec 4 17:55:44 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Dec 4 17:55:44 rpmi: librsvg-1:2.50.2-alt1 sisyphus+262203.100.1.2 1605908464 installed <13>Dec 4 17:55:44 rpmi: libharfbuzz-icu-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Dec 4 17:55:44 rpmi: libharfbuzz-gobject-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Dec 4 17:55:44 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Dec 4 17:55:44 rpmi: xml-utils-1:2.9.10-alt4 sisyphus+261132.100.1.1 1604669137 installed <13>Dec 4 17:55:44 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed <13>Dec 4 17:55:45 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Dec 4 17:55:45 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Dec 4 17:55:45 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 4 17:55:45 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 4 17:55:45 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed <13>Dec 4 17:55:45 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Dec 4 17:55:45 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Dec 4 17:55:45 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Dec 4 17:55:45 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Dec 4 17:55:45 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 17:55:45 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 17:55:46 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 17:55:46 rpmi: glib2-devel-2.66.3-alt1 sisyphus+261863.100.1.1 1605540253 installed <13>Dec 4 17:55:46 rpmi: libfreetype-devel-2.10.4-alt2 sisyphus+260293.100.2.1 1604479496 installed <13>Dec 4 17:55:46 rpmi: libharfbuzz-devel-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Dec 4 17:55:46 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus+257555.100.1.1 1599475160 installed <13>Dec 4 17:55:46 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Dec 4 17:55:46 rpmi: libgio-devel-2.66.3-alt1 sisyphus+261863.100.1.1 1605540253 installed <13>Dec 4 17:55:46 rpmi: libgdk-pixbuf-devel-2.42.0-alt1 sisyphus+261999.200.2.1 1605722034 installed <13>Dec 4 17:55:46 rpmi: libXft-devel-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Dec 4 17:55:46 rpmi: libpango-devel-1.48.0-alt1 sisyphus+261300.100.2.1 1604868816 installed <13>Dec 4 17:55:46 rpmi: libatk-devel-2.36.0-alt1 sisyphus+249208.100.1.1 1585840406 installed <13>Dec 4 17:55:46 rpmi: gtk-builder-convert-2.24.32-alt5 sisyphus+262336.100.3.1 1606161374 installed <13>Dec 4 17:55:46 rpmi: libgtk+2-devel-2.24.32-alt5 sisyphus+262336.100.3.1 1606161327 installed <13>Dec 4 17:55:46 rpmi: libXt-devel-1.2.0-alt1 sisyphus+247690.400.1.1 1584000596 installed <13>Dec 4 17:55:46 rpmi: xorg-cf-files-1.0.6-alt1 1453137637 installed <13>Dec 4 17:55:46 rpmi: libxml2-devel-1:2.9.10-alt4 sisyphus+261132.100.1.1 1604669137 installed <13>Dec 4 17:55:46 rpmi: imake-1.0.7-alt3 1518797773 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/rox-base-2.11-alt1.nosrc.rpm Installing rox-base-2.11-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.84109 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf rox-filer-2.11 + echo 'Source #0 (rox-filer-2.11.tar.bz2):' Source #0 (rox-filer-2.11.tar.bz2): + /bin/tar -xf - + /bin/bzip2 -dc /usr/src/RPM/SOURCES/rox-filer-2.11.tar.bz2 + cd rox-filer-2.11 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (rox-images-standard-path.patch):' Patch #1 (rox-images-standard-path.patch): + /usr/bin/patch -p1 patching file ROX-Filer/src/pixmaps.c Hunk #1 succeeded at 145 (offset -1 lines). Hunk #2 succeeded at 177 (offset -1 lines). + echo 'Patch #3 (rox-fix-help-path.patch):' Patch #3 (rox-fix-help-path.patch): + /usr/bin/patch -p1 patching file ROX-Filer/src/appmenu.c Hunk #1 succeeded at 410 (offset -1 lines). patching file ROX-Filer/src/menu.c Hunk #1 succeeded at 1803 (offset 38 lines). Hunk #2 succeeded at 1822 (offset 38 lines). patching file ROX-Filer/src/toolbar.c Hunk #1 succeeded at 319 (offset 22 lines). + echo 'Patch #52 (rox-2.5-alt-DSO.patch):' Patch #52 (rox-2.5-alt-DSO.patch): + /usr/bin/patch -p2 patching file ROX-Filer/src/Makefile.in Hunk #1 succeeded at 7 with fuzz 1. Hunk #2 succeeded at 49 (offset -4 lines). + echo 'Patch #53 (rox-alt-set-system-locale-path.patch):' Patch #53 (rox-alt-set-system-locale-path.patch): + /usr/bin/patch -p2 patching file ROX-Filer/src/i18n.c + rsvg-convert -w 48 -h 38 -f png -o rox.png /usr/src/RPM/SOURCES/rox.svg + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.84109 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd rox-filer-2.11 + /bin/mkdir ROX-Filer/build + cd ROX-Filer/build + ../src/configure --enable-rox configure: WARNING: unrecognized options: --enable-rox 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 GCC version... 10.2.1-alt2 checking whether to disable pointer sign warning... no checking whether to disable stack protector... no checking that pkg-config runs... yes checking that gtk+-2.0 (version >= 2.12.0) is installed... yes checking that libxml-2.0 (version >= 2.0.0) is installed... yes checking that shared-mime-info (version >= 0.14) is installed... yes checking if pango (version >= 1.1.2) is installed... yes; enabling better wrapping checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking whether file -b works... yes checking for large file support... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking sys/ucred.h usability... no checking sys/ucred.h presence... no checking for sys/ucred.h... no checking sys/mntent.h usability... no checking sys/mntent.h presence... no checking for sys/mntent.h... no checking apsymbols.h usability... no checking apsymbols.h presence... no checking for apsymbols.h... no checking apbuild/apsymbols.h usability... no checking apbuild/apsymbols.h presence... no checking for apbuild/apsymbols.h... no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking X11/SM/SMlib.h usability... yes checking X11/SM/SMlib.h presence... yes checking for X11/SM/SMlib.h... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for size_t... yes checking for gethostname... yes checking for unsetenv... yes checking for mkdir... yes checking for rmdir... yes checking for strdup... yes checking for strtol... yes checking for statvfs... yes checking for statfs... yes checking for mbrtowc... yes checking for gettext in -lintl... no checking for getopt_long in -lgnugetopt... no checking for getopt_long... yes checking for attropen... no checking for getxattr... yes checking attr/xattr.h usability... no checking attr/xattr.h presence... no checking for attr/xattr.h... no checking sys/xattr.h usability... yes checking sys/xattr.h presence... yes checking for sys/xattr.h... yes checking extracting version information... version 2.11 configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --enable-rox + make make: Entering directory '/usr/src/RPM/BUILD/rox-filer-2.11/ROX-Filer/build' gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o abox.o ../src/abox.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/main.h:10, from ../src/abox.c:31: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/main.h:10, from ../src/abox.c:31: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/main.h:10, from ../src/abox.c:31: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../src/global.h:11, from ../src/abox.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/abox.c: In function 'abox_add_filename': ../src/abox.c:487:7: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 487 | 0, g_basename(path), | ^ In file included from /usr/include/glib-2.0/glib.h:48, from ../src/global.h:11, from ../src/abox.c:29: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/abox.c: In function 'abox_set_file': ../src/abox.c:636:21: warning: pointer targets in passing argument 1 of 'diritem_new' differ in signedness [-Wpointer-sign] 636 | item = diritem_new(base); | ^~~~ | | | gchar * {aka char *} In file included from ../src/abox.c:37: ../src/diritem.h:51:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 51 | DirItem *diritem_new(const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/abox.c:638:17: warning: pointer targets in passing argument 1 of 'diritem_restat' differ in signedness [-Wpointer-sign] 638 | diritem_restat(path, item, NULL); | ^~~~ | | | const gchar * {aka const char *} In file included from ../src/abox.c:37: ../src/diritem.h:52:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 52 | void diritem_restat(const guchar *path, DirItem *item, struct stat *parent); | ~~~~~~~~~~~~~~^~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o action.o ../src/action.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/action.h:9, from ../src/action.c:38: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/action.h:9, from ../src/action.c:38: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/action.h:9, from ../src/action.c:38: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/action.c: In function 'entry_changed': ../src/action.c:168:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 168 | text = gtk_editable_get_chars(entry, 0, -1); | ^ ../src/action.c:180:8: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 180 | fputs(text, gui_side->to_child); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/action.c:26: /usr/include/stdio.h:626:42: note: expected 'const char * restrict' but argument is of type 'guchar *' {aka 'unsigned char *'} 626 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ ../src/action.c: In function 'process_message': ../src/action.c:342:25: warning: pointer targets in passing argument 1 of 'dir_check_this' differ in signedness [-Wpointer-sign] 342 | dir_check_this(buffer + 1); /* Update this item */ | ~~~~~~~^~~ | | | const gchar * {aka const char *} In file included from ../src/action.c:49: ../src/dir.h:105:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 105 | void dir_check_this(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/action.c: In function 'message_from_child': ../src/action.c:435:11: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 435 | report = g_strdup(_("There was one error.\n")); | ^ ../src/action.c:437:11: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 437 | report = g_strdup_printf(_("There were %d errors.\n"), | ^ ../src/action.c:440:49: warning: pointer targets in passing argument 2 of 'gtk_text_buffer_insert_at_cursor' differ in signedness [-Wpointer-sign] 440 | gtk_text_buffer_insert_at_cursor(text_buffer, report, -1); | ^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtk.h:178, from ../src/action.h:9, from ../src/action.c:38: /usr/include/gtk-2.0/gtk/gtktextbuffer.h:180:56: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 180 | const gchar *text, | ~~~~~~~~~~~~~~~^~~~ ../src/action.c: In function 'for_dir_contents': ../src/action.c:473:40: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 473 | list = g_list_prepend(list, g_strdup(make_path(src_dir, | ^~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} 474 | ent->d_name))); | ~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/action.c: In function 'read_new_entry_text': ../src/action.c:615:19: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 615 | new_entry_string = new->str; | ^ ../src/action.c: In function 'do_delete': ../src/action.c:960:3: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 960 | if (strcmp(g_basename(safe_path), ".DirIcon") == 0) | ^~ In file included from /usr/include/glib-2.0/glib.h:48, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/action.c: In function 'do_eject': ../src/action.c:1005:58: warning: pointer targets in passing argument 1 of 'build_command_with_path' differ in signedness [-Wpointer-sign] 1005 | argv[2] = build_command_with_path(o_action_eject_command.value, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/action.c:41: ../src/support.h:72:44: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 72 | gchar *build_command_with_path(const char *cmd, const char *path); | ~~~~~~~~~~~~^~~ ../src/action.c: In function 'do_find': ../src/action.c:1039:34: warning: pointer targets in passing argument 1 of 'find_compile' differ in signedness [-Wpointer-sign] 1039 | find_condition = find_compile(new_entry_string); | ^~~~~~~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/action.c:48: ../src/find.h:23:42: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 23 | FindCondition *find_compile(const gchar *string); | ~~~~~~~~~~~~~^~~~~~ ../src/action.c:1060:16: warning: pointer targets in assignment from 'const char *' to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 1060 | info.fullpath = path; | ^ ../src/action.c:1063:2: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1063 | info.leaf = g_basename(path); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:48, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/action.c:1063:12: warning: pointer targets in assignment from 'const gchar *' {aka 'const char *'} to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 1063 | info.leaf = g_basename(path); | ^ ../src/action.c: In function 'do_chmod': ../src/action.c:1144:36: warning: pointer targets in passing argument 1 of 'nice_mode_compile' differ in signedness [-Wpointer-sign] 1144 | mode_change = nice_mode_compile(new_entry_string, | ^~~~~~~~~~~~~~~~ | | | guchar * {aka unsigned char *} ../src/action.c:1078:58: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 1078 | static struct mode_change *nice_mode_compile(const char *mode_string, | ~~~~~~~~~~~~^~~~~~~~~~~ ../src/action.c:1183:14: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1183 | safe_path = g_strdup(path); | ^ ../src/action.c:1184:31: warning: pointer targets in passing argument 2 of 'for_dir_contents' differ in signedness [-Wpointer-sign] 1184 | for_dir_contents(do_chmod, safe_path, safe_path); | ^~~~~~~~~ | | | guchar * {aka unsigned char *} ../src/action.c:450:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 450 | const char *src_dir, | ~~~~~~~~~~~~^~~~~~~ ../src/action.c:1184:42: warning: pointer targets in passing argument 3 of 'for_dir_contents' differ in signedness [-Wpointer-sign] 1184 | for_dir_contents(do_chmod, safe_path, safe_path); | ^~~~~~~~~ | | | guchar * {aka unsigned char *} ../src/action.c:451:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 451 | const char *dest_path) | ~~~~~~~~~~~~^~~~~~~~~ ../src/action.c: In function 'do_settype': ../src/action.c:1224:35: warning: pointer targets in passing argument 1 of 'mime_type_lookup' differ in signedness [-Wpointer-sign] 1224 | type_change = mime_type_lookup(new_entry_string); | ^~~~~~~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/action.c:52: ../src/type.h:53:48: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 53 | extern MIME_type *mime_type_lookup(const char *type); | ~~~~~~~~~~~~^~~~ ../src/action.c:1270:14: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1270 | safe_path = g_strdup(path); | ^ ../src/action.c:1271:33: warning: pointer targets in passing argument 2 of 'for_dir_contents' differ in signedness [-Wpointer-sign] 1271 | for_dir_contents(do_settype, safe_path, unused); | ^~~~~~~~~ | | | guchar * {aka unsigned char *} ../src/action.c:450:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 450 | const char *src_dir, | ~~~~~~~~~~~~^~~~~~~ ../src/action.c: In function 'make_dest_path': ../src/action.c:1306:9: warning: pointer targets in returning 'const guchar *' {aka 'const unsigned char *'} from a function with return type 'const char *' differ in signedness [-Wpointer-sign] 1306 | return make_path(dir, leaf); | ^~~~~~~~~~~~~~~~~~~~ ../src/action.c: In function 'do_copy2': ../src/action.c:1457:21: warning: pointer targets in passing argument 1 of 'copy_file' differ in signedness [-Wpointer-sign] 1457 | error = copy_file(path, dest_path); | ^~~~ | | | const char * In file included from ../src/action.c:41: ../src/support.h:34:33: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 34 | guchar *copy_file(const guchar *from, const guchar *to); | ~~~~~~~~~~~~~~^~~~ ../src/action.c:1457:27: warning: pointer targets in passing argument 2 of 'copy_file' differ in signedness [-Wpointer-sign] 1457 | error = copy_file(path, dest_path); | ^~~~~~~~~ | | | const char * In file included from ../src/action.c:41: ../src/support.h:34:53: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 34 | guchar *copy_file(const guchar *from, const guchar *to); | ~~~~~~~~~~~~~~^~ ../src/action.c: In function 'do_link_relative': ../src/action.c:1612:31: warning: pointer targets in passing argument 1 of 'get_relative_path' differ in signedness [-Wpointer-sign] 1612 | rel_path = get_relative_path(dest_path, path); | ^~~~~~~~~ | | | const char * In file included from ../src/action.c:41: ../src/support.h:39:41: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 39 | guchar *get_relative_path(const guchar *from, const guchar *to); | ~~~~~~~~~~~~~~^~~~ ../src/action.c:1612:42: warning: pointer targets in passing argument 2 of 'get_relative_path' differ in signedness [-Wpointer-sign] 1612 | rel_path = get_relative_path(dest_path, path); | ^~~~ | | | const char * In file included from ../src/action.c:41: ../src/support.h:39:61: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 39 | guchar *get_relative_path(const guchar *from, const guchar *to); | ~~~~~~~~~~~~~~^~ ../src/action.c:1612:11: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1612 | rel_path = get_relative_path(dest_path, path); | ^ ../src/action.c: In function 'do_mount': ../src/action.c:1632:8: warning: pointer targets in passing argument 1 of 'build_command_with_path' differ in signedness [-Wpointer-sign] 1631 | argv[2] = build_command_with_path(mount ? o_action_mount_command.value | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1632 | : o_action_umount_command.value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/action.c:41: ../src/support.h:72:44: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 72 | gchar *build_command_with_path(const char *cmd, const char *path); | ~~~~~~~~~~~~^~~ ../src/action.c:1633:8: warning: pointer targets in passing argument 2 of 'build_command_with_path' differ in signedness [-Wpointer-sign] 1633 | path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/action.c:41: ../src/support.h:72:61: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 72 | gchar *build_command_with_path(const char *cmd, const char *path); | ~~~~~~~~~~~~^~~~ ../src/action.c: In function 'usage_cb': ../src/action.c:1699:12: warning: pointer targets in passing argument 1 of 'send_dir' differ in signedness [-Wpointer-sign] 1699 | send_dir(path); | ^~~~ | | | guchar * {aka unsigned char *} ../src/action.c:553:38: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 553 | static gboolean send_dir(const char *dir) | ~~~~~~~~~~~~^~~ ../src/action.c:1708:12: warning: pointer targets in passing argument 1 of 'do_usage' differ in signedness [-Wpointer-sign] 1708 | do_usage(path, NULL); | ^~~~ | | | guchar * {aka unsigned char *} ../src/action.c:875:34: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 875 | static void do_usage(const char *src_path, const char *unused) | ~~~~~~~~~~~~^~~~~~~~ ../src/action.c:1711:8: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1711 | g_basename(path), | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:48, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/action.c:1711:19: warning: pointer targets in passing argument 1 of 'g_basename' differ in signedness [-Wpointer-sign] 1711 | g_basename(path), | ^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:48, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gfileutils.h:205:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 205 | const gchar *g_basename (const gchar *file_name); | ~~~~~~~~~~~~~^~~~~~~~~ ../src/action.c: In function 'mount_cb': ../src/action.c:1750:20: warning: pointer targets in passing argument 1 of 'pathdup' differ in signedness [-Wpointer-sign] 1750 | target = pathdup(path); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/action.c:41: ../src/support.h:17:27: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 17 | char *pathdup(const char *path); | ~~~~~~~~~~~~^~~~ ../src/action.c:1750:10: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1750 | target = pathdup(path); | ^ ../src/action.c: In function 'dirname': ../src/action.c:1782:18: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] 1782 | slash = strrchr(path, '/'); | ^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from ../src/global.h:11, from ../src/action.c:36: /usr/include/string.h:253:35: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 253 | extern char *strrchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ../src/action.c:1782:8: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1782 | slash = strrchr(path, '/'); | ^ In file included from /usr/include/glib-2.0/glib.h:62, from ../src/global.h:11, from ../src/action.c:36: ../src/action.c:1783:47: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 1783 | g_return_val_if_fail(slash != NULL, g_strdup(path)); | ^~~~ | | | guchar * {aka unsigned char *} /usr/include/glib-2.0/glib/gmessages.h:644:17: note: in definition of macro 'g_return_val_if_fail' 644 | return (val); \ | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ In file included from /usr/include/glib-2.0/glib.h:62, from ../src/global.h:11, from ../src/action.c:36: ../src/action.c:1783:38: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1783 | g_return_val_if_fail(slash != NULL, g_strdup(path)); /usr/include/glib-2.0/glib/gmessages.h:644:17: note: in definition of macro 'g_return_val_if_fail' 644 | return (val); \ | ^~~ ../src/action.c:1786:20: warning: pointer targets in passing argument 1 of 'g_strndup' differ in signedness [-Wpointer-sign] 1786 | return g_strndup(path, slash - path); | ^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:225:53: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 225 | gchar* g_strndup (const gchar *str, | ~~~~~~~~~~~~~^~~ ../src/action.c:1786:10: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1786 | return g_strndup(path, slash - path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/action.c:1787:9: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1787 | return g_strdup("/"); | ^~~~~~~~~~~~~ ../src/action.c: In function 'delete_cb': ../src/action.c:1802:12: warning: pointer targets in passing argument 1 of 'send_dir' differ in signedness [-Wpointer-sign] 1802 | send_dir(dir); | ^~~ | | | guchar * {aka unsigned char *} ../src/action.c:553:38: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 553 | static gboolean send_dir(const char *dir) | ~~~~~~~~~~~~^~~ ../src/action.c:1809:13: warning: pointer targets in passing argument 1 of 'do_delete' differ in signedness [-Wpointer-sign] 1809 | do_delete(path, dir); | ^~~~ | | | guchar * {aka unsigned char *} ../src/action.c:908:35: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 908 | static void do_delete(const char *src_path, const char *unused) | ~~~~~~~~~~~~^~~~~~~~ ../src/action.c:1809:19: warning: pointer targets in passing argument 2 of 'do_delete' differ in signedness [-Wpointer-sign] 1809 | do_delete(path, dir); | ^~~ | | | guchar * {aka unsigned char *} ../src/action.c:908:57: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 908 | static void do_delete(const char *src_path, const char *unused) | ~~~~~~~~~~~~^~~~~~ ../src/action.c: In function 'eject_cb': ../src/action.c:1833:12: warning: pointer targets in passing argument 1 of 'send_dir' differ in signedness [-Wpointer-sign] 1833 | send_dir(path); | ^~~~ | | | guchar * {aka unsigned char *} ../src/action.c:553:38: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 553 | static gboolean send_dir(const char *dir) | ~~~~~~~~~~~~^~~ ../src/action.c:1835:12: warning: pointer targets in passing argument 1 of 'do_eject' differ in signedness [-Wpointer-sign] 1835 | do_eject(path); | ^~~~ | | | guchar * {aka unsigned char *} ../src/action.c:972:34: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 972 | static void do_eject(const char *path) | ~~~~~~~~~~~~^~~~ ../src/action.c: In function 'find_cb': ../src/action.c:1852:13: warning: pointer targets in passing argument 1 of 'send_dir' differ in signedness [-Wpointer-sign] 1852 | send_dir(path); | ^~~~ | | | guchar * {aka unsigned char *} ../src/action.c:553:38: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 553 | static gboolean send_dir(const char *dir) | ~~~~~~~~~~~~^~~ ../src/action.c:1854:12: warning: pointer targets in passing argument 1 of 'do_find' differ in signedness [-Wpointer-sign] 1854 | do_find(path, NULL); | ^~~~ | | | guchar * {aka unsigned char *} ../src/action.c:1022:33: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 1022 | static void do_find(const char *path, const char *unused) | ~~~~~~~~~~~~^~~~ ../src/action.c: In function 'chmod_cb': ../src/action.c:1883:12: warning: pointer targets in passing argument 1 of 'send_dir' differ in signedness [-Wpointer-sign] 1883 | send_dir(path); | ^~~~ | | | guchar * {aka unsigned char *} ../src/action.c:553:38: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 553 | static gboolean send_dir(const char *dir) | ~~~~~~~~~~~~^~~ In file included from ./config.h:49, from ../src/action.c:24: ../src/action.c:1885:15: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 1885 | if (mc_stat(path, &info) != 0) | ^~~~ | | | guchar * {aka unsigned char *} ../src/my_vfs.h:57:30: note: in definition of macro 'mc_stat' 57 | # define mc_stat(x, y) stat(x, y) | ^ In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/action.c:24: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../src/action.c:1889:9: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1889 | g_basename(path)); | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:48, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/action.c:1889:20: warning: pointer targets in passing argument 1 of 'g_basename' differ in signedness [-Wpointer-sign] 1889 | g_basename(path)); | ^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:48, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gfileutils.h:205:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 205 | const gchar *g_basename (const gchar *file_name); | ~~~~~~~~~~~~~^~~~~~~~~ ../src/action.c:1891:13: warning: pointer targets in passing argument 1 of 'do_chmod' differ in signedness [-Wpointer-sign] 1891 | do_chmod(path, NULL); | ^~~~ | | | guchar * {aka unsigned char *} ../src/action.c:1109:34: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 1109 | static void do_chmod(const char *path, const char *unused) | ~~~~~~~~~~~~^~~~ ../src/action.c: In function 'settype_cb': ../src/action.c:1914:12: warning: pointer targets in passing argument 1 of 'send_dir' differ in signedness [-Wpointer-sign] 1914 | send_dir(path); | ^~~~ | | | guchar * {aka unsigned char *} ../src/action.c:553:38: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 553 | static gboolean send_dir(const char *dir) | ~~~~~~~~~~~~^~~ In file included from ./config.h:49, from ../src/action.c:24: ../src/action.c:1916:15: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 1916 | if (mc_stat(path, &info) != 0) | ^~~~ | | | guchar * {aka unsigned char *} ../src/my_vfs.h:57:30: note: in definition of macro 'mc_stat' 57 | # define mc_stat(x, y) stat(x, y) | ^ In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/action.c:24: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../src/action.c:1920:9: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1920 | g_basename(path)); | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:48, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/action.c:1920:20: warning: pointer targets in passing argument 1 of 'g_basename' differ in signedness [-Wpointer-sign] 1920 | g_basename(path)); | ^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:48, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gfileutils.h:205:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 205 | const gchar *g_basename (const gchar *file_name); | ~~~~~~~~~~~~~^~~~~~~~~ ../src/action.c:1922:15: warning: pointer targets in passing argument 1 of 'do_settype' differ in signedness [-Wpointer-sign] 1922 | do_settype(path, NULL); | ^~~~ | | | guchar * {aka unsigned char *} ../src/action.c:1190:36: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 1190 | static void do_settype(const char *path, const char *unused) | ~~~~~~~~~~~~^~~~ ../src/action.c: In function 'action_find': ../src/action.c:1965:20: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1965 | last_find_string = g_strdup("'core'"); | ^ ../src/action.c:1981:29: warning: pointer targets in passing argument 2 of 'abox_add_entry' differ in signedness [-Wpointer-sign] 1981 | abox_add_entry(ABOX(abox), last_find_string, | ^~~~~~~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/action.c:39: ../src/abox.h:80:20: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 80 | const gchar *text, | ~~~~~~~~~~~~~^~~~ ../src/action.c: In function 'action_chmod': ../src/action.c:2127:32: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 2127 | last_chmod_string = g_strdup((guchar *) presets->data); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/action.c:2127:21: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2127 | last_chmod_string = g_strdup((guchar *) presets->data); | ^ ../src/action.c:2130:20: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2130 | new_entry_string = g_strdup(action); | ^ ../src/action.c:2132:31: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 2132 | new_entry_string = g_strdup(last_chmod_string); | ^~~~~~~~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/action.c:2132:20: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2132 | new_entry_string = g_strdup(last_chmod_string); | ^ ../src/action.c:2154:53: warning: pointer targets in passing argument 4 of 'abox_add_combo' differ in signedness [-Wpointer-sign] 2154 | abox_add_combo(ABOX(abox), _("Command:"), presets, new_entry_string, | ^~~~~~~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/action.c:39: ../src/abox.h:77:20: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 77 | const gchar *text, | ~~~~~~~~~~~~~^~~~ ../src/action.c: In function 'action_settype': ../src/action.c:2190:23: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2190 | last_settype_string = g_strdup("text/plain"); | ^ ../src/action.c:2193:20: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2193 | new_entry_string = g_strdup(oldtype); | ^ ../src/action.c:2195:31: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 2195 | new_entry_string = g_strdup(last_settype_string); | ^~~~~~~~~~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/action.c:2195:20: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2195 | new_entry_string = g_strdup(last_settype_string); | ^ ../src/action.c:2220:50: warning: pointer targets in passing argument 4 of 'abox_add_combo' differ in signedness [-Wpointer-sign] 2220 | abox_add_combo(ABOX(abox), _("Type:"), presets, new_entry_string, | ^~~~~~~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/action.c:39: ../src/abox.h:77:20: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 77 | const gchar *text, | ~~~~~~~~~~~~~^~~~ ../src/action.c: In function 'remove_pinned_ok': ../src/action.c:2424:21: warning: pointer targets in passing argument 1 of 'icons_require' differ in signedness [-Wpointer-sign] 2424 | if (icons_require(path)) | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/action.c:50: ../src/icon.h:51:37: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 51 | gboolean icons_require(const gchar *path); | ~~~~~~~~~~~~~^~~~ ../src/action.c:2451:18: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] 2451 | leaf = strrchr(path, '/'); | ^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from ../src/global.h:11, from ../src/action.c:36: /usr/include/string.h:253:35: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 253 | extern char *strrchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ../src/action.c:2451:8: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2451 | leaf = strrchr(path, '/'); | ^ ../src/action.c:2458:28: warning: pointer targets in passing argument 2 of 'g_string_append' differ in signedness [-Wpointer-sign] 2458 | g_string_append(message, leaf); | ^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib/giochannel.h:34, from /usr/include/glib-2.0/glib.h:54, from ../src/global.h:11, from ../src/action.c:36: /usr/include/glib-2.0/glib/gstring.h:81:59: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 81 | const gchar *val); | ~~~~~~~~~~~~~~~~~^~~ ../src/action.c: In function 'set_find_string_colour': ../src/action.c:2493:22: warning: pointer targets in passing argument 1 of 'find_compile' differ in signedness [-Wpointer-sign] 2493 | cond = find_compile(string); | ^~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/action.c:48: ../src/find.h:23:42: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 23 | FindCondition *find_compile(const gchar *string); | ~~~~~~~~~~~~~^~~~~~ ../src/action.c: In function 'do_mount': ../src/action.c:1653:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1653 | read(from_parent, &c, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/action.c: In function 'do_eject': ../src/action.c:1001:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1001 | read(from_parent, &c, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o appinfo.o ../src/appinfo.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/type.h:9, from ../src/appinfo.c:54: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from ../src/fscache.h:15, from ../src/appinfo.c:53: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/type.h:9, from ../src/appinfo.c:54: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../src/global.h:11, from ../src/appinfo.c:50: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/appinfo.c: In function 'appinfo_get': ../src/appinfo.c:80:6: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 80 | tmp = g_strconcat(app_dir, "/" APPINFO_FILENAME, NULL); | ^ ../src/appinfo.c:81:22: warning: pointer targets in passing argument 1 of 'xml_cache_load' differ in signedness [-Wpointer-sign] 81 | ai = xml_cache_load(tmp); | ^~~ | | | guchar * {aka unsigned char *} In file included from ../src/appinfo.c:56: ../src/support.h:14:41: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 14 | XMLwrapper *xml_cache_load(const gchar *pathname); | ~~~~~~~~~~~~~^~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o appmenu.o ../src/appmenu.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/appmenu.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/appmenu.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/appmenu.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/appmenu.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/appmenu.c: In function 'appmenu_add': ../src/appmenu.c:132:19: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 132 | current_app_path = g_strdup(app_dir); | ^ ../src/appmenu.c: In function 'create_menu_item': ../src/appmenu.c:176:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 176 | if (strcmp(node->name, "Item") == 0) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/appmenu.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/appmenu.c:179:29: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 179 | option = xmlGetProp(node, "option"); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/appmenu.c:32: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/appmenu.c:181:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 181 | else if (strcmp(node->name, "AppMenu") == 0) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/appmenu.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/appmenu.c:195:28: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 195 | label = xmlGetProp(node, "label"); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/appmenu.c:32: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/appmenu.c:197:10: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 197 | label = g_strdup(_("")); | ^ ../src/appmenu.c:199:44: warning: pointer targets in passing argument 1 of 'gtk_image_menu_item_new_with_label' differ in signedness [-Wpointer-sign] 199 | item = gtk_image_menu_item_new_with_label(label); | ^~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtk.h:110, from ../src/appmenu.c:26: /usr/include/gtk-2.0/gtk/gtkimagemenuitem.h:68:69: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 68 | GtkWidget* gtk_image_menu_item_new_with_label (const gchar *label); | ~~~~~~~~~~~~~~~~~~^~~~~ ../src/appmenu.c:201:31: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 201 | icon_name = xmlGetProp(node, "icon"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/appmenu.c:32: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/appmenu.c:206:24: warning: pointer targets in passing argument 1 of 'gtk_stock_lookup' differ in signedness [-Wpointer-sign] 206 | if (gtk_stock_lookup(icon_name, &stock_item)) | ^~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtk.h:174, from ../src/appmenu.c:26: /usr/include/gtk-2.0/gtk/gtkstock.h:55:53: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 55 | gboolean gtk_stock_lookup (const gchar *stock_id, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../src/appmenu.c:207:36: warning: pointer targets in passing argument 1 of 'gtk_image_new_from_stock' differ in signedness [-Wpointer-sign] 207 | icon = gtk_image_new_from_stock(icon_name, GTK_ICON_SIZE_MENU); | ^~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtkbutton.h:36, from /usr/include/gtk-2.0/gtk/gtk.h:52, from ../src/appmenu.c:26: /usr/include/gtk-2.0/gtk/gtkimage.h:199:59: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 199 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ~~~~~~~~~~~~~~~~~^~~~~~~~ ../src/appmenu.c:213:29: warning: pointer targets in passing argument 1 of 'theme_load_icon' differ in signedness [-Wpointer-sign] 213 | pixbuf = theme_load_icon(icon_name, size, 0, NULL); | ^~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/appmenu.c:44: ../src/type.h:59:41: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 59 | GdkPixbuf *theme_load_icon(const gchar *icon_name, gint size, | ~~~~~~~~~~~~~^~~~~~~~~ ../src/appmenu.c:244:15: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 244 | g_strdup(option), | ^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/appmenu.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/appmenu.c: In function 'apprun_menu': ../src/appmenu.c:280:24: warning: pointer targets in passing argument 1 of 'g_strconcat' differ in signedness [-Wpointer-sign] 280 | argv[0] = g_strconcat(current_app_path, "/AppRun", NULL); | ^~~~~~~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/appmenu.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:231:53: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 231 | gchar* g_strconcat (const gchar *string1, | ~~~~~~~~~~~~~^~~~~~~ ../src/appmenu.c:281:10: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 281 | argv[1] = option; /* (may be NULL) */ | ^ ../src/appmenu.c: In function 'show_app_help': ../src/appmenu.c:293:18: warning: pointer targets in passing argument 1 of 'show_help_files' differ in signedness [-Wpointer-sign] 293 | show_help_files(current_app_path); | ^~~~~~~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/appmenu.c:47: ../src/run.h:23:34: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 23 | void show_help_files(const char *dir); | ~~~~~~~~~~~~^~~ ../src/appmenu.c: In function 'build_menu_for_type': ../src/appmenu.c:339:19: warning: pointer targets in passing argument 1 of 'list_dir' differ in signedness [-Wpointer-sign] 339 | names = list_dir(path); | ^~~~ | | | char * In file included from ../src/appmenu.c:39: ../src/support.h:54:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 54 | GPtrArray *list_dir(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/appmenu.c:341:22: warning: pointer targets in passing argument 1 of 'diritem_new' differ in signedness [-Wpointer-sign] 341 | ditem = diritem_new(""); | ^~ | | | char * In file included from ../src/appmenu.c:48: ../src/diritem.h:51:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 51 | DirItem *diritem_new(const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/appmenu.c:349:18: warning: pointer targets in passing argument 1 of 'diritem_restat' differ in signedness [-Wpointer-sign] 349 | diritem_restat(full_path, ditem, NULL); | ^~~~~~~~~ | | | char * In file included from ../src/appmenu.c:48: ../src/diritem.h:52:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 52 | void diritem_restat(const guchar *path, DirItem *item, struct stat *parent); | ~~~~~~~~~~~~~~^~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o bind.o ../src/bind.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/options.h:9, from ../src/bind.c:28: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/options.h:9, from ../src/bind.c:28: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/options.h:9, from ../src/bind.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../src/global.h:11, from ../src/bind.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o bookmarks.o ../src/bookmarks.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/bookmarks.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/bookmarks.c:25: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/bookmarks.c:25: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/bookmarks.c:25: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/bookmarks.c: In function 'bookmarks_edit': ../src/bookmarks.c:169:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 169 | if (strcmp(node->name, "bookmark") != 0) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/bookmarks.c:25: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/bookmarks.c:172:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 172 | mark = xmlNodeListGetString(bookmarks->doc, | ^ ../src/bookmarks.c:177:26: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 177 | title=xmlGetProp(node, "title"); | ^~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/bookmarks.c:28: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/bookmarks.c:177:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 177 | title=xmlGetProp(node, "title"); | ^ ../src/bookmarks.c: In function 'bookmarks_add_history': ../src/bookmarks.c:278:13: warning: Deprecated pre-processor symbol, replace with 278 | parent = g_dirname(path); | ^~~~~~~~~~~~~~~ ../src/bookmarks.c: In function 'bookmarks_add_uri': ../src/bookmarks.c:311:21: warning: pointer targets in passing argument 1 of 'bookmarks_add_dir' differ in signedness [-Wpointer-sign] 311 | bookmarks_add_dir(path); | ^~~~ | | | char * ../src/bookmarks.c:72:45: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 72 | static void bookmarks_add_dir(const guchar *dir); | ~~~~~~~~~~~~~~^~~ ../src/bookmarks.c: In function 'bookmarks_new': ../src/bookmarks.c:327:29: warning: pointer targets in passing argument 1 of 'xmlNewDoc' differ in signedness [-Wpointer-sign] 327 | bookmarks->doc = xmlNewDoc("1.0"); | ^~~~~ | | | char * In file included from ../src/global.h:191, from ../src/bookmarks.c:28: /usr/include/libxml2/libxml/tree.h:780:30: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 780 | xmlNewDoc (const xmlChar *version); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/bookmarks.c:329:39: warning: pointer targets in passing argument 3 of 'xmlNewDocNode' differ in signedness [-Wpointer-sign] 329 | xmlNewDocNode(bookmarks->doc, NULL, "bookmarks", NULL)); | ^~~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/bookmarks.c:28: /usr/include/libxml2/libxml/tree.h:829:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/bookmarks.c: In function 'bookmark_find': ../src/bookmarks.c:384:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 384 | if (strcmp(node->name, "bookmark") != 0) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/bookmarks.c:25: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/bookmarks.c:387:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 387 | path = xmlNodeListGetString(bookmarks->doc, | ^ ../src/bookmarks.c: In function 'bookmarks_save': ../src/bookmarks.c:407:12: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 407 | save_path = choices_find_xdg_path_save("Bookmarks.xml", PROJECT, SITE, | ^ ../src/bookmarks.c:411:33: warning: pointer targets in passing argument 2 of 'save_xml_file' differ in signedness [-Wpointer-sign] 411 | save_xml_file(bookmarks->doc, save_path); | ^~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/bookmarks.c:34: ../src/support.h:15:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 15 | int save_xml_file(xmlDocPtr doc, const gchar *filename); | ~~~~~~~~~~~~~^~~~~~~~ ../src/bookmarks.c: In function 'bookmarks_add': ../src/bookmarks.c:423:32: warning: pointer targets in passing argument 1 of 'bookmarks_add_dir' differ in signedness [-Wpointer-sign] 423 | bookmarks_add_dir(filer_window->sym_path); | ~~~~~~~~~~~~^~~~~~~~~~ | | | gchar * {aka char *} ../src/bookmarks.c:72:45: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 72 | static void bookmarks_add_dir(const guchar *dir); | ~~~~~~~~~~~~~~^~~ ../src/bookmarks.c: In function 'bookmarks_add_dir': ../src/bookmarks.c:430:20: warning: pointer targets in passing argument 1 of 'bookmark_find' differ in signedness [-Wpointer-sign] 430 | if (bookmark_find(dir)) | ^~~ | | | const guchar * {aka const unsigned char *} ../src/bookmarks.c:369:44: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 369 | static xmlNode *bookmark_find(const gchar *mark) | ~~~~~~~~~~~~~^~~~ ../src/bookmarks.c:434:11: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 434 | NULL, "bookmark", dir); | ^~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/bookmarks.c:28: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/bookmarks.c:435:23: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 435 | xmlSetProp(bookmark, "title", dir); | ^~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/bookmarks.c:28: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/bookmarks.c: In function 'bookmarks_activate': ../src/bookmarks.c:479:33: warning: pointer targets in passing argument 1 of 'mount_is_mounted' differ in signedness [-Wpointer-sign] 479 | !mount_is_mounted(filer_window->real_path, NULL, NULL)) | ~~~~~~~~~~~~^~~~~~~~~~~ | | | gchar * {aka char *} In file included from ../src/bookmarks.c:37: ../src/mount.h:29:41: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 29 | gboolean mount_is_mounted(const guchar *path, struct stat *info, | ~~~~~~~~~~~~~~^~~~ ../src/bookmarks.c: In function 'dir_dropped': ../src/bookmarks.c:611:41: warning: pointer targets in passing argument 1 of 'uri_list_to_glist' differ in signedness [-Wpointer-sign] 611 | uris = uri_list_to_glist(selection_data->data); | ~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/bookmarks.c:35: ../src/gui_support.h:85:38: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 85 | GList *uri_list_to_glist(const char *uri_list); | ~~~~~~~~~~~~^~~~~~~~ ../src/bookmarks.c:617:8: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 617 | path = get_local_path((EscapedPath *) next->data); | ^ In file included from ./config.h:49, from ../src/bookmarks.c:22: ../src/bookmarks.c:624:16: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 624 | if (mc_stat(path, &info) == 0 && S_ISDIR(info.st_mode)) | ^~~~ | | | guchar * {aka unsigned char *} ../src/my_vfs.h:57:30: note: in definition of macro 'mc_stat' 57 | # define mc_stat(x, y) stat(x, y) | ^ In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/bookmarks.c:22: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../src/bookmarks.c: In function 'commit_edits': ../src/bookmarks.c:662:43: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 662 | bookmark = xmlNewTextChild(root, NULL, "bookmark", | ^~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/bookmarks.c:28: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/bookmarks.c:663:6: warning: pointer targets in passing argument 4 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 663 | g_value_get_string(&mark)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | const gchar * {aka const char *} In file included from ../src/global.h:191, from ../src/bookmarks.c:28: /usr/include/libxml2/libxml/tree.h:900:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/bookmarks.c:666:25: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 666 | xmlSetProp(bookmark, "title", | ^~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/bookmarks.c:28: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/bookmarks.c:667:8: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 667 | g_value_get_string(&title)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const gchar * {aka const char *} In file included from ../src/global.h:191, from ../src/bookmarks.c:28: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/bookmarks.c: In function 'bookmarks_build_menu': ../src/bookmarks.c:809:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 809 | if (strcmp(node->name, "bookmark") != 0) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/bookmarks.c:25: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/bookmarks.c:812:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 812 | mark = xmlNodeListGetString(bookmarks->doc, | ^ ../src/bookmarks.c:818:26: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 818 | title=xmlGetProp(node, "title"); | ^~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/bookmarks.c:28: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/bookmarks.c:818:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 818 | title=xmlGetProp(node, "title"); | ^ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o bulk_rename.o ../src/bulk_rename.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/bulk_rename.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/bulk_rename.c:25: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/bulk_rename.c:25: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/bulk_rename.c:25: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/bulk_rename.c: In function 'rename_items': ../src/bulk_rename.c:441:9: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 441 | dest = make_path(dir, after); | ^ ../src/bulk_rename.c:489:9: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 489 | dest = make_path(dir, after); | ^ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o cell_icon.o ../src/cell_icon.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/cell_icon.c:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/cell_icon.c:27: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/cell_icon.c:27: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/cell_icon.c:27: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/cell_icon.c: In function 'get_style': ../src/cell_icon.c:212:6: warning: pointer targets in passing argument 2 of 'g_fscache_lookup_full' differ in signedness [-Wpointer-sign] 212 | path, FSCACHE_LOOKUP_ONLY_NEW, NULL); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/cell_icon.c:40: ../src/fscache.h:34:61: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 34 | gpointer g_fscache_lookup_full(GFSCache *cache, const char *pathname, | ~~~~~~~~~~~~^~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o choices.o ../src/choices.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/gui_support.h:9, from ../src/choices.c:31: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/gui_support.h:9, from ../src/choices.c:31: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/gui_support.h:9, from ../src/choices.c:31: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../src/global.h:11, from ../src/choices.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/choices.c: In function 'choices_list_xdg_dirs': ../src/choices.c:348:9: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 348 | path = g_build_filename(xdg_dir_list[i], site, | ^ ../src/choices.c:351:9: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 351 | path = g_build_filename(xdg_dir_list[i], dir, NULL); | ^ ../src/choices.c:353:14: warning: pointer targets in passing argument 1 of 'exists' differ in signedness [-Wpointer-sign] 353 | if (exists(path)) | ^~~~ | | | guchar * {aka unsigned char *} ../src/choices.c:56:30: note: expected 'char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 56 | static gboolean exists(char *path); | ~~~~~~^~~~ ../src/choices.c: In function 'migrate_choices': ../src/choices.c:407:6: warning: ignoring return value of 'symlink' declared with attribute 'warn_unused_result' [-Wunused-result] 407 | symlink(dest, src); | ^~~~~~~~~~~~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o collection.o ../src/collection.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/collection.c:29: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/collection.c:29: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/collection.c:29: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/collection.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/collection.c: In function 'collection_key_press': ../src/collection.c:707:9: warning: variable 'item' set but not used [-Wunused-but-set-variable] 707 | int item; | ^~~~ ../src/collection.c: In function 'collection_select_all': ../src/collection.c:1218:13: warning: variable 'widget' set but not used [-Wunused-but-set-variable] 1218 | GtkWidget *widget; | ^~~~~~ ../src/collection.c: In function 'collection_clear_except': ../src/collection.c:1283:13: warning: variable 'widget' set but not used [-Wunused-but-set-variable] 1283 | GtkWidget *widget; | ^~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o dir.o ../src/dir.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/dir.c:53: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dir.c:53: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/dir.c:53: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dir.c:53: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/dir.c: In function 'dir_check_this': ../src/dir.c:308:32: warning: pointer targets in passing argument 1 of 'g_path_get_dirname' differ in signedness [-Wpointer-sign] 308 | dir_path = g_path_get_dirname(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dir.c:53: /usr/include/glib-2.0/glib/gfileutils.h:213:42: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 213 | gchar *g_path_get_dirname (const gchar *file_name) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~~~~~~~ ../src/dir.c:308:11: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 308 | dir_path = g_path_get_dirname(path); | ^ ../src/dir.c:309:22: warning: pointer targets in passing argument 1 of 'pathdup' differ in signedness [-Wpointer-sign] 309 | real_path = pathdup(dir_path); | ^~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/dir.c:62: ../src/support.h:17:27: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 17 | char *pathdup(const char *path); | ~~~~~~~~~~~~^~~~ ../src/dir.c:309:12: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 309 | real_path = pathdup(dir_path); | ^ ../src/dir.c:312:41: warning: pointer targets in passing argument 2 of 'g_fscache_lookup_full' differ in signedness [-Wpointer-sign] 312 | dir = g_fscache_lookup_full(dir_cache, real_path, | ^~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/dir.c:65: ../src/fscache.h:34:61: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 34 | gpointer g_fscache_lookup_full(GFSCache *cache, const char *pathname, | ~~~~~~~~~~~~^~~~~~~~ ../src/dir.c:316:3: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 316 | dir_recheck(dir, real_path, g_basename(path)); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dir.c:53: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/dir.c:316:42: warning: pointer targets in passing argument 1 of 'g_basename' differ in signedness [-Wpointer-sign] 316 | dir_recheck(dir, real_path, g_basename(path)); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dir.c:53: /usr/include/glib-2.0/glib/gfileutils.h:205:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 205 | const gchar *g_basename (const gchar *file_name); | ~~~~~~~~~~~~~^~~~~~~~~ ../src/dir.c:316:31: warning: pointer targets in passing argument 3 of 'dir_recheck' differ in signedness [-Wpointer-sign] 316 | dir_recheck(dir, real_path, g_basename(path)); | ^~~~~~~~~~~~~~~~ | | | const gchar * {aka const char *} ../src/dir.c:99:38: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 99 | const guchar *path, const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/dir.c: In function 'dir_force_update_path': ../src/dir.c:362:3: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 362 | dir_force_update_item(dir, g_basename(path)); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dir.c:53: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/dir.c: In function 'dir_update_item': ../src/dir.c:377:26: warning: pointer targets in passing argument 2 of 'insert_item' differ in signedness [-Wpointer-sign] 377 | item = insert_item(dir, leafname); | ^~~~~~~~ | | | const gchar * {aka const char *} ../src/dir.c:96:59: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 96 | static DirItem *insert_item(Directory *dir, const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/dir.c: In function 'insert_item': ../src/dir.c:720:39: warning: pointer targets in passing argument 2 of 'make_path' differ in signedness [-Wpointer-sign] 720 | full_path = make_path(dir->pathname, leafname); | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/dir.c:62: ../src/support.h:18:54: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 18 | const guchar *make_path(const char *dir, const char *leaf); | ~~~~~~~~~~~~^~~~ ../src/dir.c:720:12: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const gchar *' {aka 'const char *'} differ in signedness [-Wpointer-sign] 720 | full_path = make_path(dir->pathname, leafname); | ^ ../src/dir.c:733:18: warning: pointer targets in passing argument 1 of 'diritem_restat' differ in signedness [-Wpointer-sign] 733 | diritem_restat(full_path, item, &dir->stat_info); | ^~~~~~~~~ | | | const gchar * {aka const char *} In file included from ../src/dir.c:61: ../src/diritem.h:52:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 52 | void diritem_restat(const guchar *path, DirItem *item, struct stat *parent); | ~~~~~~~~~~~~~~^~~~ ../src/dir.c:742:18: warning: pointer targets in passing argument 1 of 'diritem_restat' differ in signedness [-Wpointer-sign] 742 | diritem_restat(full_path, item, &dir->stat_info); | ^~~~~~~~~ | | | const gchar * {aka const char *} In file included from ../src/dir.c:61: ../src/diritem.h:52:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 52 | void diritem_restat(const guchar *path, DirItem *item, struct stat *parent); | ~~~~~~~~~~~~~~^~~~ ../src/dir.c: In function 'dir_recheck': ../src/dir.c:872:16: warning: pointer targets in initialization of 'guchar *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 872 | guchar *old = dir->pathname; | ^~~ ../src/dir.c:874:27: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 874 | dir->pathname = g_strdup(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dir.c:53: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ At top level: ../src/dir.c:324:13: warning: 'drop_notify' defined but not used [-Wunused-function] 324 | static void drop_notify(gpointer key, gpointer value, gpointer data) | ^~~~~~~~~~~ ../src/dir.c: In function 'insert_item': ../src/dir.c:783:4: warning: 'old.gid' may be used uninitialized in this function [-Wmaybe-uninitialized] 774 | if (item->lstat_errno == old.lstat_errno | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 775 | && item->base_type == old.base_type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 776 | && item->flags == old.flags | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 777 | && item->size == old.size | ~~~~~~~~~~~~~~~~~~~~~~~~~ 778 | && item->mode == old.mode | ~~~~~~~~~~~~~~~~~~~~~~~~~ 779 | && item->atime == old.atime | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 780 | && item->ctime == old.ctime | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | && item->mtime == old.mtime | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 782 | && item->uid == old.uid | ~~~~~~~~~~~~~~~~~~~~~~~ 783 | && item->gid == old.gid | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/dir.c:782:4: warning: 'old.uid' may be used uninitialized in this function [-Wmaybe-uninitialized] 774 | if (item->lstat_errno == old.lstat_errno | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 775 | && item->base_type == old.base_type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 776 | && item->flags == old.flags | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 777 | && item->size == old.size | ~~~~~~~~~~~~~~~~~~~~~~~~~ 778 | && item->mode == old.mode | ~~~~~~~~~~~~~~~~~~~~~~~~~ 779 | && item->atime == old.atime | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 780 | && item->ctime == old.ctime | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | && item->mtime == old.mtime | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 782 | && item->uid == old.uid | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/dir.c:784:4: warning: 'old.mime_type' may be used uninitialized in this function [-Wmaybe-uninitialized] 774 | if (item->lstat_errno == old.lstat_errno | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 775 | && item->base_type == old.base_type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 776 | && item->flags == old.flags | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 777 | && item->size == old.size | ~~~~~~~~~~~~~~~~~~~~~~~~~ 778 | && item->mode == old.mode | ~~~~~~~~~~~~~~~~~~~~~~~~~ 779 | && item->atime == old.atime | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 780 | && item->ctime == old.ctime | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | && item->mtime == old.mtime | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 782 | && item->uid == old.uid | ~~~~~~~~~~~~~~~~~~~~~~~ 783 | && item->gid == old.gid | ~~~~~~~~~~~~~~~~~~~~~~~ 784 | && item->mime_type == old.mime_type | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/dir.c:764:4: warning: 'old._image' may be used uninitialized in this function [-Wmaybe-uninitialized] 764 | g_object_unref(old._image); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o diritem.o ../src/diritem.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/diritem.c:29: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/diritem.c:29: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/diritem.c:29: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/diritem.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from ./config.h:49, from ../src/diritem.c:27: ../src/diritem.c: In function 'diritem_restat': ../src/diritem.c:83:15: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] 83 | if (mc_lstat(path, &info) == -1) | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/my_vfs.h:58:32: note: in definition of macro 'mc_lstat' 58 | # define mc_lstat(x, y) lstat(x, y) | ^ In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/diritem.c:27: /usr/include/sys/stat.h:460:1: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 460 | __NTH (lstat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../src/diritem.c:108:18: warning: pointer targets in passing argument 1 of 'xattr_have' differ in signedness [-Wpointer-sign] 108 | if (xattr_have(path)) | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/diritem.c:46: ../src/xtypes.h:24:28: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 24 | int xattr_have(const char *path); | ~~~~~~~~~~~~^~~~ In file included from ./config.h:49, from ../src/diritem.c:27: ../src/diritem.c:113:16: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 113 | if (mc_stat(path, &info)) | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/my_vfs.h:57:30: note: in definition of macro 'mc_stat' 57 | # define mc_stat(x, y) stat(x, y) | ^ In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/diritem.c:27: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../src/diritem.c:121:26: warning: pointer targets in passing argument 1 of 'pathdup' differ in signedness [-Wpointer-sign] 121 | target_path = pathdup(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/diritem.c:38: ../src/support.h:17:27: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 17 | char *pathdup(const char *path); | ~~~~~~~~~~~~^~~~ ../src/diritem.c:121:16: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 121 | target_path = pathdup(path); | ^ ../src/diritem.c:161:24: warning: pointer targets in passing argument 1 of 'pathdup' differ in signedness [-Wpointer-sign] 161 | link_path = pathdup(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/diritem.c:38: ../src/support.h:17:27: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 17 | char *pathdup(const char *path); | ~~~~~~~~~~~~^~~~ ../src/diritem.c:161:14: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 161 | link_path = pathdup(path); | ^ ../src/diritem.c:164:6: warning: pointer targets in passing argument 1 of 'type_from_path' differ in signedness [-Wpointer-sign] 162 | item->mime_type = type_from_path(link_path | ~~~~~~~~~ 163 | ? link_path | ~~~~~~~~~~~ 164 | : path); | ^~~~~~ | | | const unsigned char * In file included from ../src/diritem.c:41: ../src/type.h:42:39: note: expected 'const char *' but argument is of type 'const unsigned char *' 42 | MIME_type *type_from_path(const char *path); | ~~~~~~~~~~~~^~~~ ../src/diritem.c:168:37: warning: pointer targets in passing argument 1 of 'type_from_path' differ in signedness [-Wpointer-sign] 168 | item->mime_type = type_from_path(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/diritem.c:41: ../src/type.h:42:39: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 42 | MIME_type *type_from_path(const char *path); | ~~~~~~~~~~~~^~~~ ../src/diritem.c:202:56: warning: pointer targets in passing argument 2 of 'g_fscache_lookup' differ in signedness [-Wpointer-sign] 202 | item->_image = g_fscache_lookup(desktop_icon_cache, path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/diritem.c:44: ../src/fscache.h:33:56: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 33 | gpointer g_fscache_lookup(GFSCache *cache, const char *pathname); | ~~~~~~~~~~~~^~~~~~~~ ../src/diritem.c: In function 'diritem_new': ../src/diritem.c:217:28: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 217 | item->leafname = g_strdup(leafname); | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/diritem.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o display.o ../src/display.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/display.c:34: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/display.c:34: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/display.c:34: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/display.c:34: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/display.c: In function 'details': ../src/display.c:659:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 659 | buf = g_strdup_printf(_("lstat(2) failed: %s"), | ^ ../src/display.c:668:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 668 | buf = g_strdup_printf("%s/%s", | ^ ../src/display.c:675:9: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 675 | ctime = pretty_time(&item->ctime); | ^ ../src/display.c:676:9: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 676 | mtime = pretty_time(&item->mtime); | ^ ../src/display.c:677:9: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 677 | atime = pretty_time(&item->atime); | ^ ../src/display.c:679:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 679 | buf = g_strdup_printf("a[%s] c[%s] m[%s]", atime, ctime, mtime); | ^ ../src/display.c:693:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 693 | buf = g_strdup_printf("%s %-8.8s %-8.8s", | ^ ../src/display.c:711:9: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 711 | buf = g_strdup(format_size_aligned(item->size)); | ^ ../src/display.c:713:9: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 713 | buf = g_strdup(format_size(item->size)); | ^ ../src/display.c:716:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 716 | buf = g_strdup("-"); | ^ ../src/display.c:719:9: warning: pointer targets in returning 'guchar *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 719 | return buf; | ^~~ ../src/display.c: In function 'display_update_view': ../src/display.c:807:53: warning: pointer targets in passing argument 2 of 'g_fscache_lookup_full' differ in signedness [-Wpointer-sign] 807 | view->image = g_fscache_lookup_full(pixmap_cache, path, | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/display.c:56: ../src/fscache.h:34:61: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 34 | gpointer g_fscache_lookup_full(GFSCache *cache, const char *pathname, | ~~~~~~~~~~~~^~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o dnd.o ../src/dnd.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/dnd.c:33: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dnd.c:33: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/dnd.c:33: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dnd.c:33: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/dnd.c: In function 'set_xds_prop': ../src/dnd.c:182:4: warning: pointer targets in passing argument 6 of 'gdk_property_change' differ in signedness [-Wpointer-sign] 182 | text, | ^~~~ | | | const char * In file included from /usr/include/gtk-2.0/gdk/gdk.h:50, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dnd.c:33: /usr/include/gtk-2.0/gdk/gdkproperty.h:65:25: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 65 | const guchar *data, | ~~~~~~~~~~~~~~~^~~~ ../src/dnd.c: In function 'get_xds_prop': ../src/dnd.c:203:10: warning: pointer targets in returning 'guchar *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 203 | return prop_text; | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:42, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dnd.c:33: ../src/dnd.c: In function 'drag_selection': ../src/dnd.c:258:14: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 258 | g_strdup(uri_list), g_free); | ^~~~~~~~ | | | guchar * {aka unsigned char *} /usr/include/glib-2.0/glib/gdataset.h:140:65: note: in definition of macro 'g_dataset_set_data_full' 140 | g_dataset_id_set_data_full ((l), g_quark_from_string (k), (d), (f)) | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dnd.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ In file included from /usr/include/glib-2.0/glib.h:42, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dnd.c:33: ../src/dnd.c: In function 'drag_one_item': ../src/dnd.c:322:13: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 322 | g_strdup(full_path), g_free); | ^~~~~~~~~ | | | const guchar * {aka const unsigned char *} /usr/include/glib-2.0/glib/gdataset.h:140:65: note: in definition of macro 'g_dataset_set_data_full' 140 | g_dataset_id_set_data_full ((l), g_quark_from_string (k), (d), (f)) | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dnd.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/dnd.c:323:6: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 323 | tmp = (char *) encode_path_as_uri(full_path); | ^ ../src/dnd.c:324:20: warning: pointer targets in passing argument 1 of 'g_strconcat' differ in signedness [-Wpointer-sign] 324 | uri = g_strconcat(tmp, "\r\n", NULL); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dnd.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:231:53: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 231 | gchar* g_strconcat (const gchar *string1, | ~~~~~~~~~~~~~^~~~~~~ ../src/dnd.c:324:6: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 324 | uri = g_strconcat(tmp, "\r\n", NULL); | ^ ../src/dnd.c: In function 'drag_data_get': ../src/dnd.c:400:26: warning: pointer targets in passing argument 1 of 'load_file' differ in signedness [-Wpointer-sign] 400 | if (path && load_file(path, &to_send, &to_send_length)) | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/dnd.c:44: ../src/gui_support.h:60:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 60 | gboolean load_file(const char *pathname, char **data_out, long *length_out); | ~~~~~~~~~~~~^~~~~~~~ ../src/dnd.c:431:4: warning: pointer targets in passing argument 4 of 'gtk_selection_data_set' differ in signedness [-Wpointer-sign] 431 | to_send, | ^~~~~~~ | | | char * In file included from /usr/include/gtk-2.0/gtk/gtkclipboard.h:29, from /usr/include/gtk-2.0/gtk/gtk.h:68, from ../src/dnd.c:33: /usr/include/gtk-2.0/gtk/gtkselection.h:162:33: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 162 | const guchar *data, | ~~~~~~~~~~~~~~~~~~~~~~^~~~ ../src/dnd.c: In function 'dnd_motion_item': ../src/dnd.c:509:10: warning: pointer targets in returning 'const char *' from a function with return type 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 509 | return drop_dest_dir; | ^~~~~~~~~~~~~ ../src/dnd.c:521:11: warning: pointer targets in returning 'const char *' from a function with return type 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 521 | return drop_dest_dir; | ^~~~~~~~~~~~~ ../src/dnd.c:528:11: warning: pointer targets in returning 'const char *' from a function with return type 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 528 | return drop_dest_prog; | ^~~~~~~~~~~~~~ ../src/dnd.c: In function 'drag_drop': ../src/dnd.c:592:6: warning: pointer targets in passing argument 2 of 'set_xds_prop' differ in signedness [-Wpointer-sign] 592 | make_path(dest_uri, leafname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/dnd.c:176:63: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 176 | static void set_xds_prop(GdkDragContext *context, const char *text) | ~~~~~~~~~~~~^~~~ ../src/dnd.c: In function 'desktop_drag_data_received': ../src/dnd.c:665:41: warning: pointer targets in passing argument 1 of 'uri_list_to_glist' differ in signedness [-Wpointer-sign] 665 | uris = uri_list_to_glist(selection_data->data); | ~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/dnd.c:44: ../src/gui_support.h:85:38: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 85 | GList *uri_list_to_glist(const char *uri_list); | ~~~~~~~~~~~~^~~~~~~~ ../src/dnd.c:671:8: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 671 | path = get_local_path((EscapedPath *) next->data); | ^ ../src/dnd.c:674:17: warning: pointer targets in passing argument 1 of 'pinboard_pin' differ in signedness [-Wpointer-sign] 674 | pinboard_pin(path, NULL, x, y, NULL); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/dnd.c:48: ../src/pinboard.h:26:32: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 26 | void pinboard_pin(const gchar *path, const gchar *name, int x, int y, | ~~~~~~~~~~~~~^~~~ ../src/dnd.c: In function 'drag_data_received': ../src/dnd.c:755:48: warning: pointer targets in passing argument 3 of 'got_uri_list' differ in signedness [-Wpointer-sign] 755 | got_uri_list(widget, context, selection_data->data, | ~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} ../src/dnd.c:91:19: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 91 | const char *selection_data, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../src/dnd.c: In function 'got_data_raw': ../src/dnd.c:861:12: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 861 | fd = open(make_path(dest_path, leafname), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/fcntl.h:328, from ../src/dnd.c:26: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ ../src/dnd.c: In function 'got_uri_list': ../src/dnd.c:987:23: warning: pointer targets in passing argument 2 of 'run_with_argument' differ in signedness [-Wpointer-sign] 987 | o_dnd_uri_handler.value, | ~~~~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} ../src/dnd.c:904:17: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 904 | const char *command, | ~~~~~~~~~~~~^~~~~~~ ../src/dnd.c: In function 'spring_now': ../src/dnd.c:1212:34: warning: pointer targets in passing argument 2 of 'filer_change_to' differ in signedness [-Wpointer-sign] 1212 | filer_change_to(spring_window, dest_path, NULL); | ^~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/dnd.c:41: ../src/filer.h:139:16: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 139 | const char *path, const char *from); | ~~~~~~~~~~~~^~~~ ../src/dnd.c:1219:33: warning: pointer targets in passing argument 1 of 'filer_opendir' differ in signedness [-Wpointer-sign] 1219 | spring_window = filer_opendir(dest_path, | ^~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/dnd.c:41: ../src/filer.h:129:40: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 129 | FilerWindow *filer_opendir(const char *path, FilerWindow *src_win, const gchar *wm_class); | ~~~~~~~~~~~~^~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o dropbox.o ../src/dropbox.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/dropbox.c:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dropbox.c:24: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/dropbox.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dropbox.c:24: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/dropbox.c: In function 'drop_box_set_path': ../src/dropbox.c:158:28: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 158 | drop_box->path = g_strdup(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dropbox.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/dropbox.c:163:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 163 | l = strlen(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dropbox.c:24: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../src/dropbox.c:167:20: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 167 | copy = g_strdup(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/dropbox.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/dropbox.c: In function 'open_dir_clicked': ../src/dropbox.c:235:24: warning: pointer targets in passing argument 1 of 'open_to_show' differ in signedness [-Wpointer-sign] 235 | open_to_show(drop_box->path); | ~~~~~~~~^~~~~~ | | | gchar * {aka char *} In file included from ../src/dropbox.c:36: ../src/run.h:21:33: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 21 | void open_to_show(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/dropbox.c: In function 'drop_box_drag_data_received': ../src/dropbox.c:257:41: warning: pointer targets in passing argument 1 of 'uri_list_to_glist' differ in signedness [-Wpointer-sign] 257 | uris = uri_list_to_glist(selection_data->data); | ~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/dropbox.c:35: ../src/gui_support.h:85:38: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 85 | GList *uri_list_to_glist(const char *uri_list); | ~~~~~~~~~~~~^~~~~~~~ ../src/dropbox.c:266:7: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 266 | path = get_local_path((EscapedPath *) uris->data); | ^ ../src/dropbox.c:276:19: warning: pointer targets in passing argument 1 of 'file_exists' differ in signedness [-Wpointer-sign] 276 | if (!file_exists(path)) | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/dropbox.c:34: ../src/support.h:53:34: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 53 | gboolean file_exists(const char *path); | ~~~~~~~~~~~~^~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o filer.o ../src/filer.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/filer.c:33: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/filer.c:33: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/filer.c:33: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/filer.c:33: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/filer.c: In function 'group_find': ../src/filer.c:1027:27: warning: pointer targets in passing argument 1 of 'xmlNewDoc' differ in signedness [-Wpointer-sign] 1027 | groups->doc = xmlNewDoc("1.0"); | ^~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:780:30: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 780 | xmlNewDoc (const xmlChar *version); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:1030:37: warning: pointer targets in passing argument 3 of 'xmlNewDocNode' differ in signedness [-Wpointer-sign] 1030 | xmlNewDocNode(groups->doc, NULL, "groups", NULL)); | ^~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:829:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:1040:26: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 1040 | gid = xmlGetProp(node, "name"); | ^~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:1045:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1045 | if (strcmp(name, gid) != 0) | ^~~ | | | guchar * {aka unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c: In function 'group_save': ../src/filer.c:1070:10: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 1070 | NULL, "group", NULL); | ^~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:1071:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1071 | xmlSetProp(group, "name", name); | ^~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:1071:28: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1071 | xmlSetProp(group, "name", name); | ^~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/filer.c:1073:31: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1073 | xmlNewTextChild(group, NULL, "directory", filer_window->sym_path); | ^~~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:1073:56: warning: pointer targets in passing argument 4 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1073 | xmlNewTextChild(group, NULL, "directory", filer_window->sym_path); | ~~~~~~~~~~~~^~~~~~~~~~ | | | gchar * {aka char *} In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:900:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:1078:32: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1078 | xmlNewTextChild(group, NULL, "item", item->leafname); | ^~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:1078:44: warning: pointer targets in passing argument 4 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1078 | xmlNewTextChild(group, NULL, "item", item->leafname); | ~~~~^~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:900:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:1080:12: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1080 | save_path = choices_find_xdg_path_save("Groups.xml", PROJECT, SITE, | ^ ../src/filer.c:1084:30: warning: pointer targets in passing argument 2 of 'save_xml_file' differ in signedness [-Wpointer-sign] 1084 | save_xml_file(groups->doc, save_path); | ^~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/filer.c:43: ../src/support.h:15:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 15 | int save_xml_file(xmlDocPtr doc, const gchar *filename); | ~~~~~~~~~~~~~^~~~~~~~ ../src/filer.c: In function 'group_restore': ../src/filer.c:1117:7: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1117 | path = xmlNodeListGetString(groups->doc, node->xmlChildrenNode, 1); | ^ ../src/filer.c:1130:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1130 | if (strcmp(node->name, "item") != 0) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:1133:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 1133 | leaf = xmlNodeListGetString(groups->doc, | ^ ../src/filer.c: In function 'change_to_parent': ../src/filer.c:1300:2: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1300 | filer_change_to(filer_window, dir, g_basename(current)); | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/filer.c:33: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/filer.c: In function 'filer_selected_items': ../src/filer.c:1401:16: warning: pointer targets in initialization of 'guchar *' {aka 'unsigned char *'} from 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 1401 | guchar *dir = filer_window->sym_path; | ^~~~~~~~~~~~ ../src/filer.c:1409:24: warning: pointer targets in passing argument 1 of 'make_path' differ in signedness [-Wpointer-sign] 1409 | g_strdup(make_path(dir, item->leafname))); | ^~~ | | | guchar * {aka unsigned char *} In file included from ../src/filer.c:43: ../src/support.h:18:37: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 18 | const guchar *make_path(const char *dir, const char *leaf); | ~~~~~~~~~~~~^~~ ../src/filer.c:1409:14: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 1409 | g_strdup(make_path(dir, item->leafname))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/filer.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/filer.c: In function 'filer_set_title': ../src/filer.c:2064:18: warning: pointer targets in initialization of 'guchar *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 2064 | guchar *flags = ""; | ^~ ../src/filer.c:2082:10: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2082 | flags = g_strconcat(" +", | ^ ../src/filer.c:2105:10: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2105 | flags = g_strconcat(" (", | ^ ../src/filer.c:2110:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2110 | flags[strlen(flags) - 2] = ')'; | ^~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../src/filer.c: In function 'filer_create_thumbs': ../src/filer.c:2333:48: warning: pointer targets in passing argument 2 of 'g_fscache_lookup_full' differ in signedness [-Wpointer-sign] 2333 | pixmap = g_fscache_lookup_full(pixmap_cache, path, | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/filer.c:42: ../src/fscache.h:34:61: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 34 | gpointer g_fscache_lookup_full(GFSCache *cache, const char *pathname, | ~~~~~~~~~~~~^~~~~~~~ ../src/filer.c:2348:37: warning: pointer targets in passing argument 2 of 'filer_create_thumb' differ in signedness [-Wpointer-sign] 2348 | filer_create_thumb(filer_window, path); | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/filer.c:2287:65: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 2287 | void filer_create_thumb(FilerWindow *filer_window, const gchar *path) | ~~~~~~~~~~~~~^~~~ ../src/filer.c: In function 'filer_add_tip_details': ../src/filer.c:2379:25: warning: pointer targets in passing argument 1 of 'readlink_dup' differ in signedness [-Wpointer-sign] 2379 | target = readlink_dup(fullpath); | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/filer.c:43: ../src/support.h:41:32: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 41 | char *readlink_dup(const char *path); | ~~~~~~~~~~~~^~~~ ../src/filer.c:2396:22: warning: pointer targets in passing argument 1 of 'appinfo_get' differ in signedness [-Wpointer-sign] 2396 | info = appinfo_get(fullpath, item); | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/filer.c:58: ../src/appinfo.h:13:38: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 13 | XMLwrapper *appinfo_get(const gchar *app_dir, DirItem *item); | ~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:2404:26: warning: pointer targets in passing argument 2 of 'g_string_append' differ in signedness [-Wpointer-sign] 2404 | g_string_append(tip, str); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib/giochannel.h:34, from /usr/include/glib-2.0/glib.h:54, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/filer.c:33: /usr/include/glib-2.0/glib/gstring.h:81:59: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 81 | const gchar *val); | ~~~~~~~~~~~~~~~~~^~~ ../src/filer.c:2415:35: warning: pointer targets in passing argument 1 of 'tip_from_desktop_file' differ in signedness [-Wpointer-sign] 2415 | summary = tip_from_desktop_file(fullpath); | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/filer.c:163:48: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 163 | static char *tip_from_desktop_file(const char *full_path); | ~~~~~~~~~~~~^~~~~~~~~ ../src/filer.c: In function 'filer_create_uri_list': ../src/filer.c:2456:28: warning: pointer targets in passing argument 1 of 'encode_path_as_uri' differ in signedness [-Wpointer-sign] 2456 | uri = encode_path_as_uri(path); | ^~~~ | | | char * In file included from ../src/filer.c:43: ../src/support.h:59:47: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 59 | EscapedPath *encode_path_as_uri(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/filer.c:2464:9: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2464 | retval = string->str; | ^ ../src/filer.c: In function 'filer_perform_action': ../src/filer.c:2525:18: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2525 | second_click = g_strdup(item->leafname); | ^ ../src/filer.c:2533:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2533 | strcmp(first_click, second_click) != 0) | ^~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:2533:28: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 2533 | strcmp(first_click, second_click) != 0) | ^~~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c: In function 'tooltip_activate': ../src/filer.c:2659:19: warning: pointer targets in passing argument 1 of 'tooltip_show' differ in signedness [-Wpointer-sign] 2659 | tooltip_show(tip->str); | ~~~^~~~~ | | | gchar * {aka char *} In file included from ../src/filer.c:44: ../src/gui_support.h:74:27: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 74 | void tooltip_show(guchar *text); | ~~~~~~~~^~~~ ../src/filer.c: In function 'drag_motion': ../src/filer.c:2840:8: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 2840 | type = dnd_motion_item(context, &item); | ^ ../src/filer.c:2874:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 2874 | new_path = filer_window->sym_path; | ^ In file included from /usr/include/glib-2.0/glib.h:42, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/filer.c:33: ../src/filer.c:2886:15: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 2886 | g_strdup(new_path), g_free); | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} /usr/include/glib-2.0/glib/gdataset.h:140:65: note: in definition of macro 'g_dataset_set_data_full' 140 | g_dataset_id_set_data_full ((l), g_quark_from_string (k), (d), (f)) | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/filer.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/filer.c: In function 'load_from_node': ../src/filer.c:3128:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3128 | if(strcmp(node->name, "X") == 0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3129:15: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3129 | set->x=atoi(str); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/filer.c:22: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/filer.c:3131:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3131 | } else if(strcmp(node->name, "Y") == 0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3132:15: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3132 | set->y=atoi(str); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/filer.c:22: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/filer.c:3134:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3134 | } else if(strcmp(node->name, "Width") == 0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3135:19: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3135 | set->width=atoi(str); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/filer.c:22: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/filer.c:3137:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3137 | } else if(strcmp(node->name, "Height") == 0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3138:20: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3138 | set->height=atoi(str); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/filer.c:22: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/filer.c:3140:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3140 | } else if(strcmp(node->name, "ShowHidden") == 0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3141:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3141 | set->show_hidden=atoi(str); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/filer.c:22: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/filer.c:3143:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3143 | } else if(strcmp(node->name, "ViewType") == 0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3144:23: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3144 | set->view_type=atoi(str); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/filer.c:22: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/filer.c:3146:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3146 | } else if(strcmp(node->name, "DetailsType") == 0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3147:26: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3147 | set->details_type=atoi(str); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/filer.c:22: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/filer.c:3149:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3149 | } else if(strcmp(node->name, "SortType") == 0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3150:23: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3150 | set->sort_type=atoi(str); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/filer.c:22: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/filer.c:3152:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3152 | } else if(strcmp(node->name, "SortOrder") == 0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3153:24: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3153 | set->sort_order=atoi(str); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/filer.c:22: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/filer.c:3155:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3155 | } else if(strcmp(node->name, "DisplayStyle") == 0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3156:27: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3156 | set->display_style=atoi(str); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/filer.c:22: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/filer.c:3158:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3158 | } else if(strcmp(node->name, "ShowThumbs") == 0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3159:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3159 | set->show_thumbs=atoi(str); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/filer.c:22: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/filer.c:3161:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3161 | } else if(strcmp(node->name, "FilterType") == 0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3162:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3162 | set->filter_type=atoi(str); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/filer.c:22: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/filer.c:3164:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3164 | } else if(strcmp(node->name, "Filter") == 0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3165:24: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 3165 | set->filter=g_strdup(str); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/filer.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'xmlChar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/filer.c:3167:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3167 | } else if(strcmp(node->name, "FilterDirectories") == 0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3168:32: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3168 | set->filter_directories=atoi(str); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/filer.c:22: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/filer.c: In function 'load_settings': ../src/filer.c:3280:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3280 | if (strcmp(node->name, "FilerWindow") != 0) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/filer.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/filer.c:3283:26: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 3283 | path=xmlGetProp(node, "path"); | ^~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3284:21: warning: pointer targets in passing argument 1 of 'settings_new' differ in signedness [-Wpointer-sign] 3284 | set=settings_new(path); | ^~~~ | | | xmlChar * {aka unsigned char *} ../src/filer.c:3087:43: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 3087 | static Settings *settings_new(const char *path) | ~~~~~~~~~~~~^~~~ ../src/filer.c: In function 'add_nodes': ../src/filer.c:3309:30: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3309 | sub=xmlNewChild(node, NULL, "FilerWindow", NULL); | ^~~~~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3311:18: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 3311 | xmlSetProp(sub, "path", set->path); | ^~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3311:29: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 3311 | xmlSetProp(sub, "path", set->path); | ~~~^~~~~~ | | | gchar * {aka char *} In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/filer.c:3315:26: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3315 | xmlNewChild(sub, NULL, "X", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3315:31: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3315 | xmlNewChild(sub, NULL, "X", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:847:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:3318:26: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3318 | xmlNewChild(sub, NULL, "Y", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3318:31: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3318 | xmlNewChild(sub, NULL, "Y", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:847:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:3323:26: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3323 | xmlNewChild(sub, NULL, "Width", tmp); | ^~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3323:35: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3323 | xmlNewChild(sub, NULL, "Width", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:847:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:3326:26: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3326 | xmlNewChild(sub, NULL, "Height", tmp); | ^~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3326:36: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3326 | xmlNewChild(sub, NULL, "Height", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:847:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:3331:26: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3331 | xmlNewChild(sub, NULL, "ShowHidden", tmp); | ^~~~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3331:40: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3331 | xmlNewChild(sub, NULL, "ShowHidden", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:847:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:3336:26: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3336 | xmlNewChild(sub, NULL, "DisplayStyle", tmp); | ^~~~~~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3336:42: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3336 | xmlNewChild(sub, NULL, "DisplayStyle", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:847:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:3341:26: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3341 | xmlNewChild(sub, NULL, "SortType", tmp); | ^~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3341:38: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3341 | xmlNewChild(sub, NULL, "SortType", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:847:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:3344:26: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3344 | xmlNewChild(sub, NULL, "SortOrder", tmp); | ^~~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3344:39: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3344 | xmlNewChild(sub, NULL, "SortOrder", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:847:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:3349:26: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3349 | xmlNewChild(sub, NULL, "ViewType", tmp); | ^~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3349:38: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3349 | xmlNewChild(sub, NULL, "ViewType", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:847:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:3352:26: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3352 | xmlNewChild(sub, NULL, "DetailsType", tmp); | ^~~~~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3352:41: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3352 | xmlNewChild(sub, NULL, "DetailsType", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:847:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:3357:26: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3357 | xmlNewChild(sub, NULL, "ShowThumbs", tmp); | ^~~~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3357:40: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3357 | xmlNewChild(sub, NULL, "ShowThumbs", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:847:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:3362:26: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3362 | xmlNewChild(sub, NULL, "FilterType", tmp); | ^~~~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3362:40: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3362 | xmlNewChild(sub, NULL, "FilterType", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:847:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:3365:27: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3365 | xmlNewChild(sub, NULL, "Filter", set->filter); | ^~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3365:40: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3365 | xmlNewChild(sub, NULL, "Filter", set->filter); | ~~~^~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:847:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:3367:26: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3367 | xmlNewChild(sub, NULL, "FilterDirectories", tmp); | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/filer.c:3367:47: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 3367 | xmlNewChild(sub, NULL, "FilterDirectories", tmp); | ^~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:847:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c: In function 'save_settings': ../src/filer.c:3377:29: warning: pointer targets in passing argument 1 of 'xmlNewDoc' differ in signedness [-Wpointer-sign] 3377 | xmlDocPtr doc = xmlNewDoc("1.0"); | ^~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:780:30: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 780 | xmlNewDoc (const xmlChar *version); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/filer.c:3379:8: warning: pointer targets in passing argument 3 of 'xmlNewDocNode' differ in signedness [-Wpointer-sign] 3379 | "Settings", NULL)); | ^~~~~~~~~~ | | | char * In file included from ../src/global.h:191, from ../src/filer.c:37: /usr/include/libxml2/libxml/tree.h:829:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o find.o ../src/find.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/main.h:10, from ../src/find.c:38: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/main.h:10, from ../src/find.c:38: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/main.h:10, from ../src/find.c:38: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../src/global.h:11, from ../src/find.c:36: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/find.c: In function 'test_leaf': ../src/find.c:250:39: warning: pointer targets in passing argument 2 of 'fnmatch' differ in signedness [-Wpointer-sign] 250 | return fnmatch(condition->data1, info->leaf, 0) == 0; | ~~~~^~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/find.c:30: /usr/include/fnmatch.h:56:56: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 56 | extern int fnmatch (const char *__pattern, const char *__name, int __flags); | ~~~~~~~~~~~~^~~~~~ ../src/find.c: In function 'test_path': ../src/find.c:255:39: warning: pointer targets in passing argument 2 of 'fnmatch' differ in signedness [-Wpointer-sign] 255 | return fnmatch(condition->data1, info->fullpath, FNM_PATHNAME) == 0; | ~~~~^~~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/find.c:30: /usr/include/fnmatch.h:56:56: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 56 | extern int fnmatch (const char *__pattern, const char *__name, int __flags); | ~~~~~~~~~~~~^~~~~~ ../src/find.c: In function 'test_system': ../src/find.c:277:32: warning: pointer targets in passing argument 2 of 'g_string_append' differ in signedness [-Wpointer-sign] 277 | g_string_append(to_sys, info->fullpath); | ~~~~^~~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/giochannel.h:34, from /usr/include/glib-2.0/glib.h:54, from ../src/global.h:11, from ../src/find.c:36: /usr/include/glib-2.0/glib/gstring.h:81:59: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 81 | const gchar *val); | ~~~~~~~~~~~~~~~~~^~~ ../src/find.c: In function 'test_is': ../src/find.c:352:22: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 352 | return access(info->fullpath, R_OK) == 0; | ~~~~^~~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/my_vfs.h:48, from ./config.h:49, from ../src/find.c:27: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../src/find.c:354:22: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 354 | return access(info->fullpath, W_OK) == 0; | ~~~~^~~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/my_vfs.h:48, from ./config.h:49, from ../src/find.c:27: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../src/find.c:356:22: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 356 | return access(info->fullpath, X_OK) == 0; | ~~~~^~~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/my_vfs.h:48, from ./config.h:49, from ../src/find.c:27: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../src/find.c: In function 'match': ../src/find.c:996:2: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations] 996 | if (g_strncasecmp(*expression, word, len)) | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/find.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here 204 | gint g_strncasecmp (const gchar *s1, | ^~~~~~~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o fscache.o ../src/fscache.c gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o gtksavebox.o ../src/gtksavebox.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from ../src/gtksavebox.h:11, from ../src/gtksavebox.c:35: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../src/gtksavebox.h:10, from ../src/gtksavebox.c:35: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/gui_support.h:9, from ../src/gtksavebox.c:53: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../src/gtksavebox.h:10, from ../src/gtksavebox.c:35: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/gtksavebox.c: In function 'button_press_over_icon': ../src/gtksavebox.c:393:5: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 393 | leafname = g_basename (uri); | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../src/gtksavebox.h:10, from ../src/gtksavebox.c:35: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/gtksavebox.c:397:32: warning: pointer targets in passing argument 2 of 'write_xds_property' differ in signedness [-Wpointer-sign] 397 | write_xds_property (context, leafname); | ^~~~~~~~ | | | const gchar * {aka const char *} ../src/gtksavebox.c:134:28: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 134 | const guchar *value); | ~~~~~~~~~~~~~~~~~~~^~~~~ ../src/gtksavebox.c: In function 'drag_data_get': ../src/gtksavebox.c:434:7: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 434 | uri = read_xds_property (context, FALSE); | ^ ../src/gtksavebox.c: In function 'read_xds_property': ../src/gtksavebox.c:492:22: warning: pointer targets in passing argument 9 of 'gdk_property_get' differ in signedness [-Wpointer-sign] 492 | NULL, NULL, &length, &prop_text) | ^~~~~~~ | | | guint * {aka unsigned int *} In file included from /usr/include/gtk-2.0/gdk/gdk.h:50, from ../src/gtksavebox.h:10, from ../src/gtksavebox.c:35: /usr/include/gtk-2.0/gdk/gdkproperty.h:58:25: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 58 | gint *actual_length, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../src/gtksavebox.c: In function 'write_xds_property': ../src/gtksavebox.c:516:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 516 | value, strlen (value)); | ^~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/gtksavebox.c:30: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../src/gtksavebox.c: In function 'drag_end': ../src/gtksavebox.c:538:35: warning: pointer targets in passing argument 1 of 'escape_uri_path' differ in signedness [-Wpointer-sign] 538 | escaped_uri = escape_uri_path (uri); | ^~~ | | | guchar * {aka unsigned char *} In file included from ../src/gtksavebox.c:52: ../src/support.h:58:42: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 58 | EscapedPath *escape_uri_path(const char *path); | ~~~~~~~~~~~~^~~~ ../src/gtksavebox.c: In function 'gtk_savebox_set_property': ../src/gtksavebox.c:639:15: warning: variable 'savebox' set but not used [-Wunused-but-set-variable] 639 | GtkSavebox *savebox; | ^~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o gui_support.o ../src/gui_support.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/main.h:10, from ../src/gui_support.c:40: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/gui_support.c:34: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/main.h:10, from ../src/gui_support.c:40: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/gui_support.c:34: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/gui_support.c: In function 'set_cardinal_property': ../src/gui_support.c:229:28: warning: pointer targets in passing argument 6 of 'gdk_property_change' differ in signedness [-Wpointer-sign] 229 | GDK_PROP_MODE_REPLACE, (gchar *) &value, 1); | ^~~~~~~~~~~~~~~~ | | | gchar * {aka char *} In file included from /usr/include/gtk-2.0/gdk/gdk.h:50, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/gui_support.c:34: /usr/include/gtk-2.0/gdk/gdkproperty.h:65:25: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 65 | const guchar *data, | ~~~~~~~~~~~~~~~^~~~ ../src/gui_support.c: In function 'tooltip_show': ../src/gui_support.c:892:24: warning: pointer targets in passing argument 1 of 'gtk_label_new' differ in signedness [-Wpointer-sign] 892 | label = gtk_label_new(text); | ^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, from /usr/include/gtk-2.0/gtk/gtk.h:35, from ../src/main.h:10, from ../src/gui_support.c:40: /usr/include/gtk-2.0/gtk/gtklabel.h:110:67: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 110 | GtkWidget* gtk_label_new (const gchar *str); | ~~~~~~~~~~~~~~~^~~ ../src/gui_support.c: In function 'launch_uri': ../src/gui_support.c:1574:18: warning: pointer targets in passing argument 1 of 'run_by_path' differ in signedness [-Wpointer-sign] 1574 | run_by_path(path); | ^~~~ | | | gchar * {aka char *} In file included from ../src/gui_support.c:46: ../src/run.h:14:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 14 | gboolean run_by_path(const guchar *full_path); | ~~~~~~~~~~~~~~^~~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o i18n.o ../src/i18n.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/options.h:9, from ../src/i18n.c:34: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from ../src/support.h:12, from ../src/i18n.c:32: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/options.h:9, from ../src/i18n.c:34: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../src/global.h:11, from ../src/i18n.c:30: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/i18n.c: In function 'translate_entries': ../src/i18n.c:136:10: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 136 | first = g_strndup(trans, slash - trans); | ^ ../src/i18n.c:141:12: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 141 | second = g_strndup(trans, slash - trans); | ^ ../src/i18n.c:143:12: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 143 | second = g_strdup(trans); | ^ ../src/i18n.c:146:10: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 146 | first = g_strdup(trans); | ^ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o icon.o ../src/icon.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/icon.c:36: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/icon.c:36: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/icon.c:36: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/icon.c:36: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/icon.c: In function 'check_has': ../src/icon.c:207:21: warning: pointer targets in passing argument 1 of 'is_sub_dir' differ in signedness [-Wpointer-sign] 207 | if (is_sub_dir(icon->path, check->path)) | ~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/icon.c:44: ../src/support.h:36:33: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 36 | gboolean is_sub_dir(const char *sub, const char *parent); | ~~~~~~~~~~~~^~~ ../src/icon.c: In function 'icon_prepare_menu': ../src/icon.c:318:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 318 | tmp = g_strdup_printf(_("%s '%s'"), | ^ ../src/icon.c:321:49: warning: pointer targets in passing argument 2 of 'gtk_label_set_text' differ in signedness [-Wpointer-sign] 321 | gtk_label_set_text(GTK_LABEL(icon_file_item), tmp); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, from /usr/include/gtk-2.0/gtk/gtk.h:35, from ../src/icon.c:36: /usr/include/gtk-2.0/gtk/gtklabel.h:113:25: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 113 | const gchar *str); | ~~~~~~~~~~~~~~~^~~ ../src/icon.c:325:19: warning: pointer targets in passing argument 1 of 'appmenu_add' differ in signedness [-Wpointer-sign] 325 | appmenu_add(icon->path, icon->item, icon_menu); | ~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/icon.c:48: ../src/appmenu.h:14:30: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 14 | int appmenu_add(const gchar *app_dir, DirItem *item, GtkWidget *menu); | ~~~~~~~~~~~~~^~~~~~~ ../src/icon.c: In function 'icon_create_uri_list': ../src/icon.c:408:9: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 408 | retval = tmp->str; | ^ ../src/icon.c:411:9: warning: pointer targets in returning 'guchar *' {aka 'unsigned char *'} from a function with return type 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 411 | return retval; | ^~~~~~ ../src/icon.c: In function 'icon_set_path': ../src/icon.c:460:19: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 460 | icon->src_path = g_strdup(pathname); | ^ ../src/icon.c:462:19: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 462 | icon->src_path = to_utf8(pathname); | ^ ../src/icon.c:463:32: warning: pointer targets in passing argument 1 of 'expand_path' differ in signedness [-Wpointer-sign] 463 | icon->path = expand_path(icon->src_path); | ~~~~^~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/icon.c:44: ../src/support.h:46:33: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 46 | gchar *expand_path(const gchar *path); | ~~~~~~~~~~~~~^~~~ ../src/icon.c:463:14: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 463 | icon->path = expand_path(icon->src_path); | ^ ../src/icon.c:468:4: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 468 | name = g_basename(icon->src_path); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/icon.c:36: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/icon.c:468:26: warning: pointer targets in passing argument 1 of 'g_basename' differ in signedness [-Wpointer-sign] 468 | name = g_basename(icon->src_path); | ~~~~^~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/icon.c:36: /usr/include/glib-2.0/glib/gfileutils.h:205:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 205 | const gchar *g_basename (const gchar *file_name); | ~~~~~~~~~~~~~^~~~~~~~~ ../src/icon.c:470:28: warning: pointer targets in passing argument 1 of 'diritem_new' differ in signedness [-Wpointer-sign] 470 | icon->item = diritem_new(name); | ^~~~ | | | const char * In file included from ../src/icon.c:46: ../src/diritem.h:51:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 51 | DirItem *diritem_new(const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/icon.c: In function 'icon_run': ../src/icon.c:516:21: warning: pointer targets in passing argument 1 of 'run_with_args' differ in signedness [-Wpointer-sign] 516 | run_with_args(icon->path, icon->item, icon->args); | ~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/icon.c:50: ../src/run.h:24:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 24 | void run_with_args(const char *path, DirItem *item, const char *args); | ~~~~~~~~~~~~^~~~ ../src/icon.c: In function 'rename_activate': ../src/icon.c:582:11: warning: pointer targets in assignment from 'const gchar *' {aka 'const char *'} to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 582 | new_name = gtk_entry_get_text(GTK_ENTRY(entry)); | ^ ../src/icon.c:583:10: warning: pointer targets in assignment from 'const gchar *' {aka 'const char *'} to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 583 | new_src = gtk_entry_get_text(GTK_ENTRY(src)); | ^ ../src/icon.c:584:15: warning: pointer targets in assignment from 'const gchar *' {aka 'const char *'} to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 584 | new_shortcut = gtk_label_get_text(GTK_LABEL(shortcut)); | ^ ../src/icon.c:585:13: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 585 | if (strcmp(new_shortcut, CLICK_TO_SET) == 0) | ^~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/icon.c:35: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/icon.c:587:11: warning: pointer targets in assignment from 'const gchar *' {aka 'const char *'} to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 587 | new_args = gtk_entry_get_text(GTK_ENTRY(arg)); | ^ ../src/icon.c:595:23: warning: pointer targets in passing argument 2 of 'icon_set_path' differ in signedness [-Wpointer-sign] 595 | icon_set_path(icon, new_src, new_name); | ^~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/icon.c:445:44: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 445 | void icon_set_path(Icon *icon, const char *pathname, const char *name) | ~~~~~~~~~~~~^~~~~~~~ ../src/icon.c:595:32: warning: pointer targets in passing argument 3 of 'icon_set_path' differ in signedness [-Wpointer-sign] 595 | icon_set_path(icon, new_src, new_name); | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/icon.c:445:66: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 445 | void icon_set_path(Icon *icon, const char *pathname, const char *name) | ~~~~~~~~~~~~^~~~ ../src/icon.c:596:27: warning: pointer targets in passing argument 2 of 'icon_set_shortcut' differ in signedness [-Wpointer-sign] 596 | icon_set_shortcut(icon, new_shortcut); | ^~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/icon.c:475:49: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 475 | void icon_set_shortcut(Icon *icon, const gchar *shortcut) | ~~~~~~~~~~~~~^~~~~~~~ ../src/icon.c:597:28: warning: pointer targets in passing argument 2 of 'icon_set_arguments' differ in signedness [-Wpointer-sign] 597 | icon_set_arguments(icon, new_args); | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/icon.c:497:50: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 497 | void icon_set_arguments(Icon *icon, const gchar *args) | ~~~~~~~~~~~~~^~~~ ../src/icon.c: In function 'selection_get': ../src/icon.c:638:29: warning: pointer targets in passing argument 2 of 'g_string_append' differ in signedness [-Wpointer-sign] 638 | g_string_append(str, icon->path); | ~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib/giochannel.h:34, from /usr/include/glib-2.0/glib.h:54, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/icon.c:36: /usr/include/glib-2.0/glib/gstring.h:81:59: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 81 | const gchar *val); | ~~~~~~~~~~~~~~~~~^~~ ../src/icon.c: In function 'file_op': ../src/icon.c:704:25: warning: pointer targets in passing argument 1 of 'infobox_new' differ in signedness [-Wpointer-sign] 704 | infobox_new(menu_icon->path); | ~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/icon.c:51: ../src/infobox.h:10:31: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 10 | void infobox_new(const gchar *pathname); | ~~~~~~~~~~~~~^~~~~~~~ ../src/icon.c: In function 'filter_get_key': ../src/icon.c:749:3: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 749 | sym = XKeycodeToKeysym(dpy, kev->keycode, 0); | ^~~ In file included from /usr/include/gtk-2.0/gdk/gdkx.h:32, from ../src/icon.c:38: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ ../src/icon.c: In function 'show_rename_box': ../src/icon.c:875:43: warning: pointer targets in passing argument 2 of 'gtk_entry_set_text' differ in signedness [-Wpointer-sign] 875 | gtk_entry_set_text(GTK_ENTRY(entry), icon->src_path); | ~~~~^~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtktreeview.h:31, from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29, from /usr/include/gtk-2.0/gtk/gtk.h:72, from ../src/icon.c:36: /usr/include/gtk-2.0/gtk/gtkentry.h:214:65: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 214 | const gchar *text); | ~~~~~~~~~~~~~~~^~~~ ../src/icon.c: In function 'mykey_cmp': ../src/icon.c:1264:52: warning: self-comparison always evaluates to true [-Wtautological-compare] 1264 | return ka->keycode == kb->keycode && kb->modifier == kb->modifier; | ^~ ../src/icon.c: In function 'create_menu': ../src/icon.c:1410:6: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1410 | tmp = g_strconcat("/", _("File"), NULL); | ^ ../src/icon.c:1412:61: warning: pointer targets in passing argument 2 of 'gtk_item_factory_get_widget' differ in signedness [-Wpointer-sign] 1412 | icon_file_menu = gtk_item_factory_get_widget(item_factory, tmp); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from ../src/icon.c:36: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:159:30: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 159 | const gchar *path); | ~~~~~~~~~~~~~~~~^~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o infobox.o ../src/infobox.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/infobox.c:31: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/infobox.c:31: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/infobox.c:31: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/infobox.c:31: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/infobox.c: In function 'infobox_new': ../src/infobox.c:145:22: warning: pointer targets in passing argument 1 of 'make_vbox' differ in signedness [-Wpointer-sign] 145 | details = make_vbox(path, owindow); | ^~~~ | | | gchar * {aka char *} ../src/infobox.c:80:43: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 80 | static GtkWidget *make_vbox(const guchar *path, GObject *window); | ~~~~~~~~~~~~~~^~~~ ../src/infobox.c: In function 'make_vbox': ../src/infobox.c:217:2: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 217 | item = diritem_new(g_basename(path)); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/infobox.c:31: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/infobox.c:217:32: warning: pointer targets in passing argument 1 of 'g_basename' differ in signedness [-Wpointer-sign] 217 | item = diritem_new(g_basename(path)); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/infobox.c:31: /usr/include/glib-2.0/glib/gfileutils.h:205:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 205 | const gchar *g_basename (const gchar *file_name); | ~~~~~~~~~~~~~^~~~~~~~~ ../src/infobox.c:217:21: warning: pointer targets in passing argument 1 of 'diritem_new' differ in signedness [-Wpointer-sign] 217 | item = diritem_new(g_basename(path)); | ^~~~~~~~~~~~~~~~ | | | const gchar * {aka const char *} In file included from ../src/infobox.c:38: ../src/diritem.h:51:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 51 | DirItem *diritem_new(const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/infobox.c:220:19: warning: pointer targets in passing argument 1 of 'appinfo_get' differ in signedness [-Wpointer-sign] 220 | ai = appinfo_get(path, item); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/infobox.c:41: ../src/appinfo.h:13:38: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 13 | XMLwrapper *appinfo_get(const gchar *app_dir, DirItem *item); | ~~~~~~~~~~~~~^~~~~~~ ../src/infobox.c:240:6: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 240 | u8 = to_utf8(item->leafname); | ^ ../src/infobox.c:241:24: warning: pointer targets in passing argument 1 of 'gtk_label_new' differ in signedness [-Wpointer-sign] 241 | name = gtk_label_new(u8); | ^~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, from /usr/include/gtk-2.0/gtk/gtk.h:35, from ../src/infobox.c:31: /usr/include/gtk-2.0/gtk/gtklabel.h:110:67: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 110 | GtkWidget* gtk_label_new (const gchar *str); | ~~~~~~~~~~~~~~~^~~ ../src/infobox.c:250:25: warning: pointer targets in passing argument 1 of 'pixmap_try_thumb' differ in signedness [-Wpointer-sign] 250 | thumb=pixmap_try_thumb(path, FALSE); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/infobox.c:46: ../src/pixmaps.h:71:45: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 71 | MaskedPixmap *pixmap_try_thumb(const gchar *path, gboolean can_load); | ~~~~~~~~~~~~~^~~~ ../src/infobox.c:262:25: warning: pointer targets in passing argument 1 of 'g_strconcat' differ in signedness [-Wpointer-sign] 262 | help_dir = g_strconcat(path, "/Help", NULL); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/infobox.c:31: /usr/include/glib-2.0/glib/gstrfuncs.h:231:53: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 231 | gchar* g_strconcat (const gchar *string1, | ~~~~~~~~~~~~~^~~~~~~ ../src/infobox.c:288:45: warning: pointer targets in passing argument 1 of 'make_permissions' differ in signedness [-Wpointer-sign] 288 | gtk_box_pack_start(vbox, make_permissions(path, item), | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/infobox.c:86:49: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 86 | static GtkWidget *make_permissions(const gchar *path, DirItem *item); | ~~~~~~~~~~~~~^~~~ ../src/infobox.c:296:38: warning: pointer targets in passing argument 1 of 'make_about_desktop' differ in signedness [-Wpointer-sign] 296 | add_frame(vbox, make_about_desktop(path)); | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/infobox.c:84:51: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 84 | static GtkWidget *make_about_desktop(const gchar *path); | ~~~~~~~~~~~~~^~~~ ../src/infobox.c:315:52: warning: pointer targets in passing argument 1 of 'make_unmount_options' differ in signedness [-Wpointer-sign] 315 | gtk_box_pack_start(vbox, make_unmount_options(path), FALSE, TRUE, 0); | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/infobox.c:87:53: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 87 | static GtkWidget *make_unmount_options(const gchar *path); | ~~~~~~~~~~~~~^~~~ ../src/infobox.c: In function 'make_details': ../src/infobox.c:572:27: warning: pointer targets in passing argument 1 of 'g_path_get_dirname' differ in signedness [-Wpointer-sign] 572 | tmp = g_path_get_dirname(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/infobox.c:31: /usr/include/glib-2.0/glib/gfileutils.h:213:42: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 213 | gchar *g_path_get_dirname (const gchar *file_name) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~~~~~~~ ../src/infobox.c:597:26: warning: pointer targets in passing argument 1 of 'mount_get_fs_size' differ in signedness [-Wpointer-sign] 597 | stt=mount_get_fs_size(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/infobox.c:45: ../src/mount.h:31:39: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 31 | gchar *mount_get_fs_size(const gchar *dir); | ~~~~~~~~~~~~~^~~ ../src/infobox.c:657:22: warning: pointer targets in passing argument 1 of 'xattr_supported' differ in signedness [-Wpointer-sign] 657 | : xattr_supported(path) ? _("None") | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/infobox.c:47: ../src/xtypes.h:22:33: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 22 | int xattr_supported(const char *path); | ~~~~~~~~~~~~^~~~ ../src/infobox.c:667:25: warning: pointer targets in passing argument 1 of 'readlink_dup' differ in signedness [-Wpointer-sign] 667 | target = readlink_dup(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/infobox.c:35: ../src/support.h:41:32: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 41 | char *readlink_dup(const char *path); | ~~~~~~~~~~~~^~~~ ../src/infobox.c: In function 'make_about': ../src/infobox.c:711:40: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 711 | if (about->ns == NULL && strcmp(about->name, "About") == 0) | ~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/infobox.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/infobox.c:746:28: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 746 | tmp = xmlGetProp(trans, "label"); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/infobox.c:29: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/infobox.c:746:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 746 | tmp = xmlGetProp(trans, "label"); | ^ ../src/infobox.c:751:10: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 751 | value = xmlNodeListGetString(trans->doc, | ^ ../src/infobox.c:754:11: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 754 | value = xmlNodeListGetString(prop->doc, | ^ ../src/infobox.c: In function 'make_file_says': ../src/infobox.c:817:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 817 | tmp = g_strdup_printf("pipe(): %s", g_strerror(errno)); | ^ ../src/infobox.c:818:36: warning: pointer targets in passing argument 2 of 'gtk_label_set_text' differ in signedness [-Wpointer-sign] 818 | gtk_label_set_text(l_file_label, tmp); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, from /usr/include/gtk-2.0/gtk/gtk.h:35, from ../src/infobox.c:31: /usr/include/gtk-2.0/gtk/gtklabel.h:113:25: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 113 | const gchar *str); | ~~~~~~~~~~~~~~~^~~ ../src/infobox.c:826:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 826 | tmp = g_strdup_printf("pipe(): %s", g_strerror(errno)); | ^ ../src/infobox.c:827:37: warning: pointer targets in passing argument 2 of 'gtk_label_set_text' differ in signedness [-Wpointer-sign] 827 | gtk_label_set_text(l_file_label, tmp); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, from /usr/include/gtk-2.0/gtk/gtk.h:35, from ../src/infobox.c:31: /usr/include/gtk-2.0/gtk/gtklabel.h:113:25: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 113 | const gchar *str); | ~~~~~~~~~~~~~~~^~~ ../src/infobox.c: In function 'make_permissions': ../src/infobox.c:952:27: warning: pointer targets in passing argument 1 of 'diritem_new' differ in signedness [-Wpointer-sign] 952 | perm->item = diritem_new(path); | ^~~~ | | | const gchar * {aka const char *} In file included from ../src/infobox.c:38: ../src/diritem.h:51:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 51 | DirItem *diritem_new(const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o log.o ../src/log.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/log.c:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/log.c:27: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/log.c:27: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/log.c:27: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/log.c: In function 'log_info_paths': ../src/log.c:109:3: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 109 | actual_message = g_strdup_printf(_("%s '%s'"), message, g_basename((char *) paths->data)); | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/log.c:27: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/log.c: In function 'log_show_window': ../src/log.c:143:28: warning: passing argument 1 of 'get_gtk_builder' from incompatible pointer type [-Wincompatible-pointer-types] 143 | builder = get_gtk_builder(&ids); | ^~~~ | | | gchar * (*)[2] {aka char * (*)[2]} In file included from ../src/log.c:33: ../src/gui_support.h:102:37: note: expected 'gchar **' {aka 'char **'} but argument is of type 'gchar * (*)[2]' {aka 'char * (*)[2]'} 102 | GtkBuilder *get_gtk_builder(gchar **ids); | ~~~~~~~~^~~ ../src/log.c:166:9: warning: assignment to 'GtkWidget *' {aka 'struct _GtkWidget *'} from incompatible pointer type 'GObject *' {aka 'struct _GObject *'} [-Wincompatible-pointer-types] 166 | dialog = gtk_builder_get_object(builder, "Log viewer"); | ^ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o main.o ../src/main.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/main.c:45: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/main.c:45: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/main.c:45: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/main.c:45: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/main.c: In function 'main': ../src/main.c:423:10: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 423 | tmp = g_strdup(VALUE); | ^ ../src/main.c:425:10: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 425 | tmp = pathdup(VALUE); | ^ ../src/main.c:427:28: warning: pointer targets in passing argument 2 of 'soap_add' differ in signedness [-Wpointer-sign] 427 | c == 'D' ? "CloseDir" : | ~~~~~~~~~~~~~~~~~~~~~~^ | | | char * 428 | c == 'd' ? "OpenDir" : | ~~~~~~~~~~~~~~~~~~~~~~ 429 | c == 'x' ? "Examine" : "Unknown", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:196:16: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *' 196 | xmlChar *function, | ~~~~~~~~~^~~~~~~~ ../src/main.c:430:6: warning: pointer targets in passing argument 3 of 'soap_add' differ in signedness [-Wpointer-sign] 430 | "Filename", tmp, | ^~~~~~~~~~ | | | char * ../src/main.c:197:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 197 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~ ../src/main.c:435:9: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 435 | tmp = g_path_get_dirname(VALUE); | ^ ../src/main.c:440:20: warning: pointer targets in passing argument 1 of 'pathdup' differ in signedness [-Wpointer-sign] 440 | dir = pathdup(tmp); | ^~~ | | | guchar * {aka unsigned char *} In file included from ../src/main.c:52: ../src/support.h:17:27: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 17 | char *pathdup(const char *path); | ~~~~~~~~~~~~^~~~ ../src/main.c:440:10: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 440 | dir = pathdup(tmp); | ^ ../src/main.c:444:6: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 444 | "Leafname", g_basename(VALUE)); | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/main.c:45: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/main.c:442:20: warning: pointer targets in passing argument 2 of 'soap_add' differ in signedness [-Wpointer-sign] 442 | soap_add(body, "Show", | ^~~~~~ | | | char * ../src/main.c:196:16: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *' 196 | xmlChar *function, | ~~~~~~~~~^~~~~~~~ ../src/main.c:443:6: warning: pointer targets in passing argument 3 of 'soap_add' differ in signedness [-Wpointer-sign] 443 | "Directory", dir ? dir : tmp, | ^~~~~~~~~~~ | | | char * ../src/main.c:197:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 197 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~ ../src/main.c:444:6: warning: pointer targets in passing argument 5 of 'soap_add' differ in signedness [-Wpointer-sign] 444 | "Leafname", g_basename(VALUE)); | ^~~~~~~~~~ | | | char * ../src/main.c:198:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 198 | const xmlChar *arg2_name, const xmlChar *arg2_value); | ~~~~~~~~~~~~~~~^~~~~~~~~ ../src/main.c:444:18: warning: pointer targets in passing argument 6 of 'soap_add' differ in signedness [-Wpointer-sign] 444 | "Leafname", g_basename(VALUE)); | ^~~~~~~~~~~~~~~~~ | | | const gchar * {aka const char *} ../src/main.c:198:48: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 198 | const xmlChar *arg2_name, const xmlChar *arg2_value); | ~~~~~~~~~~~~~~~^~~~~~~~~~ ../src/main.c:453:20: warning: pointer targets in passing argument 2 of 'soap_add' differ in signedness [-Wpointer-sign] 453 | soap_add(body, "Panel", "Name", VALUE, | ^~~~~~~ | | | char * ../src/main.c:196:16: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *' 196 | xmlChar *function, | ~~~~~~~~~^~~~~~~~ ../src/main.c:453:29: warning: pointer targets in passing argument 3 of 'soap_add' differ in signedness [-Wpointer-sign] 453 | soap_add(body, "Panel", "Name", VALUE, | ^~~~~~ | | | char * ../src/main.c:197:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 197 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~ ../src/main.c:213:44: warning: pointer targets in passing argument 4 of 'soap_add' differ in signedness [-Wpointer-sign] 213 | #define VALUE (*optarg == '=' ? optarg + 1 : optarg) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * ../src/main.c:453:37: note: in expansion of macro 'VALUE' 453 | soap_add(body, "Panel", "Name", VALUE, | ^~~~~ ../src/main.c:197:48: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 197 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~~ ../src/main.c:454:7: warning: pointer targets in passing argument 5 of 'soap_add' differ in signedness [-Wpointer-sign] 454 | "Side", c == 'l' ? "Left" : | ^~~~~~ | | | char * ../src/main.c:198:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 198 | const xmlChar *arg2_name, const xmlChar *arg2_value); | ~~~~~~~~~~~~~~~^~~~~~~~~ ../src/main.c:454:33: warning: pointer targets in passing argument 6 of 'soap_add' differ in signedness [-Wpointer-sign] 454 | "Side", c == 'l' ? "Left" : | ~~~~~~~~~~~~~~~~~~^ | | | char * 455 | c == 'r' ? "Right" : | ~~~~~~~~~~~~~~~~~~~~ 456 | c == 't' ? "Top" : | ~~~~~~~~~~~~~~~~~~ 457 | c == 'B' ? "Bottom" : | ~~~~~~~~~~~~~~~~~~~~~ 458 | "Unkown"); | ~~~~~~~~ ../src/main.c:198:48: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 198 | const xmlChar *arg2_name, const xmlChar *arg2_value); | ~~~~~~~~~~~~~~~^~~~~~~~~~ ../src/main.c:463:21: warning: pointer targets in passing argument 2 of 'soap_add' differ in signedness [-Wpointer-sign] 463 | soap_add(body, "Panel", "Name", VALUE, | ^~~~~~~ | | | char * ../src/main.c:196:16: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *' 196 | xmlChar *function, | ~~~~~~~~~^~~~~~~~ ../src/main.c:463:30: warning: pointer targets in passing argument 3 of 'soap_add' differ in signedness [-Wpointer-sign] 463 | soap_add(body, "Panel", "Name", VALUE, | ^~~~~~ | | | char * ../src/main.c:197:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 197 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~ ../src/main.c:213:44: warning: pointer targets in passing argument 4 of 'soap_add' differ in signedness [-Wpointer-sign] 213 | #define VALUE (*optarg == '=' ? optarg + 1 : optarg) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * ../src/main.c:463:38: note: in expansion of macro 'VALUE' 463 | soap_add(body, "Panel", "Name", VALUE, | ^~~~~ ../src/main.c:197:48: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 197 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~~ ../src/main.c:466:21: warning: pointer targets in passing argument 2 of 'soap_add' differ in signedness [-Wpointer-sign] 466 | soap_add(body, "Panel", | ^~~~~~~ | | | char * ../src/main.c:196:16: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *' 196 | xmlChar *function, | ~~~~~~~~~^~~~~~~~ ../src/main.c:467:8: warning: pointer targets in passing argument 3 of 'soap_add' differ in signedness [-Wpointer-sign] 467 | "Side", "Bottom", | ^~~~~~ | | | char * ../src/main.c:197:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 197 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~ ../src/main.c:467:16: warning: pointer targets in passing argument 4 of 'soap_add' differ in signedness [-Wpointer-sign] 467 | "Side", "Bottom", | ^~~~~~~~ | | | char * ../src/main.c:197:48: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 197 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~~ ../src/main.c:471:20: warning: pointer targets in passing argument 2 of 'soap_add' differ in signedness [-Wpointer-sign] 471 | soap_add(body, "Pinboard", | ^~~~~~~~~~ | | | char * ../src/main.c:196:16: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *' 196 | xmlChar *function, | ~~~~~~~~~^~~~~~~~ ../src/main.c:472:7: warning: pointer targets in passing argument 3 of 'soap_add' differ in signedness [-Wpointer-sign] 472 | "Name", VALUE, NULL, NULL); | ^~~~~~ | | | char * ../src/main.c:197:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 197 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~ ../src/main.c:213:44: warning: pointer targets in passing argument 4 of 'soap_add' differ in signedness [-Wpointer-sign] 213 | #define VALUE (*optarg == '=' ? optarg + 1 : optarg) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * ../src/main.c:472:15: note: in expansion of macro 'VALUE' 472 | "Name", VALUE, NULL, NULL); | ^~~~~ ../src/main.c:197:48: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 197 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~~ ../src/main.c:213:44: warning: pointer targets in passing argument 1 of 'type_get_type' differ in signedness [-Wpointer-sign] 213 | #define VALUE (*optarg == '=' ? optarg + 1 : optarg) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * ../src/main.c:483:26: note: in expansion of macro 'VALUE' 483 | type = type_get_type(VALUE); | ^~~~~ In file included from ../src/main.c:61: ../src/type.h:40:40: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 40 | MIME_type *type_get_type(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/main.c:520:20: warning: pointer targets in passing argument 2 of 'soap_add' differ in signedness [-Wpointer-sign] 520 | soap_add(body, "RunURI", | ^~~~~~~~ | | | char * ../src/main.c:196:16: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *' 196 | xmlChar *function, | ~~~~~~~~~^~~~~~~~ ../src/main.c:521:7: warning: pointer targets in passing argument 3 of 'soap_add' differ in signedness [-Wpointer-sign] 521 | "URI", VALUE, NULL, NULL); | ^~~~~ | | | char * ../src/main.c:197:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 197 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~ ../src/main.c:213:44: warning: pointer targets in passing argument 4 of 'soap_add' differ in signedness [-Wpointer-sign] 213 | #define VALUE (*optarg == '=' ? optarg + 1 : optarg) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * ../src/main.c:521:14: note: in expansion of macro 'VALUE' 521 | "URI", VALUE, NULL, NULL); | ^~~~~ ../src/main.c:197:48: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 197 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~~ ../src/main.c:542:7: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 542 | tmp = pathdup(argv[i++]); | ^ ../src/main.c:544:18: warning: pointer targets in passing argument 2 of 'soap_add' differ in signedness [-Wpointer-sign] 544 | soap_add(body, "Run", "Filename", tmp, NULL, NULL); | ^~~~~ | | | char * ../src/main.c:196:16: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *' 196 | xmlChar *function, | ~~~~~~~~~^~~~~~~~ ../src/main.c:544:25: warning: pointer targets in passing argument 3 of 'soap_add' differ in signedness [-Wpointer-sign] 544 | soap_add(body, "Run", "Filename", tmp, NULL, NULL); | ^~~~~~~~~~ | | | char * ../src/main.c:197:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 197 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~ ../src/main.c:564:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 564 | dir = g_get_current_dir(); | ^ ../src/main.c:565:18: warning: pointer targets in passing argument 2 of 'soap_add' differ in signedness [-Wpointer-sign] 565 | soap_add(body, "OpenDir", "Filename", dir, NULL, NULL); | ^~~~~~~~~ | | | char * ../src/main.c:196:16: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *' 196 | xmlChar *function, | ~~~~~~~~~^~~~~~~~ ../src/main.c:565:29: warning: pointer targets in passing argument 3 of 'soap_add' differ in signedness [-Wpointer-sign] 565 | soap_add(body, "OpenDir", "Filename", dir, NULL, NULL); | ^~~~~~~~~~ | | | char * ../src/main.c:197:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 197 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~ In file included from ../src/main.c:48: ../src/main.c: In function 'soap_add': ../src/global.h:174:16: warning: pointer targets in passing argument 3 of 'xmlSearchNsByHref' differ in signedness [-Wpointer-sign] 174 | #define ROX_NS "http://rox.sourceforge.net/SOAP/ROX-Filer" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../src/global.h:174:16: note: in definition of macro 'ROX_NS' 174 | #define ROX_NS "http://rox.sourceforge.net/SOAP/ROX-Filer" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/main.c:39: /usr/include/libxml2/libxml/tree.h:993:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 993 | const xmlChar *href); | ~~~~~~~~~~~~~~~^~~~ ../src/main.c: In function 'add_default_panel_and_pinboard': ../src/main.c:851:7: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 851 | name=o_session_pinboard_name.value; | ^ ../src/main.c:854:18: warning: pointer targets in passing argument 2 of 'soap_add' differ in signedness [-Wpointer-sign] 854 | soap_add(body, "Pinboard","Name", name, NULL, NULL); | ^~~~~~~~~~ | | | char * ../src/main.c:734:16: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *' 734 | xmlChar *function, | ~~~~~~~~~^~~~~~~~ ../src/main.c:854:29: warning: pointer targets in passing argument 3 of 'soap_add' differ in signedness [-Wpointer-sign] 854 | soap_add(body, "Pinboard","Name", name, NULL, NULL); | ^~~~~~ | | | char * ../src/main.c:735:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 735 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~ ../src/main.c:854:37: warning: pointer targets in passing argument 4 of 'soap_add' differ in signedness [-Wpointer-sign] 854 | soap_add(body, "Pinboard","Name", name, NULL, NULL); | ^~~~ | | | const char * ../src/main.c:735:48: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 735 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~~ ../src/main.c:874:20: warning: pointer targets in passing argument 2 of 'soap_add' differ in signedness [-Wpointer-sign] 874 | soap_add(body, "Panel", "Name", line, NULL, NULL); | ^~~~~~~ | | | char * ../src/main.c:734:16: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *' 734 | xmlChar *function, | ~~~~~~~~~^~~~~~~~ ../src/main.c:874:29: warning: pointer targets in passing argument 3 of 'soap_add' differ in signedness [-Wpointer-sign] 874 | soap_add(body, "Panel", "Name", line, NULL, NULL); | ^~~~~~ | | | char * ../src/main.c:735:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 735 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~ ../src/main.c:874:37: warning: pointer targets in passing argument 4 of 'soap_add' differ in signedness [-Wpointer-sign] 874 | soap_add(body, "Panel", "Name", line, NULL, NULL); | ^~~~ | | | char * ../src/main.c:735:48: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 735 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~~ ../src/main.c:888:9: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 888 | name = o_session_panel_name.value; | ^ ../src/main.c:891:19: warning: pointer targets in passing argument 2 of 'soap_add' differ in signedness [-Wpointer-sign] 891 | soap_add(body, "Panel", "Name", name, NULL, NULL); | ^~~~~~~ | | | char * ../src/main.c:734:16: note: expected 'xmlChar *' {aka 'unsigned char *'} but argument is of type 'char *' 734 | xmlChar *function, | ~~~~~~~~~^~~~~~~~ ../src/main.c:891:28: warning: pointer targets in passing argument 3 of 'soap_add' differ in signedness [-Wpointer-sign] 891 | soap_add(body, "Panel", "Name", name, NULL, NULL); | ^~~~~~ | | | char * ../src/main.c:735:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 735 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~ ../src/main.c:891:36: warning: pointer targets in passing argument 4 of 'soap_add' differ in signedness [-Wpointer-sign] 891 | soap_add(body, "Panel", "Name", name, NULL, NULL); | ^~~~ | | | const char * ../src/main.c:735:48: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 735 | const xmlChar *arg1_name, const xmlChar *arg1_value, | ~~~~~~~~~~~~~~~^~~~~~~~~~ ../src/main.c: In function 'build_launch': ../src/main.c:942:25: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 942 | uri = xmlGetProp(node, "uri"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/main.c:39: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/main.c:942:6: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 942 | uri = xmlGetProp(node, "uri"); | ^ ../src/main.c:943:29: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 943 | appname = xmlGetProp(node, "appname"); | ^~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/main.c:39: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/main.c:943:10: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 943 | appname = xmlGetProp(node, "appname"); | ^ In file included from ./config.h:52, from ../src/main.c:26: ../src/main.c:950:26: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 950 | launch_button_new(_(label), uri, appname)); | ^~~~~ | | | guchar * {aka unsigned char *} ../src/main.c:950:24: note: in expansion of macro '_' 950 | launch_button_new(_(label), uri, appname)); | ^ In file included from ./config.h:52, from ../src/main.c:26: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ ../src/main.c: In function 'new_script_cb': ../src/main.c:980:23: warning: pointer targets in passing argument 1 of 'dir_check_this' differ in signedness [-Wpointer-sign] 980 | dir_check_this(path); | ^~~~ | | | const gchar * {aka const char *} In file included from ../src/main.c:63: ../src/dir.h:105:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 105 | void dir_check_this(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/main.c: In function 'make_script_clicked': ../src/main.c:995:11: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const gchar *' {aka 'const char *'} differ in signedness [-Wpointer-sign] 995 | filename=make_path(window_with_focus->sym_path, "rox"); | ^ ../src/main.c:989:15: warning: variable 'action' set but not used [-Wunused-but-set-variable] 989 | const gchar *action; | ^~~~~~ In file included from ./config.h:52, from ../src/main.c:26: ../src/main.c: In function 'build_make_script': ../src/main.c:1028:39: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 1028 | button = gtk_button_new_with_label(_(label)); | ^~~~~ | | | guchar * {aka unsigned char *} ../src/main.c:1028:37: note: in expansion of macro '_' 1028 | button = gtk_button_new_with_label(_(label)); | ^ In file included from ./config.h:52, from ../src/main.c:26: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ ../src/main.c: In function 'main': ../src/main.c:323:3: warning: ignoring return value of 'getgroups' declared with attribute 'warn_unused_result' [-Wunused-result] 323 | getgroups(ngroups, supplemental_groups); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c:620:2: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 620 | pipe(wakeup_pipe); | ^~~~~~~~~~~~~~~~~ ../src/main.c: In function 'child_died': ../src/main.c:787:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 787 | write(to_wakeup_pipe, "\0", 1); /* Wake up! */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/main.c: In function 'wake_up_cb': ../src/main.c:827:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 827 | read(source, buf, BUFLEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o menu.o ../src/menu.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/menu.c:37: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/menu.c:37: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/menu.c:37: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/menu.c:37: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/menu.c: In function 'ensure_filer_menu': ../src/menu.c:269:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 269 | tmp = g_strdup_printf("<" menu ">/%s", _(sub)); \ | ^ ../src/menu.c:298:2: note: in expansion of macro 'GET_SMENU_ITEM' 298 | GET_SMENU_ITEM(filer_file_menu, "filer", "File"); | ^~~~~~~~~~~~~~ ../src/menu.c:270:51: warning: pointer targets in passing argument 2 of 'gtk_item_factory_get_widget' differ in signedness [-Wpointer-sign] 270 | var = gtk_item_factory_get_widget(item_factory, tmp); \ | ^~~ | | | guchar * {aka unsigned char *} ../src/menu.c:298:2: note: in expansion of macro 'GET_SMENU_ITEM' 298 | GET_SMENU_ITEM(filer_file_menu, "filer", "File"); | ^~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from ../src/menu.c:37: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:159:30: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 159 | const gchar *path); | ~~~~~~~~~~~~~~~~^~~~ ../src/menu.c:276:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 276 | tmp = g_strdup_printf("<" menu ">/%s/%s", _(sub), _(subsub)); \ | ^ ../src/menu.c:299:2: note: in expansion of macro 'GET_SSMENU_ITEM' 299 | GET_SSMENU_ITEM(filer_hidden_menu, "filer", "Display", "Show Hidden"); | ^~~~~~~~~~~~~~~ ../src/menu.c:277:51: warning: pointer targets in passing argument 2 of 'gtk_item_factory_get_widget' differ in signedness [-Wpointer-sign] 277 | var = gtk_item_factory_get_widget(item_factory, tmp); \ | ^~~ | | | guchar * {aka unsigned char *} ../src/menu.c:299:2: note: in expansion of macro 'GET_SSMENU_ITEM' 299 | GET_SSMENU_ITEM(filer_hidden_menu, "filer", "Display", "Show Hidden"); | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from ../src/menu.c:37: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:159:30: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 159 | const gchar *path); | ~~~~~~~~~~~~~~~~^~~~ ../src/menu.c:276:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 276 | tmp = g_strdup_printf("<" menu ">/%s/%s", _(sub), _(subsub)); \ | ^ ../src/menu.c:300:2: note: in expansion of macro 'GET_SSMENU_ITEM' 300 | GET_SSMENU_ITEM(filer_filter_dirs_menu, "filer", "Display", "Filter Directories With Files"); | ^~~~~~~~~~~~~~~ ../src/menu.c:277:51: warning: pointer targets in passing argument 2 of 'gtk_item_factory_get_widget' differ in signedness [-Wpointer-sign] 277 | var = gtk_item_factory_get_widget(item_factory, tmp); \ | ^~~ | | | guchar * {aka unsigned char *} ../src/menu.c:300:2: note: in expansion of macro 'GET_SSMENU_ITEM' 300 | GET_SSMENU_ITEM(filer_filter_dirs_menu, "filer", "Display", "Filter Directories With Files"); | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from ../src/menu.c:37: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:159:30: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 159 | const gchar *path); | ~~~~~~~~~~~~~~~~^~~~ ../src/menu.c:276:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 276 | tmp = g_strdup_printf("<" menu ">/%s/%s", _(sub), _(subsub)); \ | ^ ../src/menu.c:301:2: note: in expansion of macro 'GET_SSMENU_ITEM' 301 | GET_SSMENU_ITEM(filer_reverse_menu, "filer", "Display", "Reversed"); | ^~~~~~~~~~~~~~~ ../src/menu.c:277:51: warning: pointer targets in passing argument 2 of 'gtk_item_factory_get_widget' differ in signedness [-Wpointer-sign] 277 | var = gtk_item_factory_get_widget(item_factory, tmp); \ | ^~~ | | | guchar * {aka unsigned char *} ../src/menu.c:301:2: note: in expansion of macro 'GET_SSMENU_ITEM' 301 | GET_SSMENU_ITEM(filer_reverse_menu, "filer", "Display", "Reversed"); | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from ../src/menu.c:37: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:159:30: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 159 | const gchar *path); | ~~~~~~~~~~~~~~~~^~~~ ../src/menu.c:276:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 276 | tmp = g_strdup_printf("<" menu ">/%s/%s", _(sub), _(subsub)); \ | ^ ../src/menu.c:302:2: note: in expansion of macro 'GET_SSMENU_ITEM' 302 | GET_SSMENU_ITEM(filer_auto_size_menu, "filer", "Display", "Automatic"); | ^~~~~~~~~~~~~~~ ../src/menu.c:277:51: warning: pointer targets in passing argument 2 of 'gtk_item_factory_get_widget' differ in signedness [-Wpointer-sign] 277 | var = gtk_item_factory_get_widget(item_factory, tmp); \ | ^~~ | | | guchar * {aka unsigned char *} ../src/menu.c:302:2: note: in expansion of macro 'GET_SSMENU_ITEM' 302 | GET_SSMENU_ITEM(filer_auto_size_menu, "filer", "Display", "Automatic"); | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from ../src/menu.c:37: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:159:30: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 159 | const gchar *path); | ~~~~~~~~~~~~~~~~^~~~ ../src/menu.c:276:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 276 | tmp = g_strdup_printf("<" menu ">/%s/%s", _(sub), _(subsub)); \ | ^ ../src/menu.c:303:2: note: in expansion of macro 'GET_SSMENU_ITEM' 303 | GET_SSMENU_ITEM(filer_thumb_menu, "filer", "Display", | ^~~~~~~~~~~~~~~ ../src/menu.c:277:51: warning: pointer targets in passing argument 2 of 'gtk_item_factory_get_widget' differ in signedness [-Wpointer-sign] 277 | var = gtk_item_factory_get_widget(item_factory, tmp); \ | ^~~ | | | guchar * {aka unsigned char *} ../src/menu.c:303:2: note: in expansion of macro 'GET_SSMENU_ITEM' 303 | GET_SSMENU_ITEM(filer_thumb_menu, "filer", "Display", | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from ../src/menu.c:37: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:159:30: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 159 | const gchar *path); | ~~~~~~~~~~~~~~~~^~~~ ../src/menu.c:276:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 276 | tmp = g_strdup_printf("<" menu ">/%s/%s", _(sub), _(subsub)); \ | ^ ../src/menu.c:305:2: note: in expansion of macro 'GET_SSMENU_ITEM' 305 | GET_SSMENU_ITEM(item, "filer", "File", "Set Type..."); | ^~~~~~~~~~~~~~~ ../src/menu.c:277:51: warning: pointer targets in passing argument 2 of 'gtk_item_factory_get_widget' differ in signedness [-Wpointer-sign] 277 | var = gtk_item_factory_get_widget(item_factory, tmp); \ | ^~~ | | | guchar * {aka unsigned char *} ../src/menu.c:305:2: note: in expansion of macro 'GET_SSMENU_ITEM' 305 | GET_SSMENU_ITEM(item, "filer", "File", "Set Type..."); | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from ../src/menu.c:37: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:159:30: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 159 | const gchar *path); | ~~~~~~~~~~~~~~~~^~~~ ../src/menu.c:269:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 269 | tmp = g_strdup_printf("<" menu ">/%s", _(sub)); \ | ^ ../src/menu.c:308:2: note: in expansion of macro 'GET_SMENU_ITEM' 308 | GET_SMENU_ITEM(filer_new_menu, "filer", "New"); | ^~~~~~~~~~~~~~ ../src/menu.c:270:51: warning: pointer targets in passing argument 2 of 'gtk_item_factory_get_widget' differ in signedness [-Wpointer-sign] 270 | var = gtk_item_factory_get_widget(item_factory, tmp); \ | ^~~ | | | guchar * {aka unsigned char *} ../src/menu.c:308:2: note: in expansion of macro 'GET_SMENU_ITEM' 308 | GET_SMENU_ITEM(filer_new_menu, "filer", "New"); | ^~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from ../src/menu.c:37: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:159:30: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 159 | const gchar *path); | ~~~~~~~~~~~~~~~~^~~~ ../src/menu.c:276:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 276 | tmp = g_strdup_printf("<" menu ">/%s/%s", _(sub), _(subsub)); \ | ^ ../src/menu.c:309:2: note: in expansion of macro 'GET_SSMENU_ITEM' 309 | GET_SSMENU_ITEM(item, "filer", "Window", "Follow Symbolic Links"); | ^~~~~~~~~~~~~~~ ../src/menu.c:277:51: warning: pointer targets in passing argument 2 of 'gtk_item_factory_get_widget' differ in signedness [-Wpointer-sign] 277 | var = gtk_item_factory_get_widget(item_factory, tmp); \ | ^~~ | | | guchar * {aka unsigned char *} ../src/menu.c:309:2: note: in expansion of macro 'GET_SSMENU_ITEM' 309 | GET_SSMENU_ITEM(item, "filer", "Window", "Follow Symbolic Links"); | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from ../src/menu.c:37: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:159:30: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 159 | const gchar *path); | ~~~~~~~~~~~~~~~~^~~~ ../src/menu.c:276:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 276 | tmp = g_strdup_printf("<" menu ">/%s/%s", _(sub), _(subsub)); \ | ^ ../src/menu.c:322:2: note: in expansion of macro 'GET_SSMENU_ITEM' 322 | GET_SSMENU_ITEM(item, "filer", "Window", "New Window"); | ^~~~~~~~~~~~~~~ ../src/menu.c:277:51: warning: pointer targets in passing argument 2 of 'gtk_item_factory_get_widget' differ in signedness [-Wpointer-sign] 277 | var = gtk_item_factory_get_widget(item_factory, tmp); \ | ^~~ | | | guchar * {aka unsigned char *} ../src/menu.c:322:2: note: in expansion of macro 'GET_SSMENU_ITEM' 322 | GET_SSMENU_ITEM(item, "filer", "Window", "New Window"); | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from ../src/menu.c:37: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:159:30: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 159 | const gchar *path); | ~~~~~~~~~~~~~~~~^~~~ ../src/menu.c: In function 'menu_from_dir': ../src/menu.c:493:19: warning: pointer targets in passing argument 1 of 'list_dir' differ in signedness [-Wpointer-sign] 493 | names = list_dir(dname); | ^~~~~ | | | char * In file included from ../src/menu.c:47: ../src/support.h:54:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 54 | GPtrArray *list_dir(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/menu.c:521:23: warning: pointer targets in passing argument 1 of 'diritem_new' differ in signedness [-Wpointer-sign] 521 | ditem = diritem_new(""); | ^~ | | | char * In file included from ../src/menu.c:58: ../src/diritem.h:51:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 51 | DirItem *diritem_new(const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/menu.c:522:18: warning: pointer targets in passing argument 1 of 'diritem_restat' differ in signedness [-Wpointer-sign] 522 | diritem_restat(fname, ditem, NULL); | ^~~~~ | | | gchar * {aka char *} In file included from ../src/menu.c:58: ../src/diritem.h:52:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 52 | void diritem_restat(const guchar *path, DirItem *item, struct stat *parent); | ~~~~~~~~~~~~~~^~~~ ../src/menu.c: In function 'show_filer_menu': ../src/menu.c:796:26: warning: pointer targets in passing argument 1 of 'appmenu_add' differ in signedness [-Wpointer-sign] 796 | n_added = appmenu_add(make_path(filer_window->sym_path, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} 797 | file_item->leafname), | ~~~~~~~~~~~~~~~~~~~~ In file included from ../src/menu.c:59: ../src/appmenu.h:14:30: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 14 | int appmenu_add(const gchar *app_dir, DirItem *item, GtkWidget *menu); | ~~~~~~~~~~~~~^~~~~~~ ../src/menu.c:738:27: warning: variable 'file_menu' set but not used [-Wunused-but-set-variable] 738 | GtkWidget *file_label, *file_menu; | ^~~~~~~~~ ../src/menu.c: In function 'menu_show_shift_action': ../src/menu.c:872:18: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 872 | shift_action = N_("Unmount"); | ^ ../src/menu.c:874:18: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 874 | shift_action = N_("Open unmounted"); | ^ ../src/menu.c:877:17: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 877 | shift_action = N_("Show Target"); | ^ ../src/menu.c:879:17: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 879 | shift_action = N_("Look Inside"); | ^ ../src/menu.c:881:17: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 881 | shift_action = N_("Open As Text"); | ^ In file included from ./config.h:52, from ../src/menu.c:26: ../src/menu.c:884:21: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 884 | shift_action ? _(shift_action) | ^~~~~~~~~~~~ | | | guchar * {aka unsigned char *} ../src/menu.c:884:19: note: in expansion of macro '_' 884 | shift_action ? _(shift_action) | ^ In file included from ./config.h:52, from ../src/menu.c:26: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ ../src/menu.c: In function 'savebox_show': ../src/menu.c:1128:3: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1128 | u8 = to_utf8(g_basename(path)); | ^~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/menu.c:37: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/menu.c:1130:5: warning: pointer targets in passing argument 2 of 'gtk_savebox_set_pathname' differ in signedness [-Wpointer-sign] 1130 | make_path(dir, u8)); | ^~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/menu.c:51: ../src/gtksavebox.h:81:20: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 81 | const gchar *pathname); | ~~~~~~~~~~~~~^~~~~~~~ ../src/menu.c: In function 'link_cb': ../src/menu.c:1228:33: warning: pointer targets in passing argument 1 of 'get_relative_path' differ in signedness [-Wpointer-sign] 1228 | link_path = get_relative_path(path, initial); | ^~~~ | | | const gchar * {aka const char *} In file included from ../src/menu.c:47: ../src/support.h:39:41: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 39 | guchar *get_relative_path(const guchar *from, const guchar *to); | ~~~~~~~~~~~~~~^~~~ ../src/menu.c:1228:39: warning: pointer targets in passing argument 2 of 'get_relative_path' differ in signedness [-Wpointer-sign] 1228 | link_path = get_relative_path(path, initial); | ^~~~~~~ | | | const gchar * {aka const char *} In file included from ../src/menu.c:47: ../src/support.h:39:61: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 39 | guchar *get_relative_path(const guchar *from, const guchar *to); | ~~~~~~~~~~~~~~^~ ../src/menu.c:1228:13: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 1228 | link_path = get_relative_path(path, initial); | ^ ../src/menu.c:1274:17: warning: pointer targets in passing argument 1 of 'dir_check_this' differ in signedness [-Wpointer-sign] 1274 | dir_check_this(path); | ^~~~ | | | const gchar * {aka const char *} In file included from ../src/menu.c:57: ../src/dir.h:105:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 105 | void dir_check_this(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/menu.c: In function 'new_directory_cb': ../src/menu.c:1348:17: warning: pointer targets in passing argument 1 of 'dir_check_this' differ in signedness [-Wpointer-sign] 1348 | dir_check_this(path); | ^~~~ | | | const gchar * {aka const char *} In file included from ../src/menu.c:57: ../src/dir.h:105:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 105 | void dir_check_this(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/menu.c:1353:8: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1353 | leaf = strrchr(path, '/'); | ^ ../src/menu.c:1355:51: warning: pointer targets in passing argument 2 of 'display_set_autoselect' differ in signedness [-Wpointer-sign] 1355 | display_set_autoselect(window_with_focus, leaf + 1); | ~~~~~^~~ | | | guchar * {aka unsigned char *} In file included from ../src/menu.c:63: ../src/display.h:57:69: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 57 | void display_set_autoselect(FilerWindow *filer_window, const gchar *leaf); | ~~~~~~~~~~~~~^~~~ ../src/menu.c: In function 'new_directory': ../src/menu.c:1366:3: warning: pointer targets in passing argument 2 of 'savebox_show' differ in signedness [-Wpointer-sign] 1366 | make_path(window_with_focus->sym_path, _("NewDir")), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/menu.c:1080:60: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 1080 | static void savebox_show(const gchar *action, const gchar *path, | ~~~~~~~~~~~~~^~~~ ../src/menu.c: In function 'new_file_cb': ../src/menu.c:1389:17: warning: pointer targets in passing argument 1 of 'dir_check_this' differ in signedness [-Wpointer-sign] 1389 | dir_check_this(path); | ^~~~ | | | const gchar * {aka const char *} In file included from ../src/menu.c:57: ../src/dir.h:105:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 105 | void dir_check_this(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/menu.c:1394:8: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1394 | leaf = strrchr(path, '/'); | ^ ../src/menu.c:1396:51: warning: pointer targets in passing argument 2 of 'display_set_autoselect' differ in signedness [-Wpointer-sign] 1396 | display_set_autoselect(window_with_focus, leaf + 1); | ~~~~~^~~ | | | guchar * {aka unsigned char *} In file included from ../src/menu.c:63: ../src/display.h:57:69: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 57 | void display_set_autoselect(FilerWindow *filer_window, const gchar *leaf); | ~~~~~~~~~~~~~^~~~ ../src/menu.c: In function 'new_file': ../src/menu.c:1407:3: warning: pointer targets in passing argument 2 of 'savebox_show' differ in signedness [-Wpointer-sign] 1407 | make_path(window_with_focus->sym_path, _("NewFile")), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/menu.c:1080:60: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 1080 | static void savebox_show(const gchar *action, const gchar *path, | ~~~~~~~~~~~~~^~~~ ../src/menu.c: In function 'new_file_type_cb': ../src/menu.c:1420:2: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1420 | oleaf = g_basename(initial); | ^~~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/menu.c:37: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/menu.c:1436:2: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1436 | leaf = g_basename(path); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/menu.c:37: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/menu.c: In function 'new_file_type': ../src/menu.c:1465:2: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1465 | leaf = g_basename(templ); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/menu.c:37: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/menu.c:1466:23: warning: pointer targets in passing argument 1 of 'type_get_type' differ in signedness [-Wpointer-sign] 1466 | type = type_get_type(templ); | ^~~~~ | | | gchar * {aka char *} In file included from ../src/menu.c:46: ../src/type.h:40:40: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 40 | MIME_type *type_get_type(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/menu.c:1469:3: warning: pointer targets in passing argument 2 of 'savebox_show' differ in signedness [-Wpointer-sign] 1469 | make_path(window_with_focus->sym_path, leaf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/menu.c:1080:60: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 1080 | static void savebox_show(const gchar *action, const gchar *path, | ~~~~~~~~~~~~~^~~~ ../src/menu.c: In function 'customise_send_to': ../src/menu.c:1488:25: warning: pointer targets in passing argument 2 of 'g_string_append' differ in signedness [-Wpointer-sign] 1488 | g_string_append(dirs, old); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib/giochannel.h:34, from /usr/include/glib-2.0/glib.h:54, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/menu.c:37: /usr/include/glib-2.0/glib/gstring.h:81:59: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 81 | const gchar *val); | ~~~~~~~~~~~~~~~~~^~~ ../src/menu.c:1493:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1493 | save = choices_find_xdg_path_save("", "SendTo", SITE, TRUE); | ^ ../src/menu.c:1495:9: warning: pointer targets in passing argument 1 of 'mkdir' differ in signedness [-Wpointer-sign] 1495 | mkdir(save, 0777); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/my_vfs.h:47, from ./config.h:49, from ../src/menu.c:26: /usr/include/sys/stat.h:317:31: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 317 | extern int mkdir (const char *__path, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ ../src/menu.c:1518:17: warning: pointer targets in passing argument 1 of 'filer_opendir' differ in signedness [-Wpointer-sign] 1518 | filer_opendir(save, NULL, NULL); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/menu.c:44: ../src/filer.h:129:40: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 129 | FilerWindow *filer_opendir(const char *path, FilerWindow *src_win, const gchar *wm_class); | ~~~~~~~~~~~~^~~~ ../src/menu.c: In function 'customise_new': ../src/menu.c:1535:25: warning: pointer targets in passing argument 2 of 'g_string_append' differ in signedness [-Wpointer-sign] 1535 | g_string_append(dirs, old); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib/giochannel.h:34, from /usr/include/glib-2.0/glib.h:54, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/menu.c:37: /usr/include/glib-2.0/glib/gstring.h:81:59: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 81 | const gchar *val); | ~~~~~~~~~~~~~~~~~^~~ ../src/menu.c:1540:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1540 | save = choices_find_xdg_path_save("", "Templates", SITE, TRUE); | ^ ../src/menu.c:1542:9: warning: pointer targets in passing argument 1 of 'mkdir' differ in signedness [-Wpointer-sign] 1542 | mkdir(save, 0777); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/my_vfs.h:47, from ./config.h:49, from ../src/menu.c:26: /usr/include/sys/stat.h:317:31: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 317 | extern int mkdir (const char *__path, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ ../src/menu.c:1558:17: warning: pointer targets in passing argument 1 of 'filer_opendir' differ in signedness [-Wpointer-sign] 1558 | filer_opendir(save, NULL, NULL); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/menu.c:44: ../src/filer.h:129:40: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 129 | FilerWindow *filer_opendir(const char *path, FilerWindow *src_win, const gchar *wm_class); | ~~~~~~~~~~~~^~~~ ../src/menu.c: In function 'add_sendto': ../src/menu.c:1585:33: warning: pointer targets in passing argument 2 of 'menu_from_dir' differ in signedness [-Wpointer-sign] 1585 | widgets = menu_from_dir(menu, dir, get_menu_icon_style(), | ^~~ | | | guchar * {aka unsigned char *} ../src/menu.c:479:59: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 479 | static GList *menu_from_dir(GtkWidget *menu, const gchar *dir_name, | ~~~~~~~~~~~~~^~~~~~~~ ../src/menu.c: In function 'show_send_to_menu': ../src/menu.c:1613:22: warning: pointer targets in passing argument 1 of 'diritem_new' differ in signedness [-Wpointer-sign] 1613 | item = diritem_new(""); | ^~ | | | char * In file included from ../src/menu.c:58: ../src/diritem.h:51:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 51 | DirItem *diritem_new(const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/menu.c:1631:22: warning: pointer targets in passing argument 1 of 'diritem_new' differ in signedness [-Wpointer-sign] 1631 | item = diritem_new(""); | ^~ | | | char * In file included from ../src/menu.c:58: ../src/diritem.h:51:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 51 | DirItem *diritem_new(const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/menu.c: In function 'xterm_here': ../src/menu.c:1703:10: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 1703 | argv[2] = o_menu_xterm.value; | ^ ../src/menu.c: In function 'menu_rox_help': ../src/menu.c:1827:15: warning: pointer targets in passing argument 1 of 'run_by_path' differ in signedness [-Wpointer-sign] 1827 | run_by_path(manual); | ^~~~~~ | | | gchar * {aka char *} In file included from ../src/menu.c:42: ../src/run.h:14:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 14 | gboolean run_by_path(const guchar *full_path); | ~~~~~~~~~~~~~~^~~~~~~~~ ../src/menu.c: In function 'file_op': ../src/menu.c:2022:25: warning: pointer targets in passing argument 1 of 'src_dest_action_item' differ in signedness [-Wpointer-sign] 2022 | src_dest_action_item(path, di_image(item), | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/menu.c:1201:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 1201 | static void src_dest_action_item(const gchar *path, MaskedPixmap *image, | ~~~~~~~~~~~~~^~~~ ../src/menu.c:2027:25: warning: pointer targets in passing argument 1 of 'src_dest_action_item' differ in signedness [-Wpointer-sign] 2027 | src_dest_action_item(path, di_image(item), | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/menu.c:1201:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 1201 | static void src_dest_action_item(const gchar *path, MaskedPixmap *image, | ~~~~~~~~~~~~~^~~~ ../src/menu.c:2032:25: warning: pointer targets in passing argument 1 of 'src_dest_action_item' differ in signedness [-Wpointer-sign] 2032 | src_dest_action_item(path, di_image(item), | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/menu.c:1201:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 1201 | static void src_dest_action_item(const gchar *path, MaskedPixmap *image, | ~~~~~~~~~~~~~^~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o minibuffer.o ../src/minibuffer.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/minibuffer.c:34: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/minibuffer.c:34: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/minibuffer.c:34: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/minibuffer.c:34: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/minibuffer.c: In function 'minibuffer_show': ../src/minibuffer.c:144:5: warning: pointer targets in passing argument 2 of 'gtk_entry_set_text' differ in signedness [-Wpointer-sign] 144 | make_path(filer_window->sym_path, "")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtktreeview.h:31, from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29, from /usr/include/gtk-2.0/gtk/gtk.h:72, from ../src/minibuffer.c:34: /usr/include/gtk-2.0/gtk/gtkentry.h:214:65: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 214 | const gchar *text); | ~~~~~~~~~~~~~~~^~~~ ../src/minibuffer.c:181:32: warning: pointer targets in passing argument 1 of 'shell_escape' differ in signedness [-Wpointer-sign] 181 | escaped = shell_escape(item->leafname); | ~~~~^~~~~~~~~~ | | | char * In file included from ../src/minibuffer.c:42: ../src/support.h:35:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 35 | guchar *shell_escape(const guchar *word); | ~~~~~~~~~~~~~~^~~~ ../src/minibuffer.c:182:9: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 182 | tmp = g_strconcat(" ", escaped, NULL); | ^ ../src/minibuffer.c:184:30: warning: pointer targets in passing argument 2 of 'gtk_entry_set_text' differ in signedness [-Wpointer-sign] 184 | gtk_entry_set_text(mini, tmp); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtktreeview.h:31, from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29, from /usr/include/gtk-2.0/gtk/gtk.h:72, from ../src/minibuffer.c:34: /usr/include/gtk-2.0/gtk/gtkentry.h:214:65: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 214 | const gchar *text); | ~~~~~~~~~~~~~~~^~~~ ../src/minibuffer.c: In function 'minibuffer_add': ../src/minibuffer.c:240:21: warning: pointer targets in passing argument 1 of 'shell_escape' differ in signedness [-Wpointer-sign] 240 | esc = shell_escape(leafname); | ^~~~~~~~ | | | const gchar * {aka const char *} In file included from ../src/minibuffer.c:42: ../src/support.h:35:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 35 | guchar *shell_escape(const guchar *word); | ~~~~~~~~~~~~~~^~~~ ../src/minibuffer.c:248:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 248 | gtk_editable_insert_text(edit, esc, strlen(esc), &pos); | ^~~ | | | guchar * {aka unsigned char *} In file included from ../src/minibuffer.c:25: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../src/minibuffer.c:248:33: warning: pointer targets in passing argument 2 of 'gtk_editable_insert_text' differ in signedness [-Wpointer-sign] 248 | gtk_editable_insert_text(edit, esc, strlen(esc), &pos); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtkentry.h:39, from /usr/include/gtk-2.0/gtk/gtktreeview.h:31, from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29, from /usr/include/gtk-2.0/gtk/gtk.h:72, from ../src/minibuffer.c:34: /usr/include/gtk-2.0/gtk/gtkeditable.h:95:23: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 95 | const gchar *new_text, | ~~~~~~~~~~~~~^~~~~~~~ ../src/minibuffer.c: In function 'path_return_pressed': ../src/minibuffer.c:309:2: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 309 | pattern = g_basename(path); | ^~~~~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/minibuffer.c:34: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/minibuffer.c: In function 'complete': ../src/minibuffer.c:435:20: warning: pointer targets in passing argument 1 of 'make_path' differ in signedness [-Wpointer-sign] 435 | new = make_path(new, ""); | ^~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/minibuffer.c:42: ../src/support.h:18:37: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 18 | const guchar *make_path(const char *dir, const char *leaf); | ~~~~~~~~~~~~^~~ ../src/minibuffer.c:437:29: warning: pointer targets in passing argument 2 of 'gtk_entry_set_text' differ in signedness [-Wpointer-sign] 437 | gtk_entry_set_text(entry, new); | ^~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtktreeview.h:31, from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29, from /usr/include/gtk-2.0/gtk/gtk.h:72, from ../src/minibuffer.c:34: /usr/include/gtk-2.0/gtk/gtkentry.h:214:65: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 214 | const gchar *text); | ~~~~~~~~~~~~~~~^~~~ ../src/minibuffer.c: In function 'path_changed': ../src/minibuffer.c:504:2: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 504 | leaf = g_basename(new); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/minibuffer.c:34: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/minibuffer.c: In function 'search_in_dir': ../src/minibuffer.c:626:2: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 626 | pattern = g_basename(path); | ^~~~~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/minibuffer.c:34: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/minibuffer.c: In function 'add_to_history': ../src/minibuffer.c:643:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 643 | if (last && strcmp(last, line) == 0) | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/minibuffer.c:25: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/minibuffer.c: In function 'best_match': ../src/minibuffer.c:671:15: warning: pointer targets in initialization of 'guchar *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 671 | guchar *m = matches->gl_pathv[i]; | ^~~~~~~ ../src/minibuffer.c:682:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 682 | path = g_strndup(first + path_len + 1, longest - path_len - 1); | ^ ../src/minibuffer.c:685:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 685 | path = g_strndup(first, longest); | ^ ../src/minibuffer.c:690:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 690 | if (matches->gl_pathc == 1 && tmp[strlen(tmp) - 1] != '/') | ^~~ | | | guchar * {aka unsigned char *} In file included from ../src/minibuffer.c:25: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../src/minibuffer.c:692:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 692 | path = g_strdup_printf("%s ", tmp); | ^ ../src/minibuffer.c: In function 'shell_tab': ../src/minibuffer.c:771:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 771 | gtk_editable_insert_text(edit, best, strlen(best), | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/minibuffer.c:25: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../src/minibuffer.c:771:35: warning: pointer targets in passing argument 2 of 'gtk_editable_insert_text' differ in signedness [-Wpointer-sign] 771 | gtk_editable_insert_text(edit, best, strlen(best), | ^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtkentry.h:39, from /usr/include/gtk-2.0/gtk/gtktreeview.h:31, from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29, from /usr/include/gtk-2.0/gtk/gtk.h:72, from ../src/minibuffer.c:34: /usr/include/gtk-2.0/gtk/gtkeditable.h:95:23: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 95 | const gchar *new_text, | ~~~~~~~~~~~~~^~~~~~~~ ../src/minibuffer.c: In function 'shell_recall': ../src/minibuffer.c:860:11: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 860 | command = ""; | ^ ../src/minibuffer.c:866:58: warning: pointer targets in passing argument 2 of 'gtk_entry_set_text' differ in signedness [-Wpointer-sign] 866 | gtk_entry_set_text(GTK_ENTRY(filer_window->minibuffer), command); | ^~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtktreeview.h:31, from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29, from /usr/include/gtk-2.0/gtk/gtk.h:72, from ../src/minibuffer.c:34: /usr/include/gtk-2.0/gtk/gtkentry.h:214:65: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 214 | const gchar *text); | ~~~~~~~~~~~~~~~^~~~ ../src/minibuffer.c: In function 'select_if_test': ../src/minibuffer.c:885:18: warning: pointer targets in assignment from 'char *' to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 885 | data->info.leaf = item->leafname; | ^ ../src/minibuffer.c:887:16: warning: pointer targets in passing argument 2 of 'make_path' differ in signedness [-Wpointer-sign] 887 | data->info.leaf); | ~~~~~~~~~~^~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/minibuffer.c:42: ../src/support.h:18:54: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 18 | const guchar *make_path(const char *dir, const char *leaf); | ~~~~~~~~~~~~^~~~ In file included from ./config.h:49, from ../src/minibuffer.c:22: ../src/minibuffer.c:889:28: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] 889 | return mc_lstat(data->info.fullpath, &data->info.stats) == 0 && | ~~~~~~~~~~^~~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/my_vfs.h:58:32: note: in definition of macro 'mc_lstat' 58 | # define mc_lstat(x, y) lstat(x, y) | ^ In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/minibuffer.c:22: /usr/include/sys/stat.h:460:1: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 460 | __NTH (lstat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../src/minibuffer.c: In function 'changed': ../src/minibuffer.c:1083:5: warning: pointer targets in passing argument 2 of 'set_find_string_colour' differ in signedness [-Wpointer-sign] 1083 | gtk_entry_get_text( | ^~~~~~~~~~~~~~~~~~~ | | | const gchar * {aka const char *} 1084 | GTK_ENTRY(filer_window->minibuffer))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/minibuffer.c:47: ../src/action.h:24:62: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 24 | void set_find_string_colour(GtkWidget *widget, const guchar *string); | ~~~~~~~~~~~~~~^~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o modechange.o ../src/modechange.c gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o mount.o ../src/mount.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/mount.c:53: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/mount.c:53: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/mount.c:53: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/mount.c:53: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/mount.c: In function 'mount_user_mount': ../src/mount.c:130:23: warning: pointer targets in passing argument 1 of 'mount_is_mounted' differ in signedness [-Wpointer-sign] 130 | if (mount_is_mounted(path, NULL, NULL)) | ^~~~ | | | const char * In file included from ../src/mount.c:57: ../src/mount.h:29:41: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 29 | gboolean mount_is_mounted(const guchar *path, struct stat *info, | ~~~~~~~~~~~~~~^~~~ ../src/mount.c: In function 'mount_is_mounted': ../src/mount.c:152:12: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 152 | if (stat(path, &info_path)) | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/mount.c:22: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../src/mount.c:160:21: warning: pointer targets in passing argument 1 of 'g_strconcat' differ in signedness [-Wpointer-sign] 160 | tmp = g_strconcat(path, "/..", NULL); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/mount.c:53: /usr/include/glib-2.0/glib/gstrfuncs.h:231:53: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 231 | gchar* g_strconcat (const gchar *string1, | ~~~~~~~~~~~~~^~~~~~~ ../src/mount.c:160:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 160 | tmp = g_strconcat(path, "/..", NULL); | ^ ../src/mount.c:161:12: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 161 | if (stat(tmp, &info_parent)) | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/mount.c:22: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o options.o ../src/options.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/options.c:75: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/options.c:75: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/options.c:75: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/options.c:75: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/options.c: In function 'option_check_widget': ../src/options.c:241:37: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 241 | option->has_changed = strcmp(option->value, new) != 0; | ~~~~~~^~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/options.c:72: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c:241:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 241 | option->has_changed = strcmp(option->value, new) != 0; | ^~~ | | | guchar * {aka unsigned char *} In file included from ../src/options.c:72: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c:251:27: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 251 | option->int_value = atoi(new); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/options.c:68: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/options.c: In function 'store_backup': ../src/options.c:290:34: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 290 | option->backup = g_strdup(option->value); | ~~~~~~^~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/options.c:75: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/options.c:290:17: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 290 | option->backup = g_strdup(option->value); | ^ ../src/options.c: In function 'option_add_int': ../src/options.c:329:16: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 329 | option->value = g_strdup_printf("%d", value); | ^ ../src/options.c: In function 'option_add_string': ../src/options.c:336:16: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 336 | option->value = g_strdup(value); | ^ ../src/options.c: In function 'build_numentry_base': ../src/options.c:370:24: warning: pointer targets in passing argument 2 of 'get_int' differ in signedness [-Wpointer-sign] 370 | width = get_int(node, "width"); | ^~~~~~~ | | | char * ../src/options.c:135:43: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'char *' 135 | static int get_int(xmlNode *node, guchar *attr); | ~~~~~~~~^~~~ ../src/options.c:371:26: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 371 | unit = xmlGetProp(node, "unit"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c:377:31: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 377 | label_wid = gtk_label_new(_(label)); | ^~~~~ | | | guchar * {aka unsigned char *} ../src/options.c:377:29: note: in expansion of macro '_' 377 | label_wid = gtk_label_new(_(label)); | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c:391:53: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 391 | gtk_box_pack_start(GTK_BOX(hbox), gtk_label_new(_(unit)), | ^~~~ | | | guchar * {aka unsigned char *} ../src/options.c:391:51: note: in expansion of macro '_' 391 | gtk_box_pack_start(GTK_BOX(hbox), gtk_label_new(_(unit)), | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ ../src/options.c: In function 'option_add': ../src/options.c:439:38: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 439 | option->has_changed = strcmp(option->value, value) != 0; | ~~~~~~^~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/options.c:72: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c: In function 'open_fontsel': ../src/options.c:556:13: warning: pointer targets in passing argument 2 of 'gtk_font_selection_dialog_set_font_name' differ in signedness [-Wpointer-sign] 556 | option->value); | ~~~~~~^~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtk.h:94, from ../src/options.c:75: /usr/include/gtk-2.0/gtk/gtkfontsel.h:204:77: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 204 | const gchar *fontname); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/options.c:75: ../src/options.c: In function 'may_add_tip': ../src/options.c:577:28: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 577 | tip = g_strstrip(g_strdup(data)); | ^~~~ | | | guchar * {aka unsigned char *} /usr/include/glib-2.0/glib/gstrfuncs.h:181:53: note: in definition of macro 'g_strstrip' 181 | #define g_strstrip( string ) g_strchomp (g_strchug (string)) | ^~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/options.c:577:6: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 577 | tip = g_strstrip(g_strdup(data)); | ^ ../src/options.c:580:24: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 580 | OPTION_TIP(widget, _(tip)); | ^~~ | | | guchar * {aka unsigned char *} ../src/options.c:89:48: note: in definition of macro 'OPTION_TIP' 89 | gtk_tooltips_set_tip(option_tooltips, widget, tip, NULL) | ^~~ ../src/options.c:580:22: note: in expansion of macro '_' 580 | OPTION_TIP(widget, _(tip)); | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ ../src/options.c: In function 'get_int': ../src/options.c:594:16: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 594 | retval = atoi(txt); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/options.c:68: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/options.c: In function 'add_to_size_group': ../src/options.c:615:26: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 615 | name = xmlGetProp(node, "sizegroup"); | ^~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/options.c: In function 'build_radio': ../src/options.c:646:28: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 646 | label = xmlGetProp(radio, "label"); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c:651:6: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 651 | _(label)); | ^~~~~ | | | guchar * {aka unsigned char *} ../src/options.c:651:4: note: in expansion of macro '_' 651 | _(label)); | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ ../src/options.c:657:24: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 657 | xmlGetProp(radio, "value")); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/options.c:75: ../src/options.c: In function 'build_menu_item': ../src/options.c:667:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 667 | g_return_if_fail(strcmp(node->name, "item") == 0); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/glib-2.0/glib/gmacros.h:930:8: note: in definition of macro '_G_BOOLEAN_EXPR' 930 | if (expr) \ | ^~~~ /usr/include/glib-2.0/glib/gmessages.h:624:9: note: in expansion of macro 'G_LIKELY' 624 | if (G_LIKELY (expr)) \ | ^~~~~~~~ ../src/options.c:667:2: note: in expansion of macro 'g_return_if_fail' 667 | g_return_if_fail(strcmp(node->name, "item") == 0); | ^~~~~~~~~~~~~~~~ In file included from ../src/options.c:72: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c:669:27: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 669 | label = xmlGetProp(node, "label"); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c:670:40: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 670 | item = gtk_menu_item_new_with_label(_(label)); | ^~~~~ | | | guchar * {aka unsigned char *} ../src/options.c:670:38: note: in expansion of macro '_' 670 | item = gtk_menu_item_new_with_label(_(label)); | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ ../src/options.c:676:62: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 676 | g_object_set_data(G_OBJECT(item), "value", xmlGetProp(node, "value")); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/options.c: In function 'build_widget': ../src/options.c:681:21: warning: pointer targets in initialization of 'const char *' from 'const xmlChar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 681 | const char *name = widget->name; | ^~~~~~ ../src/options.c:687:29: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 687 | label = xmlGetProp(widget, "label"); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c:701:21: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 701 | gtk_label_new(_(label)), FALSE, TRUE, 4); | ^~~~~ | | | guchar * {aka unsigned char *} ../src/options.c:701:19: note: in expansion of macro '_' 701 | gtk_label_new(_(label)), FALSE, TRUE, 4); | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ ../src/options.c:714:29: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 714 | oname = xmlGetProp(widget, "name"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/options.c: In function 'build_section': ../src/options.c:763:30: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 763 | title = xmlGetProp(section, "title"); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c:769:45: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 769 | gtk_tree_store_set(tree_store, &iter, 0, _(title), 1, page, -1); | ^~~~~ | | | guchar * {aka unsigned char *} ../src/options.c:769:43: note: in expansion of macro '_' 769 | gtk_tree_store_set(tree_store, &iter, 0, _(title), 1, page, -1); | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ ../src/options.c:777:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 777 | if (strcmp(widget->name, "section") == 0) | ~~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/options.c:72: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c: In function 'build_options_window': ../src/options.c:813:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 813 | if (strcmp(options->name, "options") == 0) | ~~~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/options.c:72: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c: In function 'radio_group_set_value': ../src/options.c:1011:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1011 | if (strcmp(val, value) == 0) | ^~~ | | | guchar * {aka unsigned char *} In file included from ../src/options.c:72: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c:1011:19: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1011 | if (strcmp(val, value) == 0) | ^~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/options.c:72: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c: In function 'radio_group_get_value': ../src/options.c:1039:20: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 1039 | return g_strdup(val); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/options.c:75: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/options.c:1039:11: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1039 | return g_strdup(val); | ^~~~~~~~~~~~~ ../src/options.c: In function 'option_menu_set': ../src/options.c:1064:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1064 | if (strcmp(data, value) == 0) | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/options.c:72: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c:1064:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1064 | if (strcmp(data, value) == 0) | ^~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/options.c:72: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c: In function 'restore_backup': ../src/options.c:1093:37: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1093 | option->has_changed = strcmp(option->value, option->backup) != 0; | ~~~~~~^~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/options.c:72: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c:1093:52: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1093 | option->has_changed = strcmp(option->value, option->backup) != 0; | ~~~~~~^~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/options.c:72: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c:1098:33: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 1098 | option->value = g_strdup(option->backup); | ~~~~~~^~~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/options.c:75: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/options.c:1098:16: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1098 | option->value = g_strdup(option->backup); | ^ ../src/options.c:1099:33: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 1099 | option->int_value = atoi(option->value); | ~~~~~~^~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/options.c:68: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../src/options.c: In function 'check_changed_cb': ../src/options.c:1119:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1119 | if (strcmp(option->value, option->backup) != 0) | ~~~~~~^~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/options.c:72: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c:1119:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1119 | if (strcmp(option->value, option->backup) != 0) | ~~~~~~^~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/options.c:72: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c: In function 'write_option': ../src/options.c:1138:36: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1138 | tree = xmlNewTextChild(doc, NULL, "Option", option->value); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/options.c:1139:19: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1139 | xmlSetProp(tree, "name", (gchar *) key); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/options.c:1139:27: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1139 | xmlSetProp(tree, "name", (gchar *) key); | ^~~~~~~~~~~~~ | | | gchar * {aka char *} In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/options.c: In function 'save_options': ../src/options.c:1148:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1148 | save = choices_find_xdg_path_save("Options", PROJECT, SITE, TRUE); | ^ ../src/options.c:1152:25: warning: pointer targets in passing argument 1 of 'g_strconcat' differ in signedness [-Wpointer-sign] 1152 | save_new = g_strconcat(save, ".new", NULL); | ^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/options.c:75: /usr/include/glib-2.0/glib/gstrfuncs.h:231:53: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 231 | gchar* g_strconcat (const gchar *string1, | ~~~~~~~~~~~~~^~~~~~~ ../src/options.c:1152:11: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1152 | save_new = g_strconcat(save, ".new", NULL); | ^ ../src/options.c:1154:18: warning: pointer targets in passing argument 1 of 'xmlNewDoc' differ in signedness [-Wpointer-sign] 1154 | doc = xmlNewDoc("1.0"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:780:30: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 780 | xmlNewDoc (const xmlChar *version); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/options.c:1155:53: warning: pointer targets in passing argument 3 of 'xmlNewDocNode' differ in signedness [-Wpointer-sign] 1155 | xmlDocSetRootElement(doc, xmlNewDocNode(doc, NULL, "Options", NULL)); | ^~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:829:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/options.c:1160:25: warning: pointer targets in passing argument 2 of 'save_xml_file' differ in signedness [-Wpointer-sign] 1160 | if (save_xml_file(doc, save_new) || rename(save_new, save)) | ^~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/options.c:84: ../src/support.h:15:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 15 | int save_xml_file(xmlDocPtr doc, const gchar *filename); | ~~~~~~~~~~~~~^~~~~~~~ ../src/options.c:1160:45: warning: pointer targets in passing argument 1 of 'rename' differ in signedness [-Wpointer-sign] 1160 | if (save_xml_file(doc, save_new) || rename(save_new, save)) | ^~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/options.c:70: /usr/include/stdio.h:148:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 148 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ ../src/options.c:1160:55: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign] 1160 | if (save_xml_file(doc, save_new) || rename(save_new, save)) | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/options.c:70: /usr/include/stdio.h:148:51: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 148 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ ../src/options.c: In function 'update_entry': ../src/options.c:1215:54: warning: pointer targets in passing argument 2 of 'gtk_entry_set_text' differ in signedness [-Wpointer-sign] 1215 | gtk_entry_set_text(GTK_ENTRY(option->widget), option->value); | ~~~~~~^~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtktreeview.h:31, from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29, from /usr/include/gtk-2.0/gtk/gtk.h:72, from ../src/options.c:75: /usr/include/gtk-2.0/gtk/gtkentry.h:214:65: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 214 | const gchar *text); | ~~~~~~~~~~~~~~~^~~~ ../src/options.c: In function 'update_font': ../src/options.c:1256:10: warning: pointer targets in passing argument 2 of 'gtk_label_set_text' differ in signedness [-Wpointer-sign] 1256 | : (guchar *) _("(use default)")); In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38, from /usr/include/gtk-2.0/gtk/gtk.h:35, from ../src/options.c:75: /usr/include/gtk-2.0/gtk/gtklabel.h:113:25: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 113 | const gchar *str); | ~~~~~~~~~~~~~~~^~~ ../src/options.c: In function 'update_colour': ../src/options.c:1263:24: warning: pointer targets in passing argument 1 of 'gdk_color_parse' differ in signedness [-Wpointer-sign] 1263 | gdk_color_parse(option->value, &colour); | ~~~~~~^~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gdk/gdkevents.h:34, from /usr/include/gtk-2.0/gdk/gdkdisplay.h:32, from /usr/include/gtk-2.0/gdk/gdkscreen.h:33, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/options.c:75: /usr/include/gtk-2.0/gdk/gdkcolor.h:136:48: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 136 | gboolean gdk_color_parse (const gchar *spec, | ~~~~~~~~~~~~~~~~^~~~ ../src/options.c: In function 'read_toggle': ../src/options.c:1275:9: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1275 | return g_strdup_printf("%d", gtk_toggle_button_get_active(toggle)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c: In function 'read_entry': ../src/options.c:1280:9: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1280 | return gtk_editable_get_chars(GTK_EDITABLE(option->widget), 0, -1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c: In function 'read_numentry': ../src/options.c:1285:9: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1285 | return g_strdup_printf("%d", (int) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 1286 | gtk_spin_button_get_value(GTK_SPIN_BUTTON(option->widget))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c: In function 'read_slider': ../src/options.c:1291:9: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1291 | return g_strdup_printf("%d", (int) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 1292 | gtk_range_get_adjustment(GTK_RANGE(option->widget))->value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c: In function 'read_menu': ../src/options.c:1302:18: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 1302 | return g_strdup(option_menu_get(GTK_OPTION_MENU(option->widget))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/options.c:75: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/options.c:1302:9: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1302 | return g_strdup(option_menu_get(GTK_OPTION_MENU(option->widget))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c: In function 'read_font': ../src/options.c:1311:10: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1311 | return g_strdup(""); | ^~~~~~~~~~~~ ../src/options.c:1313:9: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1313 | return g_strdup(gtk_label_get_text(GTK_LABEL(option->widget))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/options.c: In function 'read_colour': ../src/options.c:1320:9: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1320 | return g_strdup_printf("#%04x%04x%04x", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1321 | style->bg[GTK_STATE_NORMAL].red, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1322 | style->bg[GTK_STATE_NORMAL].green, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1323 | style->bg[GTK_STATE_NORMAL].blue); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c: In function 'build_label': ../src/options.c:1345:27: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 1345 | widget = gtk_label_new(_(text)); | ^~~~ | | | guchar * {aka unsigned char *} ../src/options.c:1345:25: note: in expansion of macro '_' 1345 | widget = gtk_label_new(_(text)); | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ ../src/options.c:1348:23: warning: pointer targets in passing argument 2 of 'get_int' differ in signedness [-Wpointer-sign] 1348 | help = get_int(node, "help"); | ^~~~~~ | | | char * ../src/options.c:585:43: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'char *' 585 | static int get_int(xmlNode *node, guchar *attr) | ~~~~~~~~^~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c: In function 'build_frame': ../src/options.c:1399:26: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 1399 | frame = gtk_frame_new(_(label)); | ^~~~~ | | | guchar * {aka unsigned char *} ../src/options.c:1399:24: note: in expansion of macro '_' 1399 | frame = gtk_frame_new(_(label)); | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c: In function 'build_toggle': ../src/options.c:1433:45: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 1433 | toggle = gtk_check_button_new_with_label(_(label)); | ^~~~~ | | | guchar * {aka unsigned char *} ../src/options.c:1433:43: note: in expansion of macro '_' 1433 | toggle = gtk_check_button_new_with_label(_(label)); | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ ../src/options.c: In function 'build_slider': ../src/options.c:1458:22: warning: pointer targets in passing argument 2 of 'get_int' differ in signedness [-Wpointer-sign] 1458 | min = get_int(node, "min"); | ^~~~~ | | | char * ../src/options.c:585:43: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'char *' 585 | static int get_int(xmlNode *node, guchar *attr) | ~~~~~~~~^~~~ ../src/options.c:1459:22: warning: pointer targets in passing argument 2 of 'get_int' differ in signedness [-Wpointer-sign] 1459 | max = get_int(node, "max"); | ^~~~~ | | | char * ../src/options.c:585:43: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'char *' 585 | static int get_int(xmlNode *node, guchar *attr) | ~~~~~~~~^~~~ ../src/options.c:1460:24: warning: pointer targets in passing argument 2 of 'get_int' differ in signedness [-Wpointer-sign] 1460 | fixed = get_int(node, "fixed"); | ^~~~~~~ | | | char * ../src/options.c:585:43: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'char *' 585 | static int get_int(xmlNode *node, guchar *attr) | ~~~~~~~~^~~~ ../src/options.c:1461:28: warning: pointer targets in passing argument 2 of 'get_int' differ in signedness [-Wpointer-sign] 1461 | showvalue = get_int(node, "showvalue"); | ^~~~~~~~~~~ | | | char * ../src/options.c:585:43: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'char *' 585 | static int get_int(xmlNode *node, guchar *attr) | ~~~~~~~~^~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c:1470:31: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 1470 | label_wid = gtk_label_new(_(label)); | ^~~~~ | | | guchar * {aka unsigned char *} ../src/options.c:1470:29: note: in expansion of macro '_' 1470 | label_wid = gtk_label_new(_(label)); | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ ../src/options.c:1476:25: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 1476 | end = xmlGetProp(node, "end"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c:1479:51: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 1479 | gtk_box_pack_end(GTK_BOX(hbox), gtk_label_new(_(end)), | ^~~ | | | guchar * {aka unsigned char *} ../src/options.c:1479:49: note: in expansion of macro '_' 1479 | gtk_box_pack_end(GTK_BOX(hbox), gtk_label_new(_(end)), | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c: In function 'build_entry': ../src/options.c:1525:31: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 1525 | label_wid = gtk_label_new(_(label)); | ^~~~~ | | | guchar * {aka unsigned char *} ../src/options.c:1525:29: note: in expansion of macro '_' 1525 | label_wid = gtk_label_new(_(label)); | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ ../src/options.c: In function 'build_numentry': ../src/options.c:1553:22: warning: pointer targets in passing argument 2 of 'get_int' differ in signedness [-Wpointer-sign] 1553 | min = get_int(node, "min"); | ^~~~~ | | | char * ../src/options.c:585:43: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'char *' 585 | static int get_int(xmlNode *node, guchar *attr) | ~~~~~~~~^~~~ ../src/options.c:1554:22: warning: pointer targets in passing argument 2 of 'get_int' differ in signedness [-Wpointer-sign] 1554 | max = get_int(node, "max"); | ^~~~~ | | | char * ../src/options.c:585:43: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'char *' 585 | static int get_int(xmlNode *node, guchar *attr) | ~~~~~~~~^~~~ In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/options.c:75: ../src/options.c:1555:30: warning: pointer targets in passing argument 2 of 'get_int' differ in signedness [-Wpointer-sign] 1555 | step = MAX(1, get_int(node, "step")); | ^~~~~~ | | | char * /usr/include/glib-2.0/glib/gmacros.h:804:29: note: in definition of macro 'MAX' 804 | #define MAX(a, b) (((a) > (b)) ? (a) : (b)) | ^ ../src/options.c:585:43: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'char *' 585 | static int get_int(xmlNode *node, guchar *attr) | ~~~~~~~~^~~~ In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/options.c:75: ../src/options.c:1555:30: warning: pointer targets in passing argument 2 of 'get_int' differ in signedness [-Wpointer-sign] 1555 | step = MAX(1, get_int(node, "step")); | ^~~~~~ | | | char * /usr/include/glib-2.0/glib/gmacros.h:804:42: note: in definition of macro 'MAX' 804 | #define MAX(a, b) (((a) > (b)) ? (a) : (b)) | ^ ../src/options.c:585:43: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'char *' 585 | static int get_int(xmlNode *node, guchar *attr) | ~~~~~~~~^~~~ ../src/options.c: In function 'build_radio_group': ../src/options.c:1586:23: warning: pointer targets in passing argument 2 of 'get_int' differ in signedness [-Wpointer-sign] 1586 | cols = get_int(node, "columns"); | ^~~~~~~~~ | | | char * ../src/options.c:585:43: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'char *' 585 | static int get_int(xmlNode *node, guchar *attr) | ~~~~~~~~^~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c: In function 'build_colour': ../src/options.c:1629:31: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 1629 | label_wid = gtk_label_new(_(label)); | ^~~~~ | | | guchar * {aka unsigned char *} ../src/options.c:1629:29: note: in expansion of macro '_' 1629 | label_wid = gtk_label_new(_(label)); | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c: In function 'build_menu': ../src/options.c:1660:30: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 1660 | label_wid = gtk_label_new(_(label)); | ^~~~~ | | | guchar * {aka unsigned char *} ../src/options.c:1660:28: note: in expansion of macro '_' 1660 | label_wid = gtk_label_new(_(label)); | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ ../src/options.c: In function 'build_font': ../src/options.c:1698:27: warning: pointer targets in passing argument 2 of 'get_int' differ in signedness [-Wpointer-sign] 1698 | override = get_int(node, "override"); | ^~~~~~~~~~ | | | char * ../src/options.c:585:43: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'char *' 585 | static int get_int(xmlNode *node, guchar *attr) | ~~~~~~~~^~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c:1707:46: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 1707 | active = gtk_check_button_new_with_label(_(label)); | ^~~~~ | | | guchar * {aka unsigned char *} ../src/options.c:1707:44: note: in expansion of macro '_' 1707 | active = gtk_check_button_new_with_label(_(label)); | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ In file included from ./config.h:52, from ../src/options.c:68: ../src/options.c:1713:53: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 1713 | gtk_box_pack_start(GTK_BOX(hbox), gtk_label_new(_(label)), | ^~~~~ | | | guchar * {aka unsigned char *} ../src/options.c:1713:51: note: in expansion of macro '_' 1713 | gtk_box_pack_start(GTK_BOX(hbox), gtk_label_new(_(label)), | ^ In file included from ./config.h:52, from ../src/options.c:68: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/options.c:75: ../src/options.c: In function 'load_options': ../src/options.c:1755:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1755 | g_return_if_fail(strcmp(root->name, "Options") == 0); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/glib-2.0/glib/gmacros.h:930:8: note: in definition of macro '_G_BOOLEAN_EXPR' 930 | if (expr) \ | ^~~~ /usr/include/glib-2.0/glib/gmessages.h:624:9: note: in expansion of macro 'G_LIKELY' 624 | if (G_LIKELY (expr)) \ | ^~~~~~~~ ../src/options.c:1755:2: note: in expansion of macro 'g_return_if_fail' 1755 | g_return_if_fail(strcmp(root->name, "Options") == 0); | ^~~~~~~~~~~~~~~~ In file included from ../src/options.c:72: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c:1763:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1763 | if (strcmp(node->name, "Option") != 0) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/options.c:72: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/options.c:1765:27: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 1765 | name = xmlGetProp(node, "name"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/options.c:76: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/options.c:1765:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 1765 | name = xmlGetProp(node, "name"); | ^ ../src/options.c:1769:9: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 1769 | value = xmlNodeGetContent(node); | ^ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o panel.o ../src/panel.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/panel.c:32: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/panel.c:32: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/panel.c:32: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/panel.c:32: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/panel.c: In function 'get_int_prop': ../src/panel.c:272:32: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 272 | char *prop = xmlGetProp(node, name); | ^~~~ | | | const char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:272:15: warning: pointer targets in initialization of 'char *' from 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 272 | char *prop = xmlGetProp(node, name); | ^~~~~~~~~~ ../src/panel.c: In function 'set_int_prop': ../src/panel.c:288:19: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 288 | xmlSetProp(node, name, prop); | ^~~~ | | | const char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:288:25: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 288 | xmlSetProp(node, name, prop); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/panel.c: In function 'panel_new': ../src/panel.c:354:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 354 | load_path = g_strdup(name); | ^ ../src/panel.c:359:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 359 | leaf = g_strconcat("pan_", name, NULL); | ^ ../src/panel.c:360:42: warning: pointer targets in passing argument 1 of 'choices_find_xdg_path_load' differ in signedness [-Wpointer-sign] 360 | load_path = choices_find_xdg_path_load(leaf, PROJECT, SITE); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/panel.c:39: ../src/choices.h:12:49: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 12 | gchar *choices_find_xdg_path_load(const char *leaf, const char *dir, | ~~~~~~~~~~~~^~~~ ../src/panel.c:360:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 360 | load_path = choices_find_xdg_path_load(leaf, PROJECT, SITE); | ^ ../src/panel.c:364:26: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 364 | if (load_path && access(load_path, F_OK) == 0) | ^~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/my_vfs.h:48, from ./config.h:49, from ../src/panel.c:22: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../src/panel.c:369:28: warning: pointer targets in passing argument 1 of 'xmlParseFile' differ in signedness [-Wpointer-sign] 369 | panel_doc = xmlParseFile(load_path); | ^~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/panel.c:30: /usr/include/libxml2/libxml/parser.h:844:30: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 844 | xmlParseFile (const char *filename); | ~~~~~~~~~~~~^~~~~~~~ ../src/panel.c:372:33: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 372 | saved_side = xmlGetProp(root, "side"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:372:14: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 372 | saved_side = xmlGetProp(root, "side"); | ^ ../src/panel.c:409:14: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 409 | panel->name = g_strdup(name); | ^ ../src/panel.c:531:14: warning: pointer targets in passing argument 1 of 'parse_file' differ in signedness [-Wpointer-sign] 531 | parse_file(load_path, pan_from_file); | ^~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/panel.c:42: ../src/gui_support.h:62:29: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 62 | void parse_file(const char *path, ParseFunc *parse_line); | ~~~~~~~~~~~~^~~~ ../src/panel.c:543:18: warning: pointer targets in passing argument 1 of 'pathdup' differ in signedness [-Wpointer-sign] 543 | apps = pathdup(make_path(app_dir, "..")); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/panel.c:49: ../src/support.h:17:27: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 17 | char *pathdup(const char *path); | ~~~~~~~~~~~~^~~~ ../src/panel.c:543:8: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 543 | apps = pathdup(make_path(app_dir, "..")); | ^ ../src/panel.c:546:26: warning: pointer targets in passing argument 2 of 'panel_add_item' differ in signedness [-Wpointer-sign] 546 | panel_add_item(panel, apps, "Apps", FALSE, NULL, NULL, FALSE); | ^~~~ | | | guchar * {aka unsigned char *} ../src/panel.c:133:20: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 133 | const gchar *path, | ~~~~~~~~~~~~~^~~~ ../src/panel.c: In function 'panel_load_side': ../src/panel.c:689:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 689 | if (strcmp(node->name, "icon") != 0) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/panel.c:26: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/panel.c:692:28: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 692 | label = xmlGetProp(node, "label"); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:692:9: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 692 | label = xmlGetProp(node, "label"); | ^ ../src/panel.c:695:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 695 | path = xmlNodeGetContent(node); | ^ ../src/panel.c:698:31: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 698 | shortcut = xmlGetProp(node, "shortcut"); | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:698:12: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 698 | shortcut = xmlGetProp(node, "shortcut"); | ^ ../src/panel.c:699:27: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 699 | args = xmlGetProp(node, "args"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:699:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 699 | args = xmlGetProp(node, "args"); | ^ ../src/panel.c:700:26: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 700 | tmp = xmlGetProp(node, "locked"); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:700:7: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 700 | tmp = xmlGetProp(node, "locked"); | ^ ../src/panel.c: In function 'panel_icon_set_tip': ../src/panel.c:805:24: warning: pointer targets in passing argument 1 of 'appinfo_get' differ in signedness [-Wpointer-sign] 805 | ai = appinfo_get(icon->path, icon->item); | ~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/panel.c:52: ../src/appinfo.h:13:38: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 13 | XMLwrapper *appinfo_get(const gchar *app_dir, DirItem *item); | ~~~~~~~~~~~~~^~~~~~~ ../src/panel.c:814:47: warning: pointer targets in passing argument 3 of 'gtk_tooltips_set_tip' differ in signedness [-Wpointer-sign] 814 | gtk_tooltips_set_tip(tooltips, pi->widget, str, NULL); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/panel.c:32: /usr/include/gtk-2.0/gtk/gtktooltips.h:96:25: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 96 | const gchar *tip_text, | ~~~~~~~~~~~~~~~^~~~~~~~ ../src/panel.c: In function 'remove_item_from_side': ../src/panel.c:939:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 939 | if ((!path || strcmp(path, icon->src_path) == 0) && | ~~~~^~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/panel.c:26: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/panel.c: In function 'panel_setup_struts': ../src/panel.c:1320:5: warning: pointer targets in passing argument 6 of 'gdk_property_change' differ in signedness [-Wpointer-sign] 1320 | (gchar *) &strut, 4); | ^~~~~~~~~~~~~~~~ | | | gchar * {aka char *} In file included from /usr/include/gtk-2.0/gdk/gdk.h:50, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/panel.c:32: /usr/include/gtk-2.0/gdk/gdkproperty.h:65:25: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 65 | const guchar *data, | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:1326:5: warning: pointer targets in passing argument 6 of 'gdk_property_change' differ in signedness [-Wpointer-sign] 1326 | (gchar *) &strut, 12); | ^~~~~~~~~~~~~~~~ | | | gchar * {aka char *} In file included from /usr/include/gtk-2.0/gdk/gdk.h:50, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/panel.c:32: /usr/include/gtk-2.0/gdk/gdkproperty.h:65:25: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 65 | const guchar *data, | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c: In function 'drag_motion': ../src/panel.c:1414:7: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 1414 | type = dnd_motion_item(context, &item); | ^ ../src/panel.c:1436:15: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 1436 | access(icon->path, W_OK) != 0) | ~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/my_vfs.h:48, from ./config.h:49, from ../src/panel.c:22: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ In file included from /usr/include/glib-2.0/glib.h:42, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/panel.c:32: ../src/panel.c:1446:18: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 1446 | g_strdup(icon->path), g_free); | ~~~~^~~~~~ | | | guchar * {aka unsigned char *} /usr/include/glib-2.0/glib/gdataset.h:140:65: note: in definition of macro 'g_dataset_set_data_full' 140 | g_dataset_id_set_data_full ((l), g_quark_from_string (k), (d), (f)) | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/panel.c:32: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/panel.c: In function 'add_uri_list': ../src/panel.c:1487:41: warning: pointer targets in passing argument 1 of 'uri_list_to_glist' differ in signedness [-Wpointer-sign] 1487 | uris = uri_list_to_glist(selection_data->data); | ~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/panel.c:42: ../src/gui_support.h:85:38: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 85 | GList *uri_list_to_glist(const char *uri_list); | ~~~~~~~~~~~~^~~~~~~~ ../src/panel.c:1493:8: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1493 | path = get_local_path((EscapedPath *) next->data); | ^ ../src/panel.c:1496:26: warning: pointer targets in passing argument 2 of 'panel_add_item' differ in signedness [-Wpointer-sign] 1496 | panel_add_item(panel, path, NULL, after, NULL, NULL, FALSE); | ^~~~ | | | guchar * {aka unsigned char *} ../src/panel.c:837:20: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 837 | const gchar *path, | ~~~~~~~~~~~~~^~~~ ../src/panel.c: In function 'make_widgets': ../src/panel.c:1551:38: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1551 | tree = xmlNewTextChild(side, NULL, "icon", icon->src_path); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:1553:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1553 | xmlSetProp(tree, "label", icon->item->leafname); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:1553:39: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1553 | xmlSetProp(tree, "label", icon->item->leafname); | ~~~~~~~~~~^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/panel.c:1555:21: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1555 | xmlSetProp(tree, "shortcut", icon->shortcut); | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:1555:37: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1555 | xmlSetProp(tree, "shortcut", icon->shortcut); | ~~~~^~~~~~~~~~ | | | gchar * {aka char *} In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/panel.c:1557:21: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1557 | xmlSetProp(tree, "args", icon->args); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:1557:33: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1557 | xmlSetProp(tree, "args", icon->args); | ~~~~^~~~~~ | | | gchar * {aka char *} In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/panel.c:1559:21: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1559 | xmlSetProp(tree, "locked", "true"); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:1559:31: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1559 | xmlSetProp(tree, "locked", "true"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/panel.c: In function 'panel_save': ../src/panel.c:1576:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1576 | if (strchr(panel->name, '/')) | ~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/panel.c:26: /usr/include/string.h:226:34: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 226 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ../src/panel.c:1577:24: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 1577 | save = g_strdup(panel->name); | ~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/panel.c:32: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/panel.c:1577:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1577 | save = g_strdup(panel->name); | ^ ../src/panel.c:1582:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1582 | leaf = g_strconcat("pan_", panel->name, NULL); | ^ ../src/panel.c:1583:37: warning: pointer targets in passing argument 1 of 'choices_find_xdg_path_save' differ in signedness [-Wpointer-sign] 1583 | save = choices_find_xdg_path_save(leaf, PROJECT, SITE, TRUE); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/panel.c:39: ../src/choices.h:14:51: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 14 | gchar *choices_find_xdg_path_save(const char *leaf, const char *dir, | ~~~~~~~~~~~~^~~~ ../src/panel.c:1583:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1583 | save = choices_find_xdg_path_save(leaf, PROJECT, SITE, TRUE); | ^ ../src/panel.c:1590:18: warning: pointer targets in passing argument 1 of 'xmlNewDoc' differ in signedness [-Wpointer-sign] 1590 | doc = xmlNewDoc("1.0"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:780:30: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 780 | xmlNewDoc (const xmlChar *version); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/panel.c:1591:53: warning: pointer targets in passing argument 3 of 'xmlNewDocNode' differ in signedness [-Wpointer-sign] 1591 | xmlDocSetRootElement(doc, xmlNewDocNode(doc, NULL, "panel", NULL)); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:829:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:1595:19: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1595 | xmlSetProp(root, "side", panel_side_to_name(panel->side)); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:1595:27: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1595 | xmlSetProp(root, "side", panel_side_to_name(panel->side)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/panel.c:1597:36: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 1597 | options = xmlNewChild(root, NULL, "options", NULL); | ^~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:1604:39: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 1604 | make_widgets(xmlNewChild(root, NULL, "start", NULL), | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:1607:39: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 1607 | make_widgets(xmlNewChild(root, NULL, "end", NULL), | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/panel.c:30: /usr/include/libxml2/libxml/tree.h:846:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 846 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c:1611:25: warning: pointer targets in passing argument 1 of 'g_strconcat' differ in signedness [-Wpointer-sign] 1611 | save_new = g_strconcat(save, ".new", NULL); | ^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/panel.c:32: /usr/include/glib-2.0/glib/gstrfuncs.h:231:53: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 231 | gchar* g_strconcat (const gchar *string1, | ~~~~~~~~~~~~~^~~~~~~ ../src/panel.c:1611:11: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1611 | save_new = g_strconcat(save, ".new", NULL); | ^ ../src/panel.c:1612:25: warning: pointer targets in passing argument 2 of 'save_xml_file' differ in signedness [-Wpointer-sign] 1612 | if (save_xml_file(doc, save_new) || rename(save_new, save)) | ^~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/panel.c:49: ../src/support.h:15:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 15 | int save_xml_file(xmlDocPtr doc, const gchar *filename); | ~~~~~~~~~~~~~^~~~~~~~ ../src/panel.c:1612:45: warning: pointer targets in passing argument 1 of 'rename' differ in signedness [-Wpointer-sign] 1612 | if (save_xml_file(doc, save_new) || rename(save_new, save)) | ^~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/panel.c:24: /usr/include/stdio.h:148:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 148 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ ../src/panel.c:1612:55: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign] 1612 | if (save_xml_file(doc, save_new) || rename(save_new, save)) | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/panel.c:24: /usr/include/stdio.h:148:51: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 148 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ ../src/panel.c: In function 'start_drag': ../src/panel.c:1922:12: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1922 | uri_list = icon_create_uri_list(); | ^ ../src/panel.c: In function 'run_applet': ../src/panel.c:1984:35: warning: pointer targets in passing argument 1 of 'make_path' differ in signedness [-Wpointer-sign] 1984 | argv[0] = (char *) make_path(icon->path, "AppletRun"); | ~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/panel.c:49: ../src/support.h:18:37: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 18 | const guchar *make_path(const char *dir, const char *leaf); | ~~~~~~~~~~~~^~~ ../src/panel.c:2015:5: warning: pointer targets in passing argument 6 of 'gdk_property_change' differ in signedness [-Wpointer-sign] 2015 | pos, strlen(pos)); | ^~~ | | | gchar * {aka char *} In file included from /usr/include/gtk-2.0/gdk/gdk.h:50, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/panel.c:32: /usr/include/gtk-2.0/gdk/gdkproperty.h:65:25: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 65 | const guchar *data, | ~~~~~~~~~~~~~~~^~~~ ../src/panel.c: In function 'panel_style_changed': ../src/panel.c:2156:37: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 2156 | names[i] = panel ? g_strdup(panel->name) : NULL; | ~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/panel.c:32: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/panel.c: In function 'panel_side_radio_toggled': ../src/panel.c:2408:23: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 2408 | name = g_strdup(panel->name); | ~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/panel.c:32: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/panel.c:2410:38: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 2410 | ? g_strdup(current_panel[new_side]->name) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/panel.c:32: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o pinboard.o ../src/pinboard.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/pinboard.c:28: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/pinboard.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/pinboard.c: In function 'pinboard_init': ../src/pinboard.c:270:38: warning: pointer targets in passing argument 1 of 'gdk_color_parse' differ in signedness [-Wpointer-sign] 270 | gdk_color_parse(o_pinboard_fg_colour.value, &pin_text_fg_col); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gdk/gdkevents.h:34, from /usr/include/gtk-2.0/gdk/gdkdisplay.h:32, from /usr/include/gtk-2.0/gdk/gdkscreen.h:33, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/gtk-2.0/gdk/gdkcolor.h:136:48: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 136 | gboolean gdk_color_parse (const gchar *spec, | ~~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:271:38: warning: pointer targets in passing argument 1 of 'gdk_color_parse' differ in signedness [-Wpointer-sign] 271 | gdk_color_parse(o_pinboard_bg_colour.value, &pin_text_bg_col); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gdk/gdkevents.h:34, from /usr/include/gtk-2.0/gdk/gdkdisplay.h:32, from /usr/include/gtk-2.0/gdk/gdkscreen.h:33, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/gtk-2.0/gdk/gdkcolor.h:136:48: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 136 | gboolean gdk_color_parse (const gchar *spec, | ~~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:272:42: warning: pointer targets in passing argument 1 of 'gdk_color_parse' differ in signedness [-Wpointer-sign] 272 | gdk_color_parse(o_pinboard_shadow_colour.value, &pin_text_shadow_col); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gdk/gdkevents.h:34, from /usr/include/gtk-2.0/gdk/gdkdisplay.h:32, from /usr/include/gtk-2.0/gdk/gdkscreen.h:33, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/gtk-2.0/gdk/gdkcolor.h:136:48: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 136 | gboolean gdk_color_parse (const gchar *spec, | ~~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c: In function 'pinboard_activate': ../src/pinboard.c:308:8: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 308 | slash = strchr(name, '/'); | ^ ../src/pinboard.c:314:9: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 314 | path = g_strdup(name); | ^ ../src/pinboard.c:320:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 320 | leaf = g_strconcat("pb_", name, NULL); | ^ ../src/pinboard.c:321:37: warning: pointer targets in passing argument 1 of 'choices_find_xdg_path_load' differ in signedness [-Wpointer-sign] 321 | path = choices_find_xdg_path_load(leaf, PROJECT, SITE); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/pinboard.c:42: ../src/choices.h:12:49: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 12 | gchar *choices_find_xdg_path_load(const char *leaf, const char *dir, | ~~~~~~~~~~~~^~~~ ../src/pinboard.c:321:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 321 | path = choices_find_xdg_path_load(leaf, PROJECT, SITE); | ^ ../src/pinboard.c:326:25: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 326 | current_pinboard->name = g_strdup(name); | ^ ../src/pinboard.c:342:22: warning: pointer targets in passing argument 1 of 'xmlParseFile' differ in signedness [-Wpointer-sign] 342 | doc = xmlParseFile(path); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/pinboard.c:32: /usr/include/libxml2/libxml/parser.h:844:30: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 844 | xmlParseFile (const char *filename); | ~~~~~~~~~~~~^~~~~~~~ ../src/pinboard.c:353:15: warning: pointer targets in passing argument 1 of 'parse_file' differ in signedness [-Wpointer-sign] 353 | parse_file(path, pin_from_file); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/pinboard.c:44: ../src/gui_support.h:62:29: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 62 | void parse_file(const char *path, ParseFunc *parse_line); | ~~~~~~~~~~~~^~~~ ../src/pinboard.c: In function 'pinboard_get_name': ../src/pinboard.c:385:25: warning: pointer targets in returning 'guchar *' {aka 'unsigned char *'} from a function with return type 'const gchar *' {aka 'const char *'} differ in signedness [-Wpointer-sign] 385 | return current_pinboard->name; | ~~~~~~~~~~~~~~~~^~~~~~ ../src/pinboard.c: In function 'pinboard_pin_with_args': ../src/pinboard.c:481:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 481 | if (strcmp(icon->path, path) == 0) | ~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/pinboard.c:25: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/pinboard.c: In function 'pinboard_remove': ../src/pinboard.c:645:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 645 | if(strcmp(icon->path, path)!=0) | ~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/pinboard.c:25: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/pinboard.c: In function 'pinboard_set_backdrop_app': ../src/pinboard.c:707:21: warning: pointer targets in passing argument 1 of 'diritem_new' differ in signedness [-Wpointer-sign] 707 | item = diritem_new(""); | ^~ | | | char * In file included from ../src/pinboard.c:46: ../src/diritem.h:51:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 51 | DirItem *diritem_new(const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/pinboard.c:708:17: warning: pointer targets in passing argument 1 of 'diritem_restat' differ in signedness [-Wpointer-sign] 708 | diritem_restat(app, item, NULL); | ^~~ | | | const gchar * {aka const char *} In file included from ../src/pinboard.c:46: ../src/diritem.h:52:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 52 | void diritem_restat(const guchar *path, DirItem *item, struct stat *parent); | ~~~~~~~~~~~~~~^~~~ ../src/pinboard.c: In function 'pinboard_set_backdrop_box': ../src/pinboard.c:796:53: warning: pointer targets in passing argument 2 of 'drop_box_set_path' differ in signedness [-Wpointer-sign] 796 | drop_box_set_path(DROP_BOX(frame), current_pinboard->backdrop); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | gchar * {aka char *} In file included from ../src/pinboard.c:56: ../src/dropbox.h:18:57: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 18 | void drop_box_set_path(DropBox *drop_box, const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/pinboard.c: In function 'pinboard_set_backdrop': ../src/pinboard.c:878:42: warning: pointer targets in passing argument 2 of 'drop_box_set_path' differ in signedness [-Wpointer-sign] 878 | drop_box_set_path(box, current_pinboard->backdrop); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | gchar * {aka char *} In file included from ../src/pinboard.c:56: ../src/dropbox.h:18:57: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 18 | void drop_box_set_path(DropBox *drop_box, const guchar *path); | ~~~~~~~~~~~~~~^~~~ In file included from ./config.h:49, from ../src/pinboard.c:22: ../src/pinboard.c: In function 'drag_backdrop_dropped': ../src/pinboard.c:929:14: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 929 | if (mc_stat(path, &info)) | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/my_vfs.h:57:30: note: in definition of macro 'mc_stat' 57 | # define mc_stat(x, y) stat(x, y) | ^ In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/pinboard.c:22: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../src/pinboard.c:940:29: warning: pointer targets in passing argument 1 of 'pinboard_set_backdrop_app' differ in signedness [-Wpointer-sign] 940 | pinboard_set_backdrop_app(path); | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/pinboard.c:701:45: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 701 | void pinboard_set_backdrop_app(const gchar *app) | ~~~~~~~~~~~~~^~~ ../src/pinboard.c:943:25: warning: pointer targets in passing argument 1 of 'pinboard_set_backdrop' differ in signedness [-Wpointer-sign] 943 | pinboard_set_backdrop(path, radios_get_value(radios)); | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/pinboard.c:841:41: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 841 | void pinboard_set_backdrop(const gchar *path, BackdropStyle style) | ~~~~~~~~~~~~~^~~~ ../src/pinboard.c: In function 'pinboard_check_options': ../src/pinboard.c:964:38: warning: pointer targets in passing argument 1 of 'gdk_color_parse' differ in signedness [-Wpointer-sign] 964 | gdk_color_parse(o_pinboard_fg_colour.value, &n_fg); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gdk/gdkevents.h:34, from /usr/include/gtk-2.0/gdk/gdkdisplay.h:32, from /usr/include/gtk-2.0/gdk/gdkscreen.h:33, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/gtk-2.0/gdk/gdkcolor.h:136:48: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 136 | gboolean gdk_color_parse (const gchar *spec, | ~~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:965:38: warning: pointer targets in passing argument 1 of 'gdk_color_parse' differ in signedness [-Wpointer-sign] 965 | gdk_color_parse(o_pinboard_bg_colour.value, &n_bg); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gdk/gdkevents.h:34, from /usr/include/gtk-2.0/gdk/gdkdisplay.h:32, from /usr/include/gtk-2.0/gdk/gdkscreen.h:33, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/gtk-2.0/gdk/gdkcolor.h:136:48: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 136 | gboolean gdk_color_parse (const gchar *spec, | ~~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:966:42: warning: pointer targets in passing argument 1 of 'gdk_color_parse' differ in signedness [-Wpointer-sign] 966 | gdk_color_parse(o_pinboard_shadow_colour.value, &n_shadow); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gdk/gdkevents.h:34, from /usr/include/gtk-2.0/gdk/gdkdisplay.h:32, from /usr/include/gtk-2.0/gdk/gdkscreen.h:33, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/gtk-2.0/gdk/gdkcolor.h:136:48: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 136 | gboolean gdk_color_parse (const gchar *spec, | ~~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:971:35: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 971 | name = g_strdup(current_pinboard->name); | ~~~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/pinboard.c: In function 'start_drag': ../src/pinboard.c:1481:12: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1481 | uri_list = icon_create_uri_list(); | ^ ../src/pinboard.c: In function 'backdrop_from_xml': ../src/pinboard.c:1507:29: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 1507 | current_pinboard->backdrop = xmlNodeGetContent(node); | ^ ../src/pinboard.c:1509:27: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 1509 | style = xmlGetProp(node, "style"); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1509:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 1509 | style = xmlGetProp(node, "style"); | ^ ../src/pinboard.c:1514:5: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 1514 | g_strcasecmp(style, "Tiled") == 0 ? BACKDROP_TILE : | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/pinboard.c:1515:5: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 1515 | g_strcasecmp(style, "Scaled") == 0 ? BACKDROP_SCALE : | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/pinboard.c:1516:5: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 1516 | g_strcasecmp(style, "Fit") == 0 ? BACKDROP_FIT : | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/pinboard.c:1517:5: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 1517 | g_strcasecmp(style, "Stretched") == 0 ? BACKDROP_STRETCH : | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/pinboard.c:1518:5: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 1518 | g_strcasecmp(style, "Centred") == 0 ? BACKDROP_CENTRE : | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/pinboard.c:1519:5: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 1519 | g_strcasecmp(style, "Program") == 0 ? BACKDROP_PROGRAM : | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/pinboard.c: In function 'pinboard_load_from_xml': ../src/pinboard.c:1541:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1541 | if (strcmp(node->name, "backdrop") == 0) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/pinboard.c:25: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/pinboard.c:1546:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1546 | if (strcmp(node->name, "icon") != 0) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/pinboard.c:25: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/pinboard.c:1549:26: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 1549 | tmp = xmlGetProp(node, "x"); | ^~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1549:7: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1549 | tmp = xmlGetProp(node, "x"); | ^ ../src/pinboard.c:1555:26: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 1555 | tmp = xmlGetProp(node, "y"); | ^~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1555:7: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1555 | tmp = xmlGetProp(node, "y"); | ^ ../src/pinboard.c:1561:28: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 1561 | label = xmlGetProp(node, "label"); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1561:9: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1561 | label = xmlGetProp(node, "label"); | ^ ../src/pinboard.c:1564:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1564 | path = xmlNodeGetContent(node); | ^ ../src/pinboard.c:1567:31: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 1567 | shortcut = xmlGetProp(node, "shortcut"); | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1567:12: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1567 | shortcut = xmlGetProp(node, "shortcut"); | ^ ../src/pinboard.c:1568:27: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 1568 | args = xmlGetProp(node, "args"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1568:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1568 | args = xmlGetProp(node, "args"); | ^ ../src/pinboard.c:1570:26: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 1570 | tmp = xmlGetProp(node, "locked"); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1570:7: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1570 | tmp = xmlGetProp(node, "locked"); | ^ ../src/pinboard.c: In function 'pinboard_save': ../src/pinboard.c:1636:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1636 | if (strchr(current_pinboard->name, '/')) | ~~~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/pinboard.c:25: /usr/include/string.h:226:34: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 226 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ../src/pinboard.c:1637:35: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 1637 | save = g_strdup(current_pinboard->name); | ~~~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/pinboard.c:1637:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1637 | save = g_strdup(current_pinboard->name); | ^ ../src/pinboard.c:1642:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1642 | leaf = g_strconcat("pb_", current_pinboard->name, NULL); | ^ ../src/pinboard.c:1643:37: warning: pointer targets in passing argument 1 of 'choices_find_xdg_path_save' differ in signedness [-Wpointer-sign] 1643 | save = choices_find_xdg_path_save(leaf, PROJECT, SITE, TRUE); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/pinboard.c:42: ../src/choices.h:14:51: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 14 | gchar *choices_find_xdg_path_save(const char *leaf, const char *dir, | ~~~~~~~~~~~~^~~~ ../src/pinboard.c:1643:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1643 | save = choices_find_xdg_path_save(leaf, PROJECT, SITE, TRUE); | ^ ../src/pinboard.c:1650:18: warning: pointer targets in passing argument 1 of 'xmlNewDoc' differ in signedness [-Wpointer-sign] 1650 | doc = xmlNewDoc("1.0"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:780:30: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 780 | xmlNewDoc (const xmlChar *version); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/pinboard.c:1651:53: warning: pointer targets in passing argument 3 of 'xmlNewDocNode' differ in signedness [-Wpointer-sign] 1651 | xmlDocSetRootElement(doc, xmlNewDocNode(doc, NULL, "pinboard", NULL)); | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:829:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1660:38: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1660 | tree = xmlNewTextChild(root, NULL, "backdrop", | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1661:21: warning: pointer targets in passing argument 4 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1661 | current_pinboard->backdrop); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | gchar * {aka char *} In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:900:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/pinboard.c:1662:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1662 | xmlSetProp(tree, "style", | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1663:39: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1663 | style == BACKDROP_TILE ? "Tiled" : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ | | | char * 1664 | style == BACKDROP_CENTRE ? "Centred" : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1665 | style == BACKDROP_SCALE ? "Scaled" : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1666 | style == BACKDROP_FIT ? "Fit" : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1667 | style == BACKDROP_STRETCH ? "Stretched" : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1668 | "Program"); | ~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/pinboard.c:1678:38: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1678 | tree = xmlNewTextChild(root, NULL, "icon", icon->src_path); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1681:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1681 | xmlSetProp(tree, "x", tmp); | ^~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1681:25: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1681 | xmlSetProp(tree, "x", tmp); | ^~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/pinboard.c:1685:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1685 | xmlSetProp(tree, "y", tmp); | ^~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1685:25: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1685 | xmlSetProp(tree, "y", tmp); | ^~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/pinboard.c:1688:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1688 | xmlSetProp(tree, "label", icon->item->leafname); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1688:39: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1688 | xmlSetProp(tree, "label", icon->item->leafname); | ~~~~~~~~~~^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/pinboard.c:1690:21: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1690 | xmlSetProp(tree, "shortcut", icon->shortcut); | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1690:37: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1690 | xmlSetProp(tree, "shortcut", icon->shortcut); | ~~~~^~~~~~~~~~ | | | gchar * {aka char *} In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/pinboard.c:1692:21: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1692 | xmlSetProp(tree, "args", icon->args); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1692:33: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1692 | xmlSetProp(tree, "args", icon->args); | ~~~~^~~~~~ | | | gchar * {aka char *} In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/pinboard.c:1694:21: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1694 | xmlSetProp(tree, "locked", "true"); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c:1694:31: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 1694 | xmlSetProp(tree, "locked", "true"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/pinboard.c:32: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ../src/pinboard.c:1697:25: warning: pointer targets in passing argument 1 of 'g_strconcat' differ in signedness [-Wpointer-sign] 1697 | save_new = g_strconcat(save, ".new", NULL); | ^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:231:53: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 231 | gchar* g_strconcat (const gchar *string1, | ~~~~~~~~~~~~~^~~~~~~ ../src/pinboard.c:1697:11: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1697 | save_new = g_strconcat(save, ".new", NULL); | ^ ../src/pinboard.c:1698:25: warning: pointer targets in passing argument 2 of 'save_xml_file' differ in signedness [-Wpointer-sign] 1698 | if (save_xml_file(doc, save_new) || rename(save_new, save)) | ^~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/pinboard.c:43: ../src/support.h:15:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 15 | int save_xml_file(xmlDocPtr doc, const gchar *filename); | ~~~~~~~~~~~~~^~~~~~~~ ../src/pinboard.c:1698:45: warning: pointer targets in passing argument 1 of 'rename' differ in signedness [-Wpointer-sign] 1698 | if (save_xml_file(doc, save_new) || rename(save_new, save)) | ^~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/pinboard.c:26: /usr/include/stdio.h:148:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 148 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ ../src/pinboard.c:1698:55: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign] 1698 | if (save_xml_file(doc, save_new) || rename(save_new, save)) | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/pinboard.c:26: /usr/include/stdio.h:148:51: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 148 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ ../src/pinboard.c: In function 'drag_motion': ../src/pinboard.c:1767:7: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 1767 | type = dnd_motion_item(context, &item); | ^ ../src/pinboard.c:1789:15: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 1789 | access(icon->path, W_OK) != 0) | ~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/my_vfs.h:48, from ./config.h:49, from ../src/pinboard.c:22: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ In file included from /usr/include/glib-2.0/glib.h:42, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: ../src/pinboard.c:1799:18: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 1799 | g_strdup(icon->path), g_free); | ~~~~^~~~~~ | | | guchar * {aka unsigned char *} /usr/include/glib-2.0/glib/gdataset.h:140:65: note: in definition of macro 'g_dataset_set_data_full' 140 | g_dataset_id_set_data_full ((l), g_quark_from_string (k), (d), (f)) | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/pinboard.c: In function 'pin_icon_set_tip': ../src/pinboard.c:2214:23: warning: pointer targets in passing argument 1 of 'appinfo_get' differ in signedness [-Wpointer-sign] 2214 | ai = appinfo_get(icon->path, icon->item); | ~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/pinboard.c:50: ../src/appinfo.h:13:38: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 13 | XMLwrapper *appinfo_get(const gchar *app_dir, DirItem *item); | ~~~~~~~~~~~~~^~~~~~~ ../src/pinboard.c:2223:44: warning: pointer targets in passing argument 3 of 'gtk_tooltips_set_tip' differ in signedness [-Wpointer-sign] 2223 | gtk_tooltips_set_tip(tooltips, pi->win, str, NULL); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/pinboard.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:96:25: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 96 | const gchar *tip_text, | ~~~~~~~~~~~~~~~^~~~~~~~ ../src/pinboard.c: In function 'reload_backdrop': ../src/pinboard.c:2567:11: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 2567 | argv[0] = make_path(backdrop, "AppRun"); | ^ ../src/pinboard.c:2607:38: warning: pointer targets in passing argument 1 of 'gdk_color_parse' differ in signedness [-Wpointer-sign] 2607 | gdk_color_parse(o_pinboard_bg_colour.value, | ~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gdk/gdkevents.h:34, from /usr/include/gtk-2.0/gdk/gdkdisplay.h:32, from /usr/include/gtk-2.0/gdk/gdkscreen.h:33, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/gtk-2.0/gdk/gdkcolor.h:136:48: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 136 | gboolean gdk_color_parse (const gchar *spec, | ~~~~~~~~~~~~~~~~^~~~ ../src/pinboard.c: In function 'update_pinboard_font': ../src/pinboard.c:2838:53: warning: pointer targets in passing argument 1 of 'pango_font_description_from_string' differ in signedness [-Wpointer-sign] 2838 | ? pango_font_description_from_string(o_label_font.value) | ~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/pango-1.0/pango/pango-attributes.h:25, from /usr/include/pango-1.0/pango/pango.h:25, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pinboard.c:28: /usr/include/pango-1.0/pango/pango-font.h:313:88: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 313 | PangoFontDescription *pango_font_description_from_string (const char *str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../src/pinboard.c: In function 'radios_changed': ../src/pinboard.c:2858:8: warning: pointer targets in assignment from 'const gchar *' {aka 'const char *'} to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 2858 | path = drop_box_get_path(drop_box); | ^ ../src/pinboard.c:2860:26: warning: pointer targets in passing argument 1 of 'pinboard_set_backdrop' differ in signedness [-Wpointer-sign] 2860 | pinboard_set_backdrop(path, radios_get_value(radios)); | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/pinboard.c:841:41: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 841 | void pinboard_set_backdrop(const gchar *path, BackdropStyle style) | ~~~~~~~~~~~~~^~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o pixmaps.o ../src/pixmaps.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/pixmaps.c:41: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pixmaps.c:41: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/pixmaps.c:41: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pixmaps.c:41: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/pixmaps.c: In function 'load_pixmap': ../src/pixmaps.c:180:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 180 | path = g_strconcat("/usr/share/rox/images/", name, ".png", NULL); | ^ ../src/pixmaps.c:181:27: warning: pointer targets in passing argument 1 of 'image_from_file' differ in signedness [-Wpointer-sign] 181 | retval = image_from_file(path); | ^~~~ | | | guchar * {aka unsigned char *} ../src/pixmaps.c:111:50: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 111 | static MaskedPixmap *image_from_file(const char *path); | ~~~~~~~~~~~~^~~~ ../src/pixmaps.c: In function 'mp_from_stock': ../src/pixmaps.c:213:2: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] 213 | gdk_pixbuf_unref(pixbuf); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/include/gtk-2.0/gdk/gdk.h:33, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pixmaps.c:41: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:165:12: note: declared here 165 | void gdk_pixbuf_unref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~~~ ../src/pixmaps.c: In function 'pixmap_background_thumb': ../src/pixmaps.c:279:18: warning: passing argument 2 of 'callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 279 | callback(data, path); | ^~~~ ../src/pixmaps.c:279:18: note: expected 'gpointer' {aka 'void *'} but argument is of type 'const gchar *' {aka 'const char *'} ../src/pixmaps.c:292:29: warning: passing argument 2 of 'callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 292 | callback(data, image? path: NULL); | ^ ../src/pixmaps.c:292:29: note: expected 'gpointer' {aka 'void *'} but argument is of type 'const gchar *' {aka 'const char *'} ../src/pixmaps.c:335:4: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 335 | item = diritem_new(g_basename(thumb_prog)); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:48, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pixmaps.c:41: /usr/include/glib-2.0/glib/gfileutils.h:205:14: note: declared here 205 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ ../src/pixmaps.c:335:23: warning: pointer targets in passing argument 1 of 'diritem_new' differ in signedness [-Wpointer-sign] 335 | item = diritem_new(g_basename(thumb_prog)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | const gchar * {aka const char *} In file included from ../src/pixmaps.c:52: ../src/diritem.h:51:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 51 | DirItem *diritem_new(const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/pixmaps.c:337:19: warning: pointer targets in passing argument 1 of 'diritem_restat' differ in signedness [-Wpointer-sign] 337 | diritem_restat(thumb_prog, item, NULL); | ^~~~~~~~~~ | | | gchar * {aka char *} In file included from ../src/pixmaps.c:52: ../src/diritem.h:52:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 52 | void diritem_restat(const guchar *path, DirItem *item, struct stat *parent); | ~~~~~~~~~~~~~~^~~~ In file included from ./config.h:49, from ../src/pixmaps.c:22: ../src/pixmaps.c: In function 'pixmap_try_thumb': ../src/pixmaps.c:411:15: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 411 | if (mc_stat(make_path(home_dir, ".thumbnails/normal"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/my_vfs.h:57:30: note: in definition of macro 'mc_stat' 57 | # define mc_stat(x, y) stat(x, y) | ^ In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/pixmaps.c:22: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../src/pixmaps.c:431:3: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] 431 | gdk_pixbuf_unref(pixbuf); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/include/gtk-2.0/gdk/gdk.h:33, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pixmaps.c:41: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:165:12: note: declared here 165 | void gdk_pixbuf_unref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~~~ ../src/pixmaps.c: In function 'get_thumbnail_for': ../src/pixmaps.c:667:3: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] 667 | gdk_pixbuf_unref(thumb); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/include/gtk-2.0/gdk/gdk.h:33, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pixmaps.c:41: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:165:12: note: declared here 165 | void gdk_pixbuf_unref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~~~ ../src/pixmaps.c: In function 'image_from_file': ../src/pixmaps.c:695:2: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] 695 | gdk_pixbuf_unref(pixbuf); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/include/gtk-2.0/gdk/gdk.h:33, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pixmaps.c:41: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:165:12: note: declared here 165 | void gdk_pixbuf_unref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~~~ ../src/pixmaps.c: In function 'scale_pixbuf': ../src/pixmaps.c:772:3: warning: 'gdk_pixbuf_ref' is deprecated: Use 'g_object_ref' instead [-Wdeprecated-declarations] 772 | gdk_pixbuf_ref(src); | ^~~~~~~~~~~~~~ In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/include/gtk-2.0/gdk/gdk.h:33, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pixmaps.c:41: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:163:12: note: declared here 163 | GdkPixbuf *gdk_pixbuf_ref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~ ../src/pixmaps.c: In function 'scale_pixbuf_up': ../src/pixmaps.c:802:3: warning: 'gdk_pixbuf_ref' is deprecated: Use 'g_object_ref' instead [-Wdeprecated-declarations] 802 | gdk_pixbuf_ref(src); | ^~~~~~~~~~~~~~ In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/include/gtk-2.0/gdk/gdk.h:33, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pixmaps.c:41: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:163:12: note: declared here 163 | GdkPixbuf *gdk_pixbuf_ref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~ ../src/pixmaps.c: In function 'get_bad_image': ../src/pixmaps.c:828:2: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] 828 | gdk_pixbuf_unref(bad); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/include/gtk-2.0/gdk/gdk.h:33, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pixmaps.c:41: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:165:12: note: declared here 165 | void gdk_pixbuf_unref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~~~ ../src/pixmaps.c: In function 'load_default_pixmaps': ../src/pixmaps.c:966:4: warning: pointer targets in passing argument 1 of 'gdk_pixbuf_new_from_file' differ in signedness [-Wpointer-sign] 966 | make_path(app_dir, ".DirIcon"), &error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/include/gtk-2.0/gdk/gdk.h:33, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/pixmaps.c:41: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:249:50: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 249 | GdkPixbuf *gdk_pixbuf_new_from_file (const char *filename, | ~~~~~~~~~~~~^~~~~~~~ ../src/pixmaps.c: In function 'extract_tiff_thumbnail': ../src/pixmaps.c:1148:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 1148 | int count, offset; | ^~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o remote.o ../src/remote.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/remote.c:33: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/remote.c:33: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/remote.c: In function 'remote_init': ../src/remote.c:162:12: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 162 | unique_id = g_strdup_printf("_ROX_FILER_%d_%s_%s", | ^ ../src/remote.c:164:31: warning: pointer targets in passing argument 1 of 'gdk_atom_intern' differ in signedness [-Wpointer-sign] 164 | filer_atom = gdk_atom_intern(unique_id, FALSE); | ^~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gdk/gdk.h:50, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/gtk-2.0/gdk/gdkproperty.h:45:39: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 45 | GdkAtom gdk_atom_intern (const gchar *atom_name, | ~~~~~~~~~~~~~^~~~~~~~~ ../src/remote.c:234:12: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 234 | unique_id = g_strdup_printf("_ROX_FILER_%d_%s", | ^ ../src/remote.c:236:35: warning: pointer targets in passing argument 1 of 'gdk_atom_intern' differ in signedness [-Wpointer-sign] 236 | filer_atom_any = gdk_atom_intern(unique_id, FALSE); | ^~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gdk/gdk.h:50, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/gtk-2.0/gdk/gdkproperty.h:45:39: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 45 | GdkAtom gdk_atom_intern (const gchar *atom_name, | ~~~~~~~~~~~~~^~~~~~~~~ ../src/remote.c: In function 'run_soap': ../src/remote.c:271:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 271 | if (strcmp(node->ns->href, SOAP_ENV_NS) != 0 && | ~~~~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/remote.c:28: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/remote.c:272:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 272 | strcmp(node->ns->href, SOAP_ENV_NS_OLD) != 0) | ~~~~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/remote.c:28: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/remote.c:286:42: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 286 | if (node->ns == NULL || strcmp(node->ns->href, ROX_NS) != 0) | ~~~~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/remote.c:28: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/remote.c: In function 'extract_soap_errors': ../src/remote.c:331:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 331 | if(strcmp(root->name, "Envelope")==0) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/remote.c:28: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/remote.c:339:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 339 | if(strcmp(sub->name, "env:Fault")!=0) | ~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/remote.c:28: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/remote.c:356:25: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 356 | g_strdup(txt)); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'xmlChar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/remote.c: In function 'read_property': ../src/remote.c:482:10: warning: pointer targets in returning 'guchar *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 482 | return retval; | ^~~~~~ ../src/remote.c: In function 'client_event': ../src/remote.c:513:7: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 513 | data = read_property(src_window, prop, &length); | ^ ../src/remote.c:517:33: warning: pointer targets in passing argument 1 of 'g_strndup' differ in signedness [-Wpointer-sign] 517 | doc = xmlParseMemory(g_strndup(data, length), length); | ^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:225:53: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 225 | gchar* g_strndup (const gchar *str, | ~~~~~~~~~~~~~^~~ ../src/remote.c: In function 'bool_value': ../src/remote.c:567:9: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 567 | optval = xmlNodeGetContent(arg); | ^ ../src/remote.c: In function 'string_value': ../src/remote.c:585:9: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 585 | retval = xmlNodeGetContent(arg); | ^ ../src/remote.c: In function 'int_value': ../src/remote.c:601:6: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 601 | str = xmlNodeGetContent(arg); | ^ ../src/remote.c: In function 'rpc_Version': ../src/remote.c:668:27: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] 668 | reply = xmlNewNode(NULL, "rox:VersionResponse"); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:838:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ In file included from ../src/remote.c:37: ../src/global.h:173:21: warning: pointer targets in passing argument 2 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 173 | #define SOAP_RPC_NS "http://www.w3.org/2001/12/soap-rpc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../src/global.h:173:21: note: in definition of macro 'SOAP_RPC_NS' 173 | #define SOAP_RPC_NS "http://www.w3.org/2001/12/soap-rpc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:773:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 773 | const xmlChar *href, | ~~~~~~~~~~~~~~~^~~~ ../src/remote.c:669:31: warning: pointer targets in passing argument 3 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 669 | xmlNewNs(reply, SOAP_RPC_NS, "soap"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:774:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 774 | const xmlChar *prefix); | ~~~~~~~~~~~~~~~^~~~~~ ../src/remote.c:670:31: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 670 | xmlNewTextChild(reply, NULL, "soap:result", VERSION); | ^~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ In file included from ../src/remote.c:26: ./config.h:5:17: warning: pointer targets in passing argument 4 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 5 | #define VERSION "2.11" | ^~~~~~ | | | char * ../src/remote.c:670:46: note: in expansion of macro 'VERSION' 670 | xmlNewTextChild(reply, NULL, "soap:result", VERSION); | ^~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:900:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/remote.c: In function 'rpc_OpenDir': ../src/remote.c:716:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 716 | ds = !g_strcasecmp(style, "Large") ? LARGE_ICONS : | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:717:8: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 717 | !g_strcasecmp(style, "Small") ? SMALL_ICONS : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:718:8: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 718 | !g_strcasecmp(style, "Huge") ? HUGE_ICONS : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:719:8: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 719 | !g_strcasecmp(style, "Automatic") ? AUTO_SIZE_ICONS : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:734:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 734 | dt = !g_strcasecmp(details, "None") ? DETAILS_NONE : | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:735:8: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 735 | !g_strcasecmp(details, "ListView") ? DETAILS_NONE : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:736:8: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 736 | !g_strcasecmp(details, "Size") ? DETAILS_SIZE : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:737:8: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 737 | !g_strcasecmp(details, "Type") ? DETAILS_TYPE : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:738:8: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 738 | !g_strcasecmp(details, "Times") ? DETAILS_TIMES : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:739:8: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 739 | !g_strcasecmp(details, "Permissions") | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:749:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 749 | if (g_strcasecmp(details, "ListView") == 0) | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:764:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 764 | type = !g_strcasecmp(sort, "Name") ? SORT_NAME : | ^~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:765:10: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 765 | !g_strcasecmp(sort, "Type") ? SORT_TYPE : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:766:10: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 766 | !g_strcasecmp(sort, "Date") ? SORT_DATE : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:767:11: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 767 | !g_strcasecmp(sort, "Size") ? SORT_SIZE : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:768:11: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 768 | !g_strcasecmp(sort, "Owner") ? SORT_OWNER : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:769:11: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 769 | !g_strcasecmp(sort, "Group") ? SORT_GROUP : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c: In function 'rpc_Run': ../src/remote.c:796:14: warning: pointer targets in passing argument 1 of 'run_by_path' differ in signedness [-Wpointer-sign] 796 | run_by_path(path); | ^~~~ | | | char * In file included from ../src/remote.c:42: ../src/run.h:14:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 14 | gboolean run_by_path(const guchar *full_path); | ~~~~~~~~~~~~~~^~~~~~~~~ ../src/remote.c: In function 'rpc_RunURI': ../src/remote.c:813:28: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] 813 | reply = xmlNewNode(NULL, "env:Fault"); | ^~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:838:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ In file included from ../src/remote.c:37: ../src/global.h:173:21: warning: pointer targets in passing argument 2 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 173 | #define SOAP_RPC_NS "http://www.w3.org/2001/12/soap-rpc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../src/global.h:173:21: note: in definition of macro 'SOAP_RPC_NS' 173 | #define SOAP_RPC_NS "http://www.w3.org/2001/12/soap-rpc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:773:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 773 | const xmlChar *href, | ~~~~~~~~~~~~~~~^~~~ ../src/remote.c:814:32: warning: pointer targets in passing argument 3 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 814 | xmlNewNs(reply, SOAP_RPC_NS, "rpc"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:774:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 774 | const xmlChar *prefix); | ~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/remote.c:37: ../src/global.h:172:21: warning: pointer targets in passing argument 2 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 172 | #define SOAP_ENV_NS "http://www.w3.org/2001/12/soap-envelope" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../src/global.h:172:21: note: in definition of macro 'SOAP_ENV_NS' 172 | #define SOAP_ENV_NS "http://www.w3.org/2001/12/soap-envelope" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:773:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 773 | const xmlChar *href, | ~~~~~~~~~~~~~~~^~~~ ../src/remote.c:815:32: warning: pointer targets in passing argument 3 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 815 | xmlNewNs(reply, SOAP_ENV_NS, "env"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:774:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 774 | const xmlChar *prefix); | ~~~~~~~~~~~~~~~^~~~~~ ../src/remote.c:816:32: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 816 | xmlNewTextChild(reply, NULL, "faultcode", | ^~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/remote.c:817:7: warning: pointer targets in passing argument 4 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 817 | "Failed"); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:900:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/remote.c:818:32: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 818 | xmlNewTextChild(reply, NULL, "faultstring", errmsg); | ^~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/remote.c:818:47: warning: pointer targets in passing argument 4 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 818 | xmlNewTextChild(reply, NULL, "faultstring", errmsg); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:900:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/remote.c: In function 'rpc_Examine': ../src/remote.c:841:10: warning: pointer targets in passing argument 1 of 'examine' differ in signedness [-Wpointer-sign] 841 | examine(path); | ^~~~ | | | char * In file included from ../src/remote.c:42: ../src/run.h:22:28: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 22 | void examine(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/remote.c: In function 'rpc_SetBackdrop': ../src/remote.c:884:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 884 | s = !g_strcasecmp(style, "Tile") ? BACKDROP_TILE : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:885:6: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 885 | !g_strcasecmp(style, "Scale") ? BACKDROP_SCALE : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:886:6: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 886 | !g_strcasecmp(style, "Stretch") ? BACKDROP_STRETCH : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c:887:6: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 887 | !g_strcasecmp(style, "Centre") ? BACKDROP_CENTRE : | ^ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from ../src/remote.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/remote.c: In function 'rpc_FileType': ../src/remote.c:1121:23: warning: pointer targets in passing argument 1 of 'type_get_type' differ in signedness [-Wpointer-sign] 1121 | type = type_get_type(path); | ^~~~ | | | char * In file included from ../src/remote.c:48: ../src/type.h:40:40: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 40 | MIME_type *type_get_type(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/remote.c:1124:27: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] 1124 | reply = xmlNewNode(NULL, "rox:FileTypeResponse"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:838:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ In file included from ../src/remote.c:37: ../src/global.h:173:21: warning: pointer targets in passing argument 2 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 173 | #define SOAP_RPC_NS "http://www.w3.org/2001/12/soap-rpc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../src/global.h:173:21: note: in definition of macro 'SOAP_RPC_NS' 173 | #define SOAP_RPC_NS "http://www.w3.org/2001/12/soap-rpc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:773:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 773 | const xmlChar *href, | ~~~~~~~~~~~~~~~^~~~ ../src/remote.c:1127:31: warning: pointer targets in passing argument 3 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 1127 | xmlNewNs(reply, SOAP_RPC_NS, "soap"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:774:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 774 | const xmlChar *prefix); | ~~~~~~~~~~~~~~~^~~~~~ ../src/remote.c:1128:31: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1128 | xmlNewTextChild(reply, NULL, "soap:result", tname); | ^~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/remote.c:1128:46: warning: pointer targets in passing argument 4 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1128 | xmlNewTextChild(reply, NULL, "soap:result", tname); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:900:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/remote.c: In function 'soap_invoke': ../src/remote.c:1249:28: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] 1249 | reply = xmlNewNode(NULL, "env:Fault"); | ^~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:838:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ In file included from ../src/remote.c:37: ../src/global.h:173:21: warning: pointer targets in passing argument 2 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 173 | #define SOAP_RPC_NS "http://www.w3.org/2001/12/soap-rpc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../src/global.h:173:21: note: in definition of macro 'SOAP_RPC_NS' 173 | #define SOAP_RPC_NS "http://www.w3.org/2001/12/soap-rpc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:773:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 773 | const xmlChar *href, | ~~~~~~~~~~~~~~~^~~~ ../src/remote.c:1250:32: warning: pointer targets in passing argument 3 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 1250 | xmlNewNs(reply, SOAP_RPC_NS, "rpc"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:774:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 774 | const xmlChar *prefix); | ~~~~~~~~~~~~~~~^~~~~~ In file included from ../src/remote.c:37: ../src/global.h:172:21: warning: pointer targets in passing argument 2 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 172 | #define SOAP_ENV_NS "http://www.w3.org/2001/12/soap-envelope" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../src/global.h:172:21: note: in definition of macro 'SOAP_ENV_NS' 172 | #define SOAP_ENV_NS "http://www.w3.org/2001/12/soap-envelope" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:773:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 773 | const xmlChar *href, | ~~~~~~~~~~~~~~~^~~~ ../src/remote.c:1251:32: warning: pointer targets in passing argument 3 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 1251 | xmlNewNs(reply, SOAP_ENV_NS, "env"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:774:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 774 | const xmlChar *prefix); | ~~~~~~~~~~~~~~~^~~~~~ ../src/remote.c:1252:32: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1252 | xmlNewTextChild(reply, NULL, "faultcode", | ^~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/remote.c:1253:7: warning: pointer targets in passing argument 4 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1253 | "rpc:ProcedureNotPresent"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:900:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/remote.c:1254:32: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1254 | xmlNewTextChild(reply, NULL, "faultstring", err); | ^~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/remote.c:1254:47: warning: pointer targets in passing argument 4 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 1254 | xmlNewTextChild(reply, NULL, "faultstring", err); | ^~~ | | | gchar * {aka char *} In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/remote.c:35: /usr/include/libxml2/libxml/tree.h:900:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/remote.c:1265:42: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1265 | if (node->ns == NULL || strcmp(node->ns->href, ROX_NS) != 0) | ~~~~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/remote.c:28: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o run.o ../src/run.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/run.h:9, from ../src/run.c:30: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/run.h:9, from ../src/run.c:30: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/run.h:9, from ../src/run.c:30: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../src/global.h:11, from ../src/run.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/run.c: In function 'run_with_files': ../src/run.c:106:16: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 106 | argv[argc++] = make_path(path, "AppRun"); | ^ ../src/run.c: In function 'run_with_data': ../src/run.c:157:11: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 157 | argv[0] = make_path(path, "AppRun"); | ^ ../src/run.c: In function 'run_diritem': ../src/run.c:261:25: warning: pointer targets in passing argument 1 of 'follow_symlink' differ in signedness [-Wpointer-sign] 261 | return follow_symlink(full_path, filer_window, src_window); | ^~~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/run.c:45:44: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 45 | static gboolean follow_symlink(const char *full_path, | ~~~~~~~~~~~~^~~~~~~~~ ../src/run.c:268:13: warning: pointer targets in passing argument 1 of 'run_app' differ in signedness [-Wpointer-sign] 268 | run_app(full_path); | ^~~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/run.c:73:26: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 73 | void run_app(const char *path) | ~~~~~~~~~~~~^~~~ ../src/run.c:278:35: warning: pointer targets in passing argument 2 of 'filer_change_to' differ in signedness [-Wpointer-sign] 278 | filer_change_to(filer_window, full_path, NULL); | ^~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/run.c:33: ../src/filer.h:139:16: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 139 | const char *path, const char *from); | ~~~~~~~~~~~~^~~~ ../src/run.c:280:19: warning: pointer targets in passing argument 1 of 'filer_opendir' differ in signedness [-Wpointer-sign] 280 | filer_opendir(full_path, src_window, NULL); | ^~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/run.c:33: ../src/filer.h:129:40: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 129 | FilerWindow *filer_opendir(const char *path, FilerWindow *src_win, const gchar *wm_class); | ~~~~~~~~~~~~^~~~ ../src/run.c:286:19: warning: pointer targets in initialization of 'guchar *' {aka 'unsigned char *'} from 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 286 | guchar *dir = filer_window | ^~~~~~~~~~~~ ../src/run.c:291:25: warning: pointer targets in passing argument 1 of 'run_desktop' differ in signedness [-Wpointer-sign] 291 | return run_desktop(full_path, | ^~~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/run.c:52:41: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 52 | static gboolean run_desktop(const char *full_path, | ~~~~~~~~~~~~^~~~~~~~~ ../src/run.c:292:17: warning: pointer targets in passing argument 3 of 'run_desktop' differ in signedness [-Wpointer-sign] 292 | NULL, dir); | ^~~ | | | guchar * {aka unsigned char *} ../src/run.c:53:39: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 53 | const char **args, const char *dir); | ~~~~~~~~~~~~^~~ ../src/run.c:294:14: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 294 | argv[0] = full_path; | ^ ../src/run.c:296:22: warning: pointer targets in passing argument 1 of 'rox_spawn' differ in signedness [-Wpointer-sign] 296 | return rox_spawn(dir, argv) != 0; | ^~~ | | | guchar * {aka unsigned char *} In file included from ../src/run.c:32: ../src/gui_support.h:68:29: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 68 | gint rox_spawn(const gchar *dir, const gchar **argv); | ~~~~~~~~~~~~~^~~ ../src/run.c: In function 'run_by_path': ../src/run.c:319:21: warning: pointer targets in passing argument 1 of 'diritem_new' differ in signedness [-Wpointer-sign] 319 | item = diritem_new(""); | ^~ | | | char * In file included from ../src/run.c:38: ../src/diritem.h:51:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 51 | DirItem *diritem_new(const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/run.c: In function 'run_by_uri': ../src/run.c:347:23: warning: pointer targets in passing argument 1 of 'run_by_path' differ in signedness [-Wpointer-sign] 347 | retval=run_by_path(tmp2); | ^~~~ | | | gchar * {aka char *} ../src/run.c:313:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 313 | gboolean run_by_path(const guchar *full_path) | ~~~~~~~~~~~~~~^~~~~~~~~ ../src/run.c:363:20: warning: pointer targets in passing argument 1 of 'diritem_new' differ in signedness [-Wpointer-sign] 363 | item=diritem_new(scheme); | ^~~~~~ | | | gchar * {aka char *} In file included from ../src/run.c:38: ../src/diritem.h:51:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 51 | DirItem *diritem_new(const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/run.c:364:18: warning: pointer targets in passing argument 1 of 'diritem_restat' differ in signedness [-Wpointer-sign] 364 | diritem_restat(cmd, item, NULL); | ^~~ | | | gchar * {aka char *} In file included from ../src/run.c:38: ../src/diritem.h:52:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 52 | void diritem_restat(const guchar *path, DirItem *item, struct stat *parent); | ~~~~~~~~~~~~~~^~~~ ../src/run.c: In function 'show_help_files': ../src/run.c:388:11: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 388 | help_dir = make_path(dir, "Help"); | ^ ../src/run.c: In function 'open_to_show': ../src/run.c:409:17: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 409 | dir = g_strdup(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/run.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/run.c:409:6: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 409 | dir = g_strdup(path); | ^ ../src/run.c:410:18: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] 410 | slash = strrchr(dir, '/'); | ^~~ | | | guchar * {aka unsigned char *} In file included from ../src/run.c:25: /usr/include/string.h:253:35: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 253 | extern char *strrchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ../src/run.c:410:8: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 410 | slash = strrchr(dir, '/'); | ^ ../src/run.c:416:36: warning: pointer targets in passing argument 2 of 'display_set_autoselect' differ in signedness [-Wpointer-sign] 416 | display_set_autoselect(new, dir + 1); | ~~~~^~~ | | | guchar * {aka unsigned char *} In file included from ../src/run.c:34: ../src/display.h:57:69: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 57 | void display_set_autoselect(FilerWindow *filer_window, const gchar *leaf); | ~~~~~~~~~~~~~^~~~ ../src/run.c:421:23: warning: pointer targets in passing argument 1 of 'filer_opendir' differ in signedness [-Wpointer-sign] 421 | new = filer_opendir(dir, NULL, NULL); | ^~~ | | | guchar * {aka unsigned char *} In file included from ../src/run.c:33: ../src/filer.h:129:40: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 129 | FilerWindow *filer_opendir(const char *path, FilerWindow *src_win, const gchar *wm_class); | ~~~~~~~~~~~~^~~~ ../src/run.c:426:38: warning: pointer targets in passing argument 2 of 'display_set_autoselect' differ in signedness [-Wpointer-sign] 426 | display_set_autoselect(new, slash + 1); | ~~~~~~^~~ | | | guchar * {aka unsigned char *} In file included from ../src/run.c:34: ../src/display.h:57:69: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 57 | void display_set_autoselect(FilerWindow *filer_window, const gchar *leaf); | ~~~~~~~~~~~~~^~~~ In file included from ./config.h:49, from ../src/run.c:22: ../src/run.c: In function 'examine': ../src/run.c:440:14: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 440 | if (mc_stat(path, &info) != 0) | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/my_vfs.h:57:30: note: in definition of macro 'mc_stat' 57 | # define mc_stat(x, y) stat(x, y) | ^ In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/run.c:22: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../src/run.c:443:23: warning: pointer targets in passing argument 1 of 'filer_check_mounted' differ in signedness [-Wpointer-sign] 443 | filer_check_mounted(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/run.c:33: ../src/filer.h:136:38: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 136 | void filer_check_mounted(const char *real_path); | ~~~~~~~~~~~~^~~~~~~~~ ../src/run.c:452:17: warning: pointer targets in passing argument 1 of 'refresh_dirs' differ in signedness [-Wpointer-sign] 452 | refresh_dirs(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/run.c:37: ../src/dir.h:104:31: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 104 | void refresh_dirs(const char *path); | ~~~~~~~~~~~~^~~~ ../src/run.c:455:20: warning: pointer targets in passing argument 1 of 'icons_may_update' differ in signedness [-Wpointer-sign] 455 | icons_may_update(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/run.c:40: ../src/icon.h:53:36: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 53 | void icons_may_update(const gchar *path); | ~~~~~~~~~~~~~^~~~ ../src/run.c: In function 'follow_symlink': ../src/run.c:523:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 523 | tmp = g_strndup(full_path, slash - full_path); | ^ ../src/run.c:524:28: warning: pointer targets in passing argument 1 of 'make_path' differ in signedness [-Wpointer-sign] 524 | real = pathdup(make_path(tmp, path)); | ^~~ | | | guchar * {aka unsigned char *} In file included from ../src/run.c:31: ../src/support.h:18:37: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 18 | const guchar *make_path(const char *dir, const char *leaf); | ~~~~~~~~~~~~^~~ ../src/run.c:524:18: warning: pointer targets in passing argument 1 of 'pathdup' differ in signedness [-Wpointer-sign] 524 | real = pathdup(make_path(tmp, path)); | ^~~~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/run.c:31: ../src/support.h:17:27: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 17 | char *pathdup(const char *path); | ~~~~~~~~~~~~^~~~ ../src/run.c: In function 'open_file': ../src/run.c:569:16: warning: pointer targets in passing argument 1 of 'type_open' differ in signedness [-Wpointer-sign] 569 | if (type_open(path, type)) | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/run.c:54:39: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 54 | static gboolean type_open(const char *path, MIME_type *type); | ~~~~~~~~~~~~^~~~ ../src/run.c: In function 'open_mountpoint': ../src/run.c:602:34: warning: pointer targets in passing argument 2 of 'filer_change_to' differ in signedness [-Wpointer-sign] 602 | filer_change_to(filer_window, full_path, NULL); | ^~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/run.c:33: ../src/filer.h:139:16: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 139 | const char *path, const char *from); | ~~~~~~~~~~~~^~~~ ../src/run.c:607:34: warning: pointer targets in passing argument 2 of 'filer_change_to' differ in signedness [-Wpointer-sign] 607 | filer_change_to(filer_window, full_path, NULL); | ^~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/run.c:33: ../src/filer.h:139:16: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 139 | const char *path, const char *from); | ~~~~~~~~~~~~^~~~ ../src/run.c:609:18: warning: pointer targets in passing argument 1 of 'filer_opendir' differ in signedness [-Wpointer-sign] 609 | filer_opendir(full_path, src_window, NULL); | ^~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/run.c:33: ../src/filer.h:129:40: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 129 | FilerWindow *filer_opendir(const char *path, FilerWindow *src_win, const gchar *wm_class); | ~~~~~~~~~~~~^~~~ ../src/run.c: In function 'run_desktop': ../src/run.c:661:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 661 | if (terminal && g_strcasecmp(terminal, "true") == 0) { | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/run.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/run.c: In function 'type_open': ../src/run.c:778:25: warning: pointer targets in passing argument 1 of 'type_get_type' differ in signedness [-Wpointer-sign] 778 | else if (type_get_type(open) == application_x_desktop) | ^~~~ | | | char * In file included from ../src/run.c:36: ../src/type.h:40:40: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 40 | MIME_type *type_get_type(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/run.c: In function 'run_with_data': ../src/run.c:177:4: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 177 | chdir(home_dir); | ^~~~~~~~~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o sc.o ../src/sc.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/sc.c:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/sc.c:24: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/sc.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/sc.c:24: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o session.o ../src/session.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/session.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/session.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/session.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/session.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o support.o ../src/support.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/main.h:10, from ../src/support.c:45: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/main.h:10, from ../src/support.c:45: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/main.h:10, from ../src/support.c:45: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/support.c: In function 'soap_new': ../src/support.c:103:18: warning: pointer targets in passing argument 1 of 'xmlNewDoc' differ in signedness [-Wpointer-sign] 103 | doc = xmlNewDoc("1.0"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/support.c:38: /usr/include/libxml2/libxml/tree.h:780:30: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 780 | xmlNewDoc (const xmlChar *version); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/support.c:104:34: warning: pointer targets in passing argument 3 of 'xmlNewDocNode' differ in signedness [-Wpointer-sign] 104 | root = xmlNewDocNode(doc, NULL, "Envelope", NULL); | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/support.c:38: /usr/include/libxml2/libxml/tree.h:829:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ In file included from ../src/support.c:42: ../src/global.h:172:21: warning: pointer targets in passing argument 2 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 172 | #define SOAP_ENV_NS "http://www.w3.org/2001/12/soap-envelope" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../src/global.h:172:21: note: in definition of macro 'SOAP_ENV_NS' 172 | #define SOAP_ENV_NS "http://www.w3.org/2001/12/soap-envelope" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/support.c:38: /usr/include/libxml2/libxml/tree.h:773:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 773 | const xmlChar *href, | ~~~~~~~~~~~~~~~^~~~ ../src/support.c:107:39: warning: pointer targets in passing argument 3 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 107 | env_ns = xmlNewNs(root, SOAP_ENV_NS, "env"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/support.c:38: /usr/include/libxml2/libxml/tree.h:774:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 774 | const xmlChar *prefix); | ~~~~~~~~~~~~~~~^~~~~~ ../src/support.c:110:44: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 110 | *ret_body = xmlNewTextChild(root, env_ns, "Body", NULL); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/support.c:38: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ In file included from ../src/support.c:42: ../src/global.h:174:16: warning: pointer targets in passing argument 2 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 174 | #define ROX_NS "http://rox.sourceforge.net/SOAP/ROX-Filer" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../src/global.h:174:16: note: in definition of macro 'ROX_NS' 174 | #define ROX_NS "http://rox.sourceforge.net/SOAP/ROX-Filer" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/support.c:38: /usr/include/libxml2/libxml/tree.h:773:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 773 | const xmlChar *href, | ~~~~~~~~~~~~~~~^~~~ ../src/support.c:111:30: warning: pointer targets in passing argument 3 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 111 | xmlNewNs(*ret_body, ROX_NS, "rox"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/support.c:38: /usr/include/libxml2/libxml/tree.h:774:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 774 | const xmlChar *prefix); | ~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/glib-2.0/glib.h:62, from ../src/global.h:11, from ../src/support.c:42: ../src/support.c: In function 'make_path': ../src/support.c:141:42: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 141 | g_return_val_if_fail(dir != NULL, buffer->str); /usr/include/glib-2.0/glib/gmessages.h:644:17: note: in definition of macro 'g_return_val_if_fail' 644 | return (val); \ | ^~~ ../src/support.c:142:43: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 142 | g_return_val_if_fail(leaf != NULL, buffer->str); /usr/include/glib-2.0/glib/gmessages.h:644:17: note: in definition of macro 'g_return_val_if_fail' 644 | return (val); \ | ^~~ ../src/support.c:152:15: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 152 | return buffer->str; | ~~~~~~^~~~~ ../src/support.c: In function 'copy_file': ../src/support.c:598:10: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 598 | argv[2] = from; | ^ ../src/support.c:599:10: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 599 | argv[3] = to; | ^ ../src/support.c:601:9: warning: pointer targets in returning 'char *' from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 601 | return fork_exec_wait(argv); | ^~~~~~~~~~~~~~~~~~~~ ../src/support.c: In function 'shell_escape': ../src/support.c:623:9: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 623 | retval = tmp->str; | ^ ../src/support.c: In function 'in_list': ../src/support.c:691:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 691 | len = strlen(item); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/support.c:35: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../src/support.c:695:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 695 | if (strncmp(item, list, len) == 0 && | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/support.c:35: /usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ../src/support.c:695:21: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 695 | if (strncmp(item, list, len) == 0 && | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/support.c:35: /usr/include/string.h:140:51: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ../src/support.c:698:17: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 698 | list = strchr(list, ','); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/support.c:35: /usr/include/string.h:226:34: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 226 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ../src/support.c:698:8: warning: pointer targets in assignment from 'char *' to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 698 | list = strchr(list, ','); | ^ ../src/support.c: In function 'split_path': ../src/support.c:732:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 732 | slash = strchr(path, '/'); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/support.c:35: /usr/include/string.h:226:34: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 226 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ../src/support.c:732:9: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 732 | slash = strchr(path, '/'); | ^ ../src/support.c:735:37: warning: pointer targets in passing argument 1 of 'g_strndup' differ in signedness [-Wpointer-sign] 735 | g_ptr_array_add(array, g_strndup(path, slash - path)); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gstrfuncs.h:225:53: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 225 | gchar* g_strndup (const gchar *str, | ~~~~~~~~~~~~~^~~ ../src/support.c:739:35: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 739 | g_ptr_array_add(array, g_strdup(path)); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/support.c: In function 'get_relative_path': ../src/support.c:773:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 773 | if (strcmp(a, b) != 0) | ^ | | | guchar * {aka unsigned char *} In file included from ../src/support.c:35: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/support.c:773:17: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 773 | if (strcmp(a, b) != 0) | ^ | | | guchar * {aka unsigned char *} In file included from ../src/support.c:35: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/support.c:786:25: warning: pointer targets in passing argument 2 of 'g_string_append' differ in signedness [-Wpointer-sign] 786 | g_string_append(path, (guchar *) dst->pdata[j]); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib/giochannel.h:34, from /usr/include/glib-2.0/glib.h:54, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gstring.h:81:59: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 81 | const gchar *val); | ~~~~~~~~~~~~~~~~~^~~ ../src/support.c:803:9: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 803 | retval = path->str; | ^ ../src/support.c: In function 'text_to_boolean': ../src/support.c:815:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 815 | if (g_strcasecmp(text, "true")==0) | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/support.c:817:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 817 | else if (g_strcasecmp(text, "false")==0) | ^~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/support.c:819:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 819 | else if (g_strcasecmp(text, "yes")==0) | ^~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/support.c:821:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 821 | else if (g_strcasecmp(text, "no")==0) | ^~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/support.c: In function 'md5_hash': ../src/support.c:1087:18: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] 1087 | MD5Update(&ctx, message, strlen(message)); | ^~~~~~~ | | | const char * ../src/support.c:898:55: note: expected 'const unsigned char *' but argument is of type 'const char *' 898 | static void MD5Update(MD5Context *ctx, md5byte const *buf, unsigned len) | ^ ../src/support.c: In function 'expand_path': ../src/support.c:1135:9: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1135 | retval = g_strndup(path, path_len); | ^ ../src/support.c:1141:10: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1141 | retval = g_strconcat(home_dir, retval + 1, NULL); | ^ ../src/support.c:1145:9: warning: pointer targets in returning 'guchar *' {aka 'unsigned char *'} from a function with return type 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 1145 | return retval; | ^~~~~~ ../src/support.c: In function 'collate_key_new': ../src/support.c:1196:23: warning: pointer targets in passing argument 1 of 'g_utf8_validate' differ in signedness [-Wpointer-sign] 1196 | if (!g_utf8_validate(name, -1, NULL)) | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/gstring.h:33, from /usr/include/glib-2.0/glib/giochannel.h:34, from /usr/include/glib-2.0/glib.h:54, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gunicode.h:865:41: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 865 | gboolean g_utf8_validate (const gchar *str, | ~~~~~~~~~~~~~~^~~ ../src/support.c:1198:21: warning: pointer targets in passing argument 1 of 'to_utf8' differ in signedness [-Wpointer-sign] 1198 | to_free = to_utf8(name); | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/support.c:1092:29: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 1092 | gchar *to_utf8(const gchar *src) | ~~~~~~~~~~~~~^~~ ../src/support.c:1198:11: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1198 | to_free = to_utf8(name); | ^ ../src/support.c:1203:51: warning: pointer targets in passing argument 1 of 'g_utf8_get_char' differ in signedness [-Wpointer-sign] 1203 | retval->caps = g_unichar_isupper(g_utf8_get_char(name)); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/gstring.h:33, from /usr/include/glib-2.0/glib/giochannel.h:34, from /usr/include/glib-2.0/glib.h:54, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gunicode.h:771:51: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 771 | gunichar g_utf8_get_char (const gchar *p) G_GNUC_PURE; | ~~~~~~~~~~~~~~^ ../src/support.c:1205:23: warning: pointer targets in assignment from 'char *' to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 1205 | for (i = name; *i; i = g_utf8_next_char(i)) | ^ ../src/support.c:1214:32: warning: pointer targets in passing argument 1 of 'g_utf8_get_char' differ in signedness [-Wpointer-sign] 1214 | first_char = g_utf8_get_char(i); | ^ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/gstring.h:33, from /usr/include/glib-2.0/glib/giochannel.h:34, from /usr/include/glib-2.0/glib.h:54, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gunicode.h:771:51: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 771 | gunichar g_utf8_get_char (const gchar *p) G_GNUC_PURE; | ~~~~~~~~~~~~~~^ ../src/support.c:1220:25: warning: pointer targets in passing argument 1 of 'g_utf8_strdown' differ in signedness [-Wpointer-sign] 1220 | tmp = g_utf8_strdown(name, i - name); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/gstring.h:33, from /usr/include/glib-2.0/glib/giochannel.h:34, from /usr/include/glib-2.0/glib.h:54, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gunicode.h:877:37: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 877 | gchar *g_utf8_strdown (const gchar *str, | ~~~~~~~~~~~~~^~~ ../src/support.c:1221:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1221 | new.text = g_utf8_collate_key(tmp, -1); | ^ ../src/support.c:1223:24: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 1223 | new.number = strtol(i, &endp, 10); | ^ | | | const guchar * {aka const unsigned char *} In file included from ../src/support.c:25: /usr/include/stdlib.h:176:48: note: expected 'const char * restrict' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/support.c:1229:9: warning: pointer targets in assignment from 'char *' to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 1229 | name = endp; | ^ ../src/support.c:1234:23: warning: pointer targets in passing argument 1 of 'g_utf8_strdown' differ in signedness [-Wpointer-sign] 1234 | tmp = g_utf8_strdown(name, i - name); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/gstring.h:33, from /usr/include/glib-2.0/glib/giochannel.h:34, from /usr/include/glib-2.0/glib.h:54, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gunicode.h:877:37: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 877 | gchar *g_utf8_strdown (const gchar *str, | ~~~~~~~~~~~~~^~~ ../src/support.c:1235:11: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1235 | new.text = g_utf8_collate_key(tmp, -1); | ^ ../src/support.c: In function 'collate_key_cmp': ../src/support.c:1283:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1283 | r = strcmp(n1->text, n2->text); | ~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/support.c:35: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/support.c:1283:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1283 | r = strcmp(n1->text, n2->text); | ~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/support.c:35: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/support.c: In function 'escape_uri_path': ../src/support.c:1317:9: warning: pointer targets in assignment from 'const char *' to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 1317 | for (s = path; *s; s++) | ^ ../src/support.c: In function 'encode_path_as_uri': ../src/support.c:1333:43: warning: pointer targets in passing argument 1 of 'escape_uri_path' differ in signedness [-Wpointer-sign] 1333 | gchar *tpath = (gchar *) escape_uri_path(path); | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/support.c:1308:42: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 1308 | EscapedPath *escape_uri_path(const char *path) | ~~~~~~~~~~~~^~~~ ../src/support.c: In function 'strcmp2': ../src/support.c:1379:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 1379 | return g_strcasecmp(aa, bb); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ ../src/support.c: In function 'list_dir': ../src/support.c:1394:19: warning: pointer targets in passing argument 1 of 'g_dir_open' differ in signedness [-Wpointer-sign] 1394 | dir = g_dir_open(path, 0, &error); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib.h:45, from ../src/global.h:11, from ../src/support.c:42: /usr/include/glib-2.0/glib/gdir.h:40:62: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 40 | GDir * g_dir_open (const gchar *path, | ~~~~~~~~~~~~~~^~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o tasklist.o ../src/tasklist.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/tasklist.c:29: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/tasklist.c:29: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/tasklist.c:29: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/tasklist.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/tasklist.c: In function 'get_str': ../src/tasklist.c:284:19: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 284 | str = g_strdup(data); | ^~~~ | | | unsigned char * In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/tasklist.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'unsigned char *' 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/tasklist.c:284:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] 284 | str = g_strdup(data); | ^ ../src/tasklist.c: In function 'get_icon_name': ../src/tasklist.c:297:12: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 297 | win->text = get_str(win, xa__NET_WM_ICON_NAME); | ^ ../src/tasklist.c:299:13: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 299 | win->text = get_str(win, xa__NET_WM_VISIBLE_NAME); | ^ ../src/tasklist.c:301:13: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 301 | win->text = get_str(win, xa_WM_ICON_NAME); | ^ ../src/tasklist.c:303:13: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 303 | win->text = get_str(win, xa_WM_NAME); | ^ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o toolbar.o ../src/toolbar.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/toolbar.h:9, from ../src/toolbar.c:28: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/toolbar.h:9, from ../src/toolbar.c:28: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/toolbar.h:9, from ../src/toolbar.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../src/global.h:11, from ../src/toolbar.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/toolbar.c: In function 'toolbar_sort_clicked': ../src/toolbar.c:482:15: warning: pointer targets in passing argument 1 of 'tooltip_show' differ in signedness [-Wpointer-sign] 482 | tooltip_show(tip); | ^~~ | | | gchar * {aka char *} In file included from ../src/toolbar.c:43: ../src/gui_support.h:74:27: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 74 | void tooltip_show(guchar *text); | ~~~~~~~~^~~~ ../src/toolbar.c: In function 'option_notify': ../src/toolbar.c:788:32: warning: pointer targets in passing argument 1 of 'in_list' differ in signedness [-Wpointer-sign] 788 | tool->enabled = !in_list(tool->name, list); | ~~~~^~~~~~ | | | const gchar * {aka const char *} In file included from ../src/toolbar.c:30: ../src/support.h:37:32: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 37 | gboolean in_list(const guchar *item, const guchar *list); | ~~~~~~~~~~~~~~^~~~ In file included from /usr/include/glib-2.0/glib.h:62, from ../src/global.h:11, from ../src/toolbar.c:26: ../src/toolbar.c: In function 'read_tools': ../src/toolbar.c:847:43: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 847 | g_return_val_if_fail(name != NULL, list->str); /usr/include/glib-2.0/glib/gmessages.h:644:17: note: in definition of macro 'g_return_val_if_fail' 644 | return (val); \ | ^~~ ../src/toolbar.c:851:26: warning: pointer targets in passing argument 2 of 'g_string_append' differ in signedness [-Wpointer-sign] 851 | g_string_append(list, name); | ^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib/giochannel.h:34, from /usr/include/glib-2.0/glib.h:54, from ../src/global.h:11, from ../src/toolbar.c:26: /usr/include/glib-2.0/glib/gstring.h:81:59: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 81 | const gchar *val); | ~~~~~~~~~~~~~~~~~^~~ ../src/toolbar.c:856:9: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 856 | retval = list->str; | ^ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o type.o ../src/type.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/main.h:10, from ../src/type.c:45: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from ../src/fscache.h:15, from ../src/type.c:44: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/main.h:10, from ../src/type.c:45: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../src/global.h:11, from ../src/type.c:41: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/type.c: In function 'type_get_type': ../src/type.c:281:21: warning: pointer targets in passing argument 1 of 'diritem_new' differ in signedness [-Wpointer-sign] 281 | item = diritem_new(""); | ^~ | | | char * In file included from ../src/type.c:52: ../src/diritem.h:51:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 51 | DirItem *diritem_new(const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/type.c:290:24: warning: pointer targets in passing argument 1 of 'type_from_path' differ in signedness [-Wpointer-sign] 290 | type = type_from_path(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/type.c:50: ../src/type.h:42:39: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 42 | MIME_type *type_from_path(const char *path); | ~~~~~~~~~~~~^~~~ ../src/type.c: In function 'set_shell_action': ../src/type.c:574:10: warning: pointer targets in assignment from 'const gchar *' {aka 'const char *'} to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 574 | command = gtk_entry_get_text(entry); | ^ ../src/type.c:576:14: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 576 | if (!strchr(command, '$')) | ^~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from ../src/global.h:11, from ../src/type.c:41: /usr/include/string.h:226:34: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 226 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ../src/type.c: In function 'handler_for_radios': ../src/type.c:645:11: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 645 | return choices_find_xdg_path_load(type->media_type, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 646 | "MIME-types", SITE); | ~~~~~~~~~~~~~~~~~~~ ../src/type.c:656:11: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 656 | return handler; | ^~~~~~~ ../src/type.c: In function 'run_action_update': ../src/type.c:679:15: warning: pointer targets in initialization of 'char *' from 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 679 | char *old = handler; | ^~~~~~~ ../src/type.c:681:11: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 681 | handler = readlink_dup(old); | ^ ../src/type.c:685:12: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 685 | handler = old; | ^ ../src/type.c: In function 'drag_app_dropped': ../src/type.c:714:21: warning: pointer targets in passing argument 1 of 'diritem_new' differ in signedness [-Wpointer-sign] 714 | item = diritem_new(""); | ^~ | | | char * In file included from ../src/type.c:52: ../src/diritem.h:51:36: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 51 | DirItem *diritem_new(const guchar *leafname); | ~~~~~~~~~~~~~~^~~~~~~~ ../src/type.c:720:8: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 720 | path = get_action_save_path(dialog); | ^ ../src/type.c:724:16: warning: pointer targets in passing argument 1 of 'symlink' differ in signedness [-Wpointer-sign] 724 | if (symlink(app, path)) | ^~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/my_vfs.h:48, from ./config.h:49, from ../src/type.c:22: /usr/include/unistd.h:802:33: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 802 | extern int symlink (const char *__from, const char *__to) | ~~~~~~~~~~~~^~~~~~ ../src/type.c:724:21: warning: pointer targets in passing argument 2 of 'symlink' differ in signedness [-Wpointer-sign] 724 | if (symlink(app, path)) | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/my_vfs.h:48, from ./config.h:49, from ../src/type.c:22: /usr/include/unistd.h:802:53: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 802 | extern int symlink (const char *__from, const char *__to) | ~~~~~~~~~~~~^~~~ ../src/type.c: In function 'get_current_command': ../src/type.c:772:10: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 772 | command = g_strndup(data + 16, nl - data - 16); | ^ In file included from ./config.h:49, from ../src/type.c:22: ../src/type.c: In function 'describe_current_command': ../src/type.c:811:16: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] 811 | if (mc_lstat(tmp, &info) != 0 || info.st_uid != dir_uid | ^~~ | | | const guchar * {aka const unsigned char *} ../src/my_vfs.h:58:32: note: in definition of macro 'mc_lstat' 58 | # define mc_lstat(x, y) lstat(x, y) | ^ In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/type.c:22: /usr/include/sys/stat.h:460:1: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 460 | __NTH (lstat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../src/type.c:829:7: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 829 | desc = get_current_command(type); | ^ ../src/type.c: In function 'type_set_handler_dialog': ../src/type.c:917:40: warning: pointer targets in passing argument 2 of 'gtk_entry_set_text' differ in signedness [-Wpointer-sign] 917 | gtk_entry_set_text(GTK_ENTRY(entry), tmp); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gtk/gtktreeview.h:31, from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29, from /usr/include/gtk-2.0/gtk/gtk.h:72, from ../src/main.h:10, from ../src/type.c:45: /usr/include/gtk-2.0/gtk/gtkentry.h:214:65: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 214 | const gchar *text); | ~~~~~~~~~~~~~~~^~~~ ../src/type.c: In function 'remove_handler_with_confirm': ../src/type.c:954:12: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] 954 | if (lstat(path, &info) == 0) | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/type.c:22: /usr/include/sys/stat.h:460:1: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 460 | __NTH (lstat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../src/type.c:968:14: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 968 | if (unlink(path)) | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/my_vfs.h:48, from ./config.h:49, from ../src/type.c:22: /usr/include/unistd.h:825:32: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 825 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../src/type.c: In function 'get_action_save_path': ../src/type.c:998:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 998 | type_name = g_strdup(type->media_type); | ^ ../src/type.c:1000:13: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1000 | type_name = g_strconcat(type->media_type, "_", | ^ ../src/type.c:1003:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1003 | path = choices_find_xdg_path_save("", PROJECT, SITE, FALSE); | ^ ../src/type.c:1012:36: warning: pointer targets in passing argument 1 of 'choices_find_xdg_path_save' differ in signedness [-Wpointer-sign] 1012 | path = choices_find_xdg_path_save(type_name, "MIME-types", SITE, TRUE); | ^~~~~~~~~ | | | guchar * {aka unsigned char *} In file included from ../src/type.c:49: ../src/choices.h:14:51: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 14 | gchar *choices_find_xdg_path_save(const char *leaf, const char *dir, | ~~~~~~~~~~~~^~~~ ../src/type.c:1012:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1012 | path = choices_find_xdg_path_save(type_name, "MIME-types", SITE, TRUE); | ^ ../src/type.c:1018:9: warning: pointer targets in returning 'guchar *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 1018 | return path; | ^~~~ ../src/type.c: In function 'alloc_type_colours': ../src/type.c:1092:36: warning: pointer targets in passing argument 1 of 'gdk_color_parse' differ in signedness [-Wpointer-sign] 1092 | gdk_color_parse(o_type_colours[i].value, &type_colours[i]); | ~~~~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/gtk-2.0/gdk/gdkevents.h:34, from /usr/include/gtk-2.0/gdk/gdkdisplay.h:32, from /usr/include/gtk-2.0/gdk/gdkscreen.h:33, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/main.h:10, from ../src/type.c:45: /usr/include/gtk-2.0/gdk/gdkcolor.h:136:48: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 136 | gboolean gdk_color_parse (const gchar *spec, | ~~~~~~~~~~~~~~~~^~~~ ../src/type.c: In function 'get_comment': ../src/type.c:1190:23: warning: pointer targets in passing argument 1 of 'xml_cache_load' differ in signedness [-Wpointer-sign] 1190 | doc = xml_cache_load(path); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/type.c:51: ../src/support.h:14:41: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 14 | XMLwrapper *xml_cache_load(const gchar *pathname); | ~~~~~~~~~~~~~^~~~~~~~ ../src/type.c:1200:6: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1200 | val= xmlNodeListGetString(node->doc, node->xmlChildrenNode, 1); | ^ ../src/type.c: In function 'find_comment': ../src/type.c:1227:8: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1227 | path = g_strdup_printf("%s/mime/%s/%s.xml", dirs[i], | ^ ../src/type.c: In function 'set_icon_theme': ../src/type.c:1263:27: warning: pointer targets in initialization of 'const char *' from 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1263 | const char *theme_name = o_icon_theme.value; | ^~~~~~~~~~~~ ../src/type.c:1294:12: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 1294 | theme_dir = make_path(home_dir, ".icons"); | ^ ../src/type.c:1307:14: warning: pointer targets in passing argument 1 of 'symlink' differ in signedness [-Wpointer-sign] 1307 | if (symlink(make_path(app_dir, "ROX"), icon_home)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/my_vfs.h:48, from ./config.h:49, from ../src/type.c:22: /usr/include/unistd.h:802:33: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 802 | extern int symlink (const char *__from, const char *__to) | ~~~~~~~~~~~~^~~~~~ ../src/type.c:1310:16: warning: pointer targets in passing argument 1 of 'open_to_show' differ in signedness [-Wpointer-sign] 1310 | open_to_show(icon_home); | ^~~~~~~~~ | | | char * In file included from ../src/type.c:47: ../src/run.h:21:33: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 21 | void open_to_show(const guchar *path); | ~~~~~~~~~~~~~~^~~~ In file included from /usr/include/glib-2.0/glib.h:62, from ../src/global.h:11, from ../src/type.c:41: ../src/type.c: In function 'read_theme': ../src/type.c:1324:37: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1324 | g_return_val_if_fail(item != NULL, g_strdup("ROX")); /usr/include/glib-2.0/glib/gmessages.h:644:17: note: in definition of macro 'g_return_val_if_fail' 644 | return (val); \ | ^~~ ../src/type.c:1326:9: warning: pointer targets in returning 'gchar *' {aka 'char *'} from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1326 | return g_strdup(gtk_label_get_text(item)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/type.c: In function 'update_theme': ../src/type.c:1352:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1352 | if (strcmp(label, option->value) == 0) | ~~~~~~^~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from ../src/global.h:11, from ../src/type.c:41: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/type.c: In function 'add_themes_from_dir': ../src/type.c:1371:18: warning: pointer targets in passing argument 1 of 'list_dir' differ in signedness [-Wpointer-sign] 1371 | list = list_dir(dir); | ^~~ | | | const char * In file included from ../src/type.c:51: ../src/support.h:54:35: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 54 | GPtrArray *list_dir(const guchar *path); | ~~~~~~~~~~~~~~^~~~ In file included from ./config.h:52, from ../src/type.c:22: ../src/type.c: In function 'build_icon_theme': ../src/type.c:1405:52: warning: pointer targets in passing argument 2 of 'dcgettext' differ in signedness [-Wpointer-sign] 1405 | gtk_box_pack_start(GTK_BOX(hbox), gtk_label_new(_(label)), | ^~~~~ | | | guchar * {aka unsigned char *} ../src/type.c:1405:50: note: in expansion of macro '_' 1405 | gtk_box_pack_start(GTK_BOX(hbox), gtk_label_new(_(label)), | ^ In file included from ./config.h:52, from ../src/type.c:22: /usr/include/libintl.h:52:16: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 52 | const char *__msgid, int __category) | ~~~~~~~~~~~~^~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o usericons.o ../src/usericons.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/usericons.c:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/usericons.c:24: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/usericons.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/usericons.c:24: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/usericons.c: In function 'read_globicons': ../src/usericons.c:89:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 89 | path = choices_find_xdg_path_load("globicons", PROJECT, SITE); | ^ In file included from ./config.h:49, from ../src/usericons.c:22: ../src/usericons.c:93:14: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 93 | if (mc_stat(path, &info)) | ^~~~ | | | guchar * {aka unsigned char *} ../src/my_vfs.h:57:30: note: in definition of macro 'mc_stat' 57 | # define mc_stat(x, y) stat(x, y) | ^ In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/usericons.c:22: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../src/usericons.c:101:21: warning: pointer targets in passing argument 1 of 'xmlParseFile' differ in signedness [-Wpointer-sign] 101 | doc = xmlParseFile(path); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/usericons.c:30: /usr/include/libxml2/libxml/parser.h:844:30: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 844 | xmlParseFile (const char *filename); | ~~~~~~~~~~~~^~~~~~~~ ../src/usericons.c:116:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 116 | if (strcmp(node->name, "rule") != 0) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/usericons.c:24: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/usericons.c:121:29: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 121 | match = xmlGetProp(node, "match"); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/usericons.c:30: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ../src/usericons.c:121:10: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 121 | match = xmlGetProp(node, "match"); | ^ ../src/usericons.c:125:14: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 125 | icon_path = xmlNodeGetContent(icon); | ^ ../src/usericons.c:136:14: warning: pointer targets in passing argument 1 of 'parse_file' differ in signedness [-Wpointer-sign] 136 | parse_file(path, process_globicons_line); | ^~~~ | | | guchar * {aka unsigned char *} In file included from ../src/usericons.c:38: ../src/gui_support.h:62:29: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 62 | void parse_file(const char *path, ParseFunc *parse_line); | ~~~~~~~~~~~~^~~~ ../src/usericons.c: In function 'create_diricon': ../src/usericons.c:162:42: warning: pointer targets in passing argument 1 of 'make_path' differ in signedness [-Wpointer-sign] 162 | if (!convert_to_png(iconpath, make_path(filepath, ".DirIcon"))) | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/usericons.c:44: ../src/support.h:18:37: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 18 | const guchar *make_path(const char *dir, const char *leaf); | ~~~~~~~~~~~~^~~ ../src/usericons.c:162:22: warning: pointer targets in passing argument 1 of 'convert_to_png' differ in signedness [-Wpointer-sign] 162 | if (!convert_to_png(iconpath, make_path(filepath, ".DirIcon"))) | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/usericons.c:71:45: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 71 | static gboolean convert_to_png(const gchar *src, const gchar *dest); | ~~~~~~~~~~~~~^~~ ../src/usericons.c:162:32: warning: pointer targets in passing argument 2 of 'convert_to_png' differ in signedness [-Wpointer-sign] 162 | if (!convert_to_png(iconpath, make_path(filepath, ".DirIcon"))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const guchar * {aka const unsigned char *} ../src/usericons.c:71:63: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 71 | static gboolean convert_to_png(const gchar *src, const gchar *dest); | ~~~~~~~~~~~~~^~~~ ../src/usericons.c:166:19: warning: pointer targets in passing argument 1 of 'icons_may_update' differ in signedness [-Wpointer-sign] 166 | icons_may_update(filepath); | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/usericons.c:53: ../src/icon.h:53:36: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 53 | void icons_may_update(const gchar *path); | ~~~~~~~~~~~~~^~~~ ../src/usericons.c: In function 'set_icon_path': ../src/usericons.c:177:19: warning: pointer targets in passing argument 1 of 'file_exists' differ in signedness [-Wpointer-sign] 177 | if (!file_exists(iconpath)) | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/usericons.c:44: ../src/support.h:53:34: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 53 | gboolean file_exists(const char *path); | ~~~~~~~~~~~~^~~~ ../src/usericons.c:185:39: warning: pointer targets in passing argument 2 of 'g_fscache_lookup' differ in signedness [-Wpointer-sign] 185 | pic = g_fscache_lookup(pixmap_cache, iconpath); | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/usericons.c:35: ../src/fscache.h:33:56: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 33 | gpointer g_fscache_lookup(GFSCache *cache, const char *pathname); | ~~~~~~~~~~~~^~~~~~~~ ../src/usericons.c:198:15: warning: pointer targets in passing argument 1 of 'add_globicon' differ in signedness [-Wpointer-sign] 198 | add_globicon(filepath, iconpath); | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/usericons.c:45: ../src/usericons.h:15:32: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 15 | void add_globicon(const gchar *path, const gchar *icon); | ~~~~~~~~~~~~~^~~~ ../src/usericons.c:198:25: warning: pointer targets in passing argument 2 of 'add_globicon' differ in signedness [-Wpointer-sign] 198 | add_globicon(filepath, iconpath); | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/usericons.c:45: ../src/usericons.h:15:51: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 15 | void add_globicon(const gchar *path, const gchar *icon); | ~~~~~~~~~~~~~^~~~ ../src/usericons.c: In function 'clear_icon': ../src/usericons.c:221:19: warning: pointer targets in passing argument 1 of 'delete_globicon' differ in signedness [-Wpointer-sign] 221 | delete_globicon(pathname); | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/usericons.c:45: ../src/usericons.h:16:35: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 16 | void delete_globicon(const gchar *path); | ~~~~~~~~~~~~~^~~~ ../src/usericons.c:232:8: warning: pointer targets in assignment from 'const gchar *' {aka 'const char *'} to 'const guchar *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 232 | path = drop_box_get_path(drop_box); | ^ ../src/usericons.c:235:7: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 235 | tmp = g_strdup_printf(_("Really delete icon '%s'?"), path); | ^ ../src/usericons.c:236:15: warning: pointer targets in passing argument 1 of 'confirm' differ in signedness [-Wpointer-sign] 236 | if (confirm(tmp, GTK_STOCK_DELETE, NULL)) | ^~~ | | | guchar * {aka unsigned char *} In file included from ../src/usericons.c:38: ../src/gui_support.h:77:31: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 77 | gboolean confirm(const gchar *message, const gchar *stock, const gchar *action); | ~~~~~~~~~~~~~^~~~~~~ ../src/usericons.c:238:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 238 | if (unlink(path)) | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/my_vfs.h:48, from ./config.h:49, from ../src/usericons.c:22: /usr/include/unistd.h:825:32: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 825 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../src/usericons.c:244:22: warning: pointer targets in passing argument 1 of 'icons_may_update' differ in signedness [-Wpointer-sign] 244 | icons_may_update(pathname); | ^~~~~~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/usericons.c:53: ../src/icon.h:53:36: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 53 | void icons_may_update(const gchar *path); | ~~~~~~~~~~~~~^~~~ ../src/usericons.c: In function 'icon_set_handler_dialog': ../src/usericons.c:270:13: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 270 | strdup(path), g_free); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/usericons.c:24: /usr/include/string.h:167:34: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 167 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ In file included from ./config.h:49, from ../src/usericons.c:22: ../src/usericons.c:304:14: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 304 | if (mc_stat(path, &info) == 0 && S_ISDIR(info.st_mode)) | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/my_vfs.h:57:30: note: in definition of macro 'mc_stat' 57 | # define mc_stat(x, y) stat(x, y) | ^ In file included from /usr/include/features.h:450, from /usr/include/sys/stat.h:25, from ../src/my_vfs.h:47, from ./config.h:49, from ../src/usericons.c:22: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ^~~~~ ../src/usericons.c:314:14: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] 314 | if (access(path, W_OK) == 0) | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/my_vfs.h:48, from ./config.h:49, from ../src/usericons.c:22: /usr/include/unistd.h:287:32: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ ../src/usericons.c: In function 'radios_changed': ../src/usericons.c:373:32: warning: pointer targets in passing argument 2 of 'drop_box_set_path' differ in signedness [-Wpointer-sign] 373 | drop_box_set_path(drop_box, path); | ^~~~ | | | char * In file included from ../src/usericons.c:52: ../src/dropbox.h:18:57: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 18 | void drop_box_set_path(DropBox *drop_box, const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/usericons.c:386:32: warning: pointer targets in passing argument 2 of 'drop_box_set_path' differ in signedness [-Wpointer-sign] 386 | drop_box_set_path(drop_box, path); | ^~~~ | | | char * In file included from ../src/usericons.c:52: ../src/dropbox.h:18:57: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'char *' 18 | void drop_box_set_path(DropBox *drop_box, const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/usericons.c:394:32: warning: pointer targets in passing argument 2 of 'drop_box_set_path' differ in signedness [-Wpointer-sign] 394 | drop_box_set_path(drop_box, gi); | ^~ | | | const char * In file included from ../src/usericons.c:52: ../src/dropbox.h:18:57: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 18 | void drop_box_set_path(DropBox *drop_box, const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/usericons.c:400:24: warning: pointer targets in passing argument 1 of 'make_path' differ in signedness [-Wpointer-sign] 400 | diricon = make_path(path, ".DirIcon"); | ^~~~ | | | const guchar * {aka const unsigned char *} In file included from ../src/usericons.c:44: ../src/support.h:18:37: note: expected 'const char *' but argument is of type 'const guchar *' {aka 'const unsigned char *'} 18 | const guchar *make_path(const char *dir, const char *leaf); | ~~~~~~~~~~~~^~~ ../src/usericons.c:400:12: warning: pointer targets in assignment from 'const guchar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 400 | diricon = make_path(path, ".DirIcon"); | ^ ../src/usericons.c:402:33: warning: pointer targets in passing argument 2 of 'drop_box_set_path' differ in signedness [-Wpointer-sign] 402 | drop_box_set_path(drop_box, diricon); | ^~~~~~~ | | | const char * In file included from ../src/usericons.c:52: ../src/dropbox.h:18:57: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 18 | void drop_box_set_path(DropBox *drop_box, const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/usericons.c: In function 'write_globicon': ../src/usericons.c:426:36: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 426 | tree = xmlNewTextChild(doc, NULL, "rule", NULL); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/usericons.c:30: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/usericons.c:427:19: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 427 | xmlSetProp(tree, "match", key); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/usericons.c:30: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/usericons.c:428:30: warning: pointer targets in passing argument 3 of 'xmlNewTextChild' differ in signedness [-Wpointer-sign] 428 | xmlNewTextChild(tree, NULL, "icon", value); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/usericons.c:30: /usr/include/libxml2/libxml/tree.h:899:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/usericons.c: In function 'write_globicons': ../src/usericons.c:444:18: warning: pointer targets in passing argument 1 of 'xmlNewDoc' differ in signedness [-Wpointer-sign] 444 | doc = xmlNewDoc("1.0"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/usericons.c:30: /usr/include/libxml2/libxml/tree.h:780:30: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 780 | xmlNewDoc (const xmlChar *version); | ~~~~~~~~~~~~~~~^~~~~~~ ../src/usericons.c:446:41: warning: pointer targets in passing argument 3 of 'xmlNewDocNode' differ in signedness [-Wpointer-sign] 446 | xmlNewDocNode(doc, NULL, "special-files", NULL)); | ^~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from ../src/usericons.c:30: /usr/include/libxml2/libxml/tree.h:829:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ../src/usericons.c: In function 'process_globicons_line': ../src/usericons.c:473:10: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 473 | pattern = strtok(line, " \t"); | ^ ../src/usericons.c:478:11: warning: pointer targets in assignment from 'char *' to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 478 | iconpath = strtok(NULL, " \t"); | ^ ../src/usericons.c:484:43: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 484 | g_hash_table_insert(glob_icons, g_strdup(pattern), g_strdup(iconpath)); | ^~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/usericons.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/usericons.c:484:62: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] 484 | g_hash_table_insert(glob_icons, g_strdup(pattern), g_strdup(iconpath)); | ^~~~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/usericons.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:217:52: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 217 | gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; | ~~~~~~~~~~~~~^~~ ../src/usericons.c: In function 'add_globicon': ../src/usericons.c:502:10: warning: pointer targets in passing argument 1 of 'examine' differ in signedness [-Wpointer-sign] 502 | examine(path); | ^~~~ | | | const gchar * {aka const char *} In file included from ../src/usericons.c:42: ../src/run.h:22:28: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 22 | void examine(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/usericons.c: In function 'delete_globicon': ../src/usericons.c:519:10: warning: pointer targets in passing argument 1 of 'examine' differ in signedness [-Wpointer-sign] 519 | examine(path); | ^~~~ | | | const gchar * {aka const char *} In file included from ../src/usericons.c:42: ../src/run.h:22:28: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 22 | void examine(const guchar *path); | ~~~~~~~~~~~~~~^~~~ ../src/usericons.c: In function 'do_set_icon': ../src/usericons.c:539:28: warning: pointer targets in passing argument 2 of 'set_icon_path' differ in signedness [-Wpointer-sign] 539 | if (!set_icon_path(path, icon)) | ^~~~ | | | const gchar * {aka const char *} ../src/usericons.c:172:69: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 172 | static gboolean set_icon_path(const guchar *filepath, const guchar *iconpath) | ~~~~~~~~~~~~~~^~~~~~~~ ../src/usericons.c:544:29: warning: pointer targets in passing argument 2 of 'create_diricon' differ in signedness [-Wpointer-sign] 544 | if (!create_diricon(path, icon)) | ^~~~ | | | const gchar * {aka const char *} ../src/usericons.c:160:70: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'const gchar *' {aka 'const char *'} 160 | static gboolean create_diricon(const guchar *filepath, const guchar *iconpath) | ~~~~~~~~~~~~~~^~~~~~~~ ../src/usericons.c: In function 'drag_icon_dropped': ../src/usericons.c:568:22: warning: pointer targets in passing argument 2 of 'do_set_icon' differ in signedness [-Wpointer-sign] 568 | do_set_icon(dialog, path); | ^~~~ | | | const guchar * {aka const unsigned char *} ../src/usericons.c:523:57: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'const guchar *' {aka 'const unsigned char *'} 523 | static void do_set_icon(GtkWidget *dialog, const gchar *icon) | ~~~~~~~~~~~~~^~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o view_collection.o ../src/view_collection.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/view_collection.c:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/view_collection.c:24: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/view_collection.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/view_collection.c:24: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o view_details.o ../src/view_details.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/view_details.c:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/view_details.c:24: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/view_details.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/view_details.c:24: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/view_details.c: In function 'view_details_init': ../src/view_details.c:1024:19: warning: variable 'sortable_list' set but not used [-Wunused-but-set-variable] 1024 | GtkTreeSortable *sortable_list; | ^~~~~~~~~~~~~ ../src/view_details.c: In function 'resort': ../src/view_details.c:1210:18: warning: pointer targets in passing argument 4 of 'gtk_tree_model_rows_reordered' differ in signedness [-Wpointer-sign] 1210 | path, NULL, new_order); | ^~~~~~~~~ | | | guint * {aka unsigned int *} In file included from /usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h:28, from /usr/include/gtk-2.0/gtk/gtkcelllayout.h:28, from /usr/include/gtk-2.0/gtk/gtk.h:55, from ../src/view_details.c:24: /usr/include/gtk-2.0/gtk/gtktreemodel.h:266:23: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 266 | gint *new_order); | ~~~~~~~~~~~~~~^~~~~~~~~ ../src/view_details.c: In function 'view_details_get_iter_at_point': ../src/view_details.c:1469:16: warning: variable 'model' set but not used [-Wunused-but-set-variable] 1469 | GtkTreeModel *model; | ^~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o view_iface.o ../src/view_iface.c gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o wrapped.o ../src/wrapped.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/wrapped.c:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/wrapped.c:24: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/wrapped.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/wrapped.c:24: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o xml.o ../src/xml.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/i18n.h:6, from ../src/xml.c:30: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/i18n.h:6, from ../src/xml.c:30: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/i18n.h:6, from ../src/xml.c:30: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../src/global.h:11, from ../src/xml.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/xml.c: In function 'get_subnode': ../src/xml.c:86:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 86 | if (strcmp(node->name, name)) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/xml.c:24: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/xml.c:96:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 96 | if (strcmp(node->ns->href, namespaceURI) == 0) | ~~~~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/xml.c:24: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/xml.c: In function 'best_lang': ../src/xml.c:130:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 130 | if (strcmp(node->name, first->name)) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/xml.c:24: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/xml.c:130:31: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 130 | if (strcmp(node->name, first->name)) | ~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/xml.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/xml.c:138:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 138 | if (strcmp(node->ns->href, first->ns->href)) | ~~~~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/xml.c:24: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/xml.c:138:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 138 | if (strcmp(node->ns->href, first->ns->href)) | ~~~~~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from ../src/xml.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../src/xml.c:141:8: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 141 | lang = xmlNodeGetLang(node); | ^ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o xtypes.o ../src/xtypes.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/type.h:9, from ../src/xtypes.c:38: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/type.h:9, from ../src/xtypes.c:38: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/type.h:9, from ../src/xtypes.c:38: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../src/xtypes.c:35: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o xdgmime.o ../src/xdgmime.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../src/main.h:10, from ../src/xdgmime.c:49: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../src/main.h:10, from ../src/xdgmime.c:49: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../src/main.h:10, from ../src/xdgmime.c:49: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from ../src/global.h:11, from ../src/xdgmime.c:48: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../src/xdgmime.c: In function 'xdg_mime_init': ../src/xdgmime.c:445:11: warning: unused variable 'l' [-Wunused-variable] 445 | int l; | ^ gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o xdgmimeglob.o ../src/xdgmimeglob.c gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o xdgmimeint.o ../src/xdgmimeint.c gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o xdgmimemagic.o ../src/xdgmimemagic.c gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o xdgmimeparent.o ../src/xdgmimeparent.c gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o xdgmimealias.o ../src/xdgmimealias.c gcc -I. -I../src -g -O2 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o xdgmimecache.o ../src/xdgmimecache.c ../src/xdgmimecache.c:45:2: warning: #warning Building xdgmime without MMAP support. Binary "mime.info" cache files will not be used. [-Wcpp] 45 | #warning Building xdgmime without MMAP support. Binary "mime.info" cache files will not be used. | ^~~~~~~ gcc -o "ROX-Filer" abox.o action.o appinfo.o appmenu.o bind.o bookmarks.o bulk_rename.o cell_icon.o choices.o collection.o dir.o diritem.o display.o dnd.o dropbox.o filer.o find.o fscache.o gtksavebox.o gui_support.o i18n.o icon.o infobox.o log.o main.o menu.o minibuffer.o modechange.o mount.o options.o panel.o pinboard.o pixmaps.o remote.o run.o sc.o session.o support.o tasklist.o toolbar.o type.o usericons.o view_collection.o view_details.o view_iface.o wrapped.o xml.o xtypes.o xdgmime.o xdgmimeglob.o xdgmimeint.o xdgmimemagic.o xdgmimeparent.o xdgmimealias.o xdgmimecache.o `pkg-config --libs gtk+-2.0 libxml-2.0 | sed 's/-lpangoxft-[^ ]*//'` -lX11 -lICE -lSM -ldl -lm /usr/bin/ld.default: session.o:/usr/src/RPM/BUILD/rox-filer-2.11/ROX-Filer/build/../src/session.h:13: multiple definition of `session_auto_respawn'; main.o:/usr/src/RPM/BUILD/rox-filer-2.11/ROX-Filer/build/../src/session.h:13: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:48: ROX-Filer] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/rox-filer-2.11/ROX-Filer/build' error: Bad exit status from /usr/src/tmp/rpm-tmp.84109 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.84109 (%build) Command exited with non-zero status 1 30.30user 3.40system 0:46.62elapsed 72%CPU (0avgtext+0avgdata 67872maxresident)k 0inputs+0outputs (0major+1273774minor)pagefaults 0swaps hsh-rebuild: rebuild of `rox-base-2.11-alt1.src.rpm' failed. Command exited with non-zero status 1 40.86user 6.17system 1:06.84elapsed 70%CPU (0avgtext+0avgdata 108972maxresident)k 48inputs+0outputs (0major+1605988minor)pagefaults 0swaps