=>> Building multimedia/mplayer build started at Thu May 1 20:23:55 BST 2025 port directory: /usr/ports/multimedia/mplayer package name: mplayer-1.5.0.20240928_2 building for: FreeBSD pkg-builder.dan.net.uk 14.2-RELEASE FreeBSD 14.2-RELEASE amd64 maintained by: riggs@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 3144 Apr 12 14:06 /usr/ports/multimedia/mplayer/Makefile Ports top last git commit: 5529c5919b Ports top unclean checkout: yes Port dir last git commit: 64f3a6bf7e Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1402000 Job Id: 03 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1402000 UNAME_v=FreeBSD 14.2-RELEASE UNAME_r=14.2-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=14-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for mplayer-1.5.0.20240928_2: AALIB=off: AAlib graphics library support AMR_NB=off: AMR Narrow Band audio support (opencore) AMR_WB=off: AMR Wide Band audio support (opencore) ASS=on: Subtitles rendering via libass BLURAY=on: BluRay support CACA=off: libcaca graphics library support CDIO=off: CDIO support via libcdio DV=on: Quasar DV video codec support (libdv) DVDNAV=on: DVD navigation features support ENCA=off: Charset conversion via enca FONTCONFIG=on: X11 font configuration support FRIBIDI=on: Bidirectional text support via GNU FriBidi GIF=on: GIF image format support GNUTLS=on: SSL/TLS support via GnuTLS GSM=on: GSM codec support GUI=on: GUI (Graphical User Interface) support IPV6=on: IPv6 protocol support JACK=off: JACK audio server support JPEG=on: JPEG image format support LADSPA=off: LADSPA audio plugins support LIBMNG=on: MNG animated images support via libmng LIRC=off: Infrared remote control support LZO=on: External liblzo support NAS=off: Network Audio System support NLS=on: Native Language Support OPENAL=off: Audio support via OpenAL OPENGL=on: 2D/3D rendering support via OpenGL OPENJPEG=on: JPEG 2000 support via OpenJPEG OPUS=off: Opus audio codec support PULSEAUDIO=off: PulseAudio sound server support RTCPU=on: Use runtime CPU detection SDL=off: Simple Direct Media Layer support SKINS=on: Install skins for GUI SMB=on: SMB network protocol support SNDIO=off: Sndio audio support SPEEX=off: Speex audio format support SVGALIB=off: SVGA graphics support V4L=off: Video 4 Linux support VDPAU=on: VDPAU (GPU video acceleration) support VPX=on: VP8/VP9 video codec support X11=on: X11 (graphics) support X11DGA=on: X11 DGA video driver support X11VM=on: X11 VidMode support XINERAMA=on: X11 Xinerama extension support XVIDEO=on: X11 Video extension library support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- riggs@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --cc="cc" --host-cc="cc" --as="as" --mandir="/usr/local/share/man" --extra-cflags="-I/usr/local/include -I/usr/local/include" --extra-libs="-L/usr/local/lib" --disable-alsa --disable-ass-internal --disable-bitmap-font --disable-crystalhd --disable-esd --disable-faad --disable-ffmpeg_a --disable-ggi --disable-ggiwmh --disable-liba52 --disable-libbs2b --disable-libilbc --disable-libnut --disable-libvorbis --disable-live --disable-joystick --disable-mad --disable-libmpeg2 --disable-nemesi --disable-real --yasm='' --disable-aa --disable-libopencore_amrnb --disable-libopencore_amrwb --disable-caca --disable-libcdio --enable-libdv --disable-enca --enable-gui --disable-jack --disable-ladspa --disable-lirc --disable-nas --enable-nls --disable-openal --enable-libopenjpeg --disable-libopus --disable-pulse --enable-runtime-cpudetection --disable-sdl --extra-ldflags="-L/usr/local/lib/samba4" --disable-sndio --disable-speex --disable-svga --disable-tv-v4l1 --disable-tv-v4l2 --enable-libvpx-lavc --disable-arts --disable-directfb --disable-faac --disable-libdca --disable-toolame --disable-twolame --disable-x264 --disable-xvid --disable-mencoder --disable-mpg123 --disable-musepack --disable-theora --disable-librtmp --disable-win32dll --disable-qtx --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR="/wrkdirs/usr/ports/multimedia/mplayer/work/mplayer-export-2024-09-28" MAKE=/usr/local/bin/gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/mplayer/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/mplayer/work XDG_CACHE_HOME=/wrkdirs/usr/ports/multimedia/mplayer/work/.cache HOME=/wrkdirs/usr/ports/multimedia/mplayer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/multimedia/mplayer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/multimedia/mplayer/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/mplayer/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/mplayer/work XDG_CACHE_HOME=/wrkdirs/usr/ports/multimedia/mplayer/work/.cache HOME=/wrkdirs/usr/ports/multimedia/mplayer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/multimedia/mplayer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/multimedia/mplayer/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- AALIB="@comment " NO_AALIB="" AMR_NB="@comment " NO_AMR_NB="" AMR_WB="@comment " NO_AMR_WB="" ASS="" NO_ASS="@comment " BLURAY="" NO_BLURAY="@comment " CACA="@comment " NO_CACA="" CDIO="@comment " NO_CDIO="" DV="" NO_DV="@comment " DVDNAV="" NO_DVDNAV="@comment " ENCA="@comment " NO_ENCA="" FONTCONFIG="" NO_FONTCONFIG="@comment " FRIBIDI="" NO_FRIBIDI="@comment " GIF="" NO_GIF="@comment " GNUTLS="" NO_GNUTLS="@comment " GSM="" NO_GSM="@comment " GUI="" NO_GUI="@comment " IPV6="" NO_IPV6="@comment " JACK="@comment " NO_JACK="" JPEG="" NO_JPEG="@comment " LADSPA="@comment " NO_LADSPA="" LIBMNG="" NO_LIBMNG="@comment " LIRC="@comment " NO_LIRC="" LZO="" NO_LZO="@comment " NAS="@comment " NO_NAS="" NLS="" NO_NLS="@comment " OPENAL="@comment " NO_OPENAL="" OPENGL="" NO_OPENGL="@comment " OPENJPEG="" NO_OPENJPEG="@comment " OPUS="@comment " NO_OPUS="" PULSEAUDIO="@comment " NO_PULSEAUDIO="" RTCPU="" NO_RTCPU="@comment " SDL="@comment " NO_SDL="" SKINS="" NO_SKINS="@comment " SMB="" NO_SMB="@comment " SNDIO="@comment " NO_SNDIO="" SPEEX="@comment " NO_SPEEX="" SVGALIB="@comment " NO_SVGALIB="" V4L="@comment " NO_V4L="" VDPAU="" NO_VDPAU="@comment " VPX="" NO_VPX="@comment " X11="" NO_X11="@comment " X11DGA="" NO_X11DGA="@comment " X11VM="" NO_X11VM="@comment " XINERAMA="" NO_XINERAMA="@comment " XVIDEO="" NO_XVIDEO="@comment " GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" GTK4_VERSION="4.0.0" OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mplayer" EXAMPLESDIR="share/examples/mplayer" DATADIR="share/mplayer" WWWDIR="www/mplayer" ETCDIR="etc/mplayer" --End PLIST_SUB-- --SUB_LIST-- AALIB="@comment " NO_AALIB="" AMR_NB="@comment " NO_AMR_NB="" AMR_WB="@comment " NO_AMR_WB="" ASS="" NO_ASS="@comment " BLURAY="" NO_BLURAY="@comment " CACA="@comment " NO_CACA="" CDIO="@comment " NO_CDIO="" DV="" NO_DV="@comment " DVDNAV="" NO_DVDNAV="@comment " ENCA="@comment " NO_ENCA="" FONTCONFIG="" NO_FONTCONFIG="@comment " FRIBIDI="" NO_FRIBIDI="@comment " GIF="" NO_GIF="@comment " GNUTLS="" NO_GNUTLS="@comment " GSM="" NO_GSM="@comment " GUI="" NO_GUI="@comment " IPV6="" NO_IPV6="@comment " JACK="@comment " NO_JACK="" JPEG="" NO_JPEG="@comment " LADSPA="@comment " NO_LADSPA="" LIBMNG="" NO_LIBMNG="@comment " LIRC="@comment " NO_LIRC="" LZO="" NO_LZO="@comment " NAS="@comment " NO_NAS="" NLS="" NO_NLS="@comment " OPENAL="@comment " NO_OPENAL="" OPENGL="" NO_OPENGL="@comment " OPENJPEG="" NO_OPENJPEG="@comment " OPUS="@comment " NO_OPUS="" PULSEAUDIO="@comment " NO_PULSEAUDIO="" RTCPU="" NO_RTCPU="@comment " SDL="@comment " NO_SDL="" SKINS="" NO_SKINS="@comment " SMB="" NO_SMB="@comment " SNDIO="@comment " NO_SNDIO="" SPEEX="@comment " NO_SPEEX="" SVGALIB="@comment " NO_SVGALIB="" V4L="@comment " NO_V4L="" VDPAU="" NO_VDPAU="@comment " VPX="" NO_VPX="@comment " X11="" NO_X11="@comment " X11DGA="" NO_X11DGA="@comment " X11VM="" NO_X11VM="@comment " XINERAMA="" NO_XINERAMA="@comment " XVIDEO="" NO_XVIDEO="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mplayer DOCSDIR=/usr/local/share/doc/mplayer EXAMPLESDIR=/usr/local/share/examples/mplayer WWWDIR=/usr/local/www/mplayer ETCDIR=/usr/local/etc/mplayer --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl apache=2.4 imagemagick=7 java=21 linux=c7 mysql=8.0 php=8.3 samba=4.19 varnish=7 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE ALLOW_UNSUPPORTED_SYSTEM=yes WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 N - O - T - E There are some knobs which *can* *not* be selected via the OPTIONS framework. At the moment, these settings are: WITH_KERN_HZ=1024 DEFAULT_DVD_DEVICE=/dev/cd0 DEFAULT_CDROM_DEVICE=/dev/cd0 If you want to use the GUI, you can use the skins from /usr/ports/multimedia/mplayer-skins or download them from http://www.mplayerhq.hu/ =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.1.2.pkg [pkg-builder.dan.net.uk] Installing pkg-2.1.2... [pkg-builder.dan.net.uk] Extracting pkg-2.1.2: .......... done ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mplayer-1.5.0.20240928_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 N - O - T - E There are some knobs which *can* *not* be selected via the OPTIONS framework. At the moment, these settings are: WITH_KERN_HZ=1024 DEFAULT_DVD_DEVICE=/dev/cd0 DEFAULT_CDROM_DEVICE=/dev/cd0 If you want to use the GUI, you can use the skins from /usr/ports/multimedia/mplayer-skins or download them from http://www.mplayerhq.hu/ ===> Fetching all distfiles required by mplayer-1.5.0.20240928_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 N - O - T - E There are some knobs which *can* *not* be selected via the OPTIONS framework. At the moment, these settings are: WITH_KERN_HZ=1024 DEFAULT_DVD_DEVICE=/dev/cd0 DEFAULT_CDROM_DEVICE=/dev/cd0 If you want to use the GUI, you can use the skins from /usr/ports/multimedia/mplayer-skins or download them from http://www.mplayerhq.hu/ ===> Fetching all distfiles required by mplayer-1.5.0.20240928_2 for building => SHA256 Checksum OK for mplayer-1.5.0.20240928.tar.xz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 N - O - T - E There are some knobs which *can* *not* be selected via the OPTIONS framework. At the moment, these settings are: WITH_KERN_HZ=1024 DEFAULT_DVD_DEVICE=/dev/cd0 DEFAULT_CDROM_DEVICE=/dev/cd0 If you want to use the GUI, you can use the skins from /usr/ports/multimedia/mplayer-skins or download them from http://www.mplayerhq.hu/ ===> Fetching all distfiles required by mplayer-1.5.0.20240928_2 for building ===> Extracting for mplayer-1.5.0.20240928_2 => SHA256 Checksum OK for mplayer-1.5.0.20240928.tar.xz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for mplayer-1.5.0.20240928_2 ===> Applying extra patch /usr/ports/multimedia/mplayer/files/extra-patch-clang-version ===> Applying FreeBSD patches for mplayer-1.5.0.20240928_2 from /usr/ports/multimedia/mplayer/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mplayer-1.5.0.20240928_2 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.23.1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1_1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1_1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.23.1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> mplayer-1.5.0.20240928_2 depends on package: gmake>=4.4.1 - found ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-2.3.0_1,1.pkg [pkg-builder.dan.net.uk] Installing pkgconf-2.3.0_1,1... [pkg-builder.dan.net.uk] Extracting pkgconf-2.3.0_1,1: .......... done ===> mplayer-1.5.0.20240928_2 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on package: gettext-runtime>=0.22_1 - found ===> mplayer-1.5.0.20240928_2 depends on executable: msgfmt - not found ===> Installing existing package /packages/All/gettext-tools-0.23.1_1.pkg [pkg-builder.dan.net.uk] Installing gettext-tools-0.23.1_1... [pkg-builder.dan.net.uk] `-- Installing libtextstyle-0.23.1... [pkg-builder.dan.net.uk] `-- Extracting libtextstyle-0.23.1: .......... done [pkg-builder.dan.net.uk] Extracting gettext-tools-0.23.1_1: .......... done ===> mplayer-1.5.0.20240928_2 depends on executable: msgfmt - found ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on package: xorgproto>=0 - not found ===> Installing existing package /packages/All/xorgproto-2024.1.pkg [pkg-builder.dan.net.uk] Installing xorgproto-2024.1... [pkg-builder.dan.net.uk] Extracting xorgproto-2024.1: .......... done ===> mplayer-1.5.0.20240928_2 depends on package: xorgproto>=0 - found ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on package: xorgproto>=0 - found ===> mplayer-1.5.0.20240928_2 depends on package: xorgproto>=0 - found ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg-builder.dan.net.uk] Installing libX11-1.8.12,1... [pkg-builder.dan.net.uk] `-- Installing libxcb-1.17.0... [pkg-builder.dan.net.uk] | `-- Installing libXau-1.0.11... [pkg-builder.dan.net.uk] | `-- Extracting libXau-1.0.11: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] `-- Extracting libxcb-1.17.0: .......... done [pkg-builder.dan.net.uk] Extracting libX11-1.8.12,1: .......... done ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.6,1.pkg [pkg-builder.dan.net.uk] Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] Extracting libXext-1.3.6,1: .......... done ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xscrnsaver.pc - not found ===> Installing existing package /packages/All/libXScrnSaver-1.2.4_1.pkg [pkg-builder.dan.net.uk] Installing libXScrnSaver-1.2.4_1... [pkg-builder.dan.net.uk] Extracting libXScrnSaver-1.2.4_1: .......... done ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xscrnsaver.pc - found ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xxf86dga.pc - not found ===> Installing existing package /packages/All/libXxf86dga-1.1.6_1.pkg [pkg-builder.dan.net.uk] Installing libXxf86dga-1.1.6_1... [pkg-builder.dan.net.uk] Extracting libXxf86dga-1.1.6_1: .......... done ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xxf86dga.pc - found ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - not found ===> Installing existing package /packages/All/libXxf86vm-1.1.5.pkg [pkg-builder.dan.net.uk] Installing libXxf86vm-1.1.5... [pkg-builder.dan.net.uk] Extracting libXxf86vm-1.1.5: .......... done ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - not found ===> Installing existing package /packages/All/libXinerama-1.1.5,1.pkg [pkg-builder.dan.net.uk] Installing libXinerama-1.1.5,1... [pkg-builder.dan.net.uk] Extracting libXinerama-1.1.5,1: .......... done ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xv.pc - not found ===> Installing existing package /packages/All/libXv-1.0.12_1,1.pkg [pkg-builder.dan.net.uk] Installing libXv-1.0.12_1,1... [pkg-builder.dan.net.uk] Extracting libXv-1.0.12_1,1: .......... done ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xv.pc - found ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg-builder.dan.net.uk] Installing ccache-3.7.12_8... [pkg-builder.dan.net.uk] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of mplayer-1.5.0.20240928_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mplayer-1.5.0.20240928_2 depends on shared library: libpng.so - not found ===> Installing existing package /packages/All/png-1.6.47.pkg [pkg-builder.dan.net.uk] Installing png-1.6.47... [pkg-builder.dan.net.uk] Extracting png-1.6.47: .......... done ===> mplayer-1.5.0.20240928_2 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on shared library: libavcodec.so.60 - not found ===> Installing existing package /packages/All/ffmpeg-6.1.2_11,1.pkg [pkg-builder.dan.net.uk] Installing ffmpeg-6.1.2_11,1... [pkg-builder.dan.net.uk] `-- Installing alsa-lib-1.2.13... [pkg-builder.dan.net.uk] `-- Extracting alsa-lib-1.2.13: .......... done [pkg-builder.dan.net.uk] `-- Installing dav1d-1.5.1... [pkg-builder.dan.net.uk] `-- Extracting dav1d-1.5.1: .......... done [pkg-builder.dan.net.uk] `-- Installing fdk-aac-2.0.3... [pkg-builder.dan.net.uk] `-- Extracting fdk-aac-2.0.3: .......... done [pkg-builder.dan.net.uk] `-- Installing fontconfig-2.15.0_3,1... [pkg-builder.dan.net.uk] | `-- Installing expat-2.7.1... [pkg-builder.dan.net.uk] | `-- Extracting expat-2.7.1: .......... done [pkg-builder.dan.net.uk] | `-- Installing freetype2-2.13.3... [pkg-builder.dan.net.uk] | `-- Extracting freetype2-2.13.3: .......... done [pkg-builder.dan.net.uk] `-- Extracting fontconfig-2.15.0_3,1: .......... done [pkg-builder.dan.net.uk] `-- Installing gmp-6.3.0... [pkg-builder.dan.net.uk] `-- Extracting gmp-6.3.0: .......... done [pkg-builder.dan.net.uk] `-- Installing gsm-1.0.22_1... [pkg-builder.dan.net.uk] `-- Extracting gsm-1.0.22_1: .......... done [pkg-builder.dan.net.uk] `-- Installing harfbuzz-10.3.0... [pkg-builder.dan.net.uk] | `-- Installing glib-2.84.1_2,2... [pkg-builder.dan.net.uk] | | `-- Installing libffi-3.4.8... [pkg-builder.dan.net.uk] | | `-- Extracting libffi-3.4.8: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libiconv-1.17_1... [pkg-builder.dan.net.uk] | | `-- Extracting libiconv-1.17_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libinotify-20240724_1... [pkg-builder.dan.net.uk] | | `-- Extracting libinotify-20240724_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing pcre2-10.45_1... [pkg-builder.dan.net.uk] | | `-- Installing readline-8.2.13_2... [pkg-builder.dan.net.uk] | | `-- Extracting readline-8.2.13_2: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting pcre2-10.45_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py311-packaging-24.2... [pkg-builder.dan.net.uk] | | `-- Installing python311-3.11.12... [pkg-builder.dan.net.uk] | | | `-- Installing mpdecimal-4.0.0... [pkg-builder.dan.net.uk] | | | `-- Extracting mpdecimal-4.0.0: .......... done [pkg-builder.dan.net.uk] | | | `-- Installing openssl-3.0.16,1... [pkg-builder.dan.net.uk] | | | `-- Extracting openssl-3.0.16,1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting python311-3.11.12: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting py311-packaging-24.2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting glib-2.84.1_2,2: .......... done [pkg-builder.dan.net.uk] | `-- Installing graphite2-1.3.14... [pkg-builder.dan.net.uk] | `-- Extracting graphite2-1.3.14: .......... done [pkg-builder.dan.net.uk] `-- Extracting harfbuzz-10.3.0: .......... done [pkg-builder.dan.net.uk] `-- Installing lame-3.100_5... [pkg-builder.dan.net.uk] `-- Extracting lame-3.100_5: .......... done [pkg-builder.dan.net.uk] `-- Installing lcms2-2.17... [pkg-builder.dan.net.uk] | `-- Installing jpeg-turbo-3.1.0... [pkg-builder.dan.net.uk] | `-- Extracting jpeg-turbo-3.1.0: .......... done [pkg-builder.dan.net.uk] | `-- Installing tiff-4.7.0... [pkg-builder.dan.net.uk] | | `-- Installing jbigkit-2.1_3... [pkg-builder.dan.net.uk] | | `-- Extracting jbigkit-2.1_3: .......... done [pkg-builder.dan.net.uk] | | `-- Installing lerc-4.0.0... [pkg-builder.dan.net.uk] | | `-- Extracting lerc-4.0.0: ..... done [pkg-builder.dan.net.uk] | | `-- Installing libdeflate-1.22... [pkg-builder.dan.net.uk] | | `-- Extracting libdeflate-1.22: .......... done [pkg-builder.dan.net.uk] | | `-- Installing zstd-1.5.7... [pkg-builder.dan.net.uk] | | `-- Installing liblz4-1.10.0,1... [pkg-builder.dan.net.uk] | | `-- Extracting liblz4-1.10.0,1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting zstd-1.5.7: .......... done [pkg-builder.dan.net.uk] | `-- Extracting tiff-4.7.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting lcms2-2.17: .......... done [pkg-builder.dan.net.uk] `-- Installing libbluray-1.3.4,1... [pkg-builder.dan.net.uk] | `-- Installing libxml2-2.11.9... [pkg-builder.dan.net.uk] | `-- Extracting libxml2-2.11.9: .......... done [pkg-builder.dan.net.uk] `-- Extracting libbluray-1.3.4,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libcdio-paranoia-10.2+2.0.2... [pkg-builder.dan.net.uk] | `-- Installing libcdio-2.2.0... [pkg-builder.dan.net.uk] | `-- Extracting libcdio-2.2.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting libcdio-paranoia-10.2+2.0.2: .......... done [pkg-builder.dan.net.uk] `-- Installing libjxl-0.11.1_1... [pkg-builder.dan.net.uk] | `-- Installing brotli-1.1.0,1... [pkg-builder.dan.net.uk] | `-- Extracting brotli-1.1.0,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing gdk-pixbuf2-2.42.12_1... [pkg-builder.dan.net.uk] | | `-- Installing shared-mime-info-2.4_1... [pkg-builder.dan.net.uk] | | `-- Extracting shared-mime-info-2.4_1: ......... done [pkg-builder.dan.net.uk] | `-- Extracting gdk-pixbuf2-2.42.12_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing giflib-5.2.2... [pkg-builder.dan.net.uk] | `-- Extracting giflib-5.2.2: .......... done [pkg-builder.dan.net.uk] | `-- Installing highway-1.2.0... [pkg-builder.dan.net.uk] | `-- Extracting highway-1.2.0: .......... done [pkg-builder.dan.net.uk] | `-- Installing openexr-3.3.3... [pkg-builder.dan.net.uk] | | `-- Installing Imath-3.1.12... [pkg-builder.dan.net.uk] | | `-- Extracting Imath-3.1.12: .......... done [pkg-builder.dan.net.uk] | `-- Extracting openexr-3.3.3: .......... done [pkg-builder.dan.net.uk] `-- Extracting libjxl-0.11.1_1: .......... done [pkg-builder.dan.net.uk] `-- Installing libplacebo-7.349.0_1... [pkg-builder.dan.net.uk] | `-- Installing libunwind-20240221_2... [pkg-builder.dan.net.uk] | `-- Extracting libunwind-20240221_2: .......... done [pkg-builder.dan.net.uk] | `-- Installing shaderc-2025.2_1... [pkg-builder.dan.net.uk] | `-- Extracting shaderc-2025.2_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing vulkan-loader-1.4.313... [pkg-builder.dan.net.uk] | | `-- Installing libXrandr-1.5.4... [pkg-builder.dan.net.uk] | | `-- Installing libXrender-0.9.12... [pkg-builder.dan.net.uk] | | `-- Extracting libXrender-0.9.12: ....... done [pkg-builder.dan.net.uk] | | `-- Extracting libXrandr-1.5.4: .......... done [pkg-builder.dan.net.uk] | | `-- Installing wayland-1.23.1... [pkg-builder.dan.net.uk] | | `-- Installing libepoll-shim-0.0.20240608... [pkg-builder.dan.net.uk] | | `-- Extracting libepoll-shim-0.0.20240608: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting wayland-1.23.1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting vulkan-loader-1.4.313: ....... done [pkg-builder.dan.net.uk] | `-- Installing xxhash-0.8.3... [pkg-builder.dan.net.uk] | `-- Extracting xxhash-0.8.3: .......... done [pkg-builder.dan.net.uk] `-- Extracting libplacebo-7.349.0_1: .......... done [pkg-builder.dan.net.uk] `-- Installing libtheora-1.1.1_7... [pkg-builder.dan.net.uk] | `-- Installing libogg-1.3.5,4... [pkg-builder.dan.net.uk] | `-- Extracting libogg-1.3.5,4: .......... done [pkg-builder.dan.net.uk] | `-- Installing libvorbis-1.3.7_2,3... [pkg-builder.dan.net.uk] | `-- Extracting libvorbis-1.3.7_2,3: .......... done [pkg-builder.dan.net.uk] `-- Extracting libtheora-1.1.1_7: .......... done [pkg-builder.dan.net.uk] `-- Installing libv4l-1.23.0_5... [pkg-builder.dan.net.uk] | `-- Installing libudev-devd-0.6.0... [pkg-builder.dan.net.uk] | `-- Extracting libudev-devd-0.6.0: ..... done [pkg-builder.dan.net.uk] `-- Extracting libv4l-1.23.0_5: .......... done [pkg-builder.dan.net.uk] `-- Installing libva-2.22.0... [pkg-builder.dan.net.uk] | `-- Installing libXfixes-6.0.1... [pkg-builder.dan.net.uk] | `-- Extracting libXfixes-6.0.1: ....... done [pkg-builder.dan.net.uk] | `-- Installing libdrm-2.4.123,1... [pkg-builder.dan.net.uk] | | `-- Installing libpciaccess-0.18.1_1... [pkg-builder.dan.net.uk] | | `-- Installing hwdata-0.394,1... [pkg-builder.dan.net.uk] | | `-- Extracting hwdata-0.394,1: ...... done [pkg-builder.dan.net.uk] | | `-- Extracting libpciaccess-0.18.1_1: ..... done [pkg-builder.dan.net.uk] | `-- Extracting libdrm-2.4.123,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] | `-- Extracting libglvnd-1.7.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting libva-2.22.0: .......... done [pkg-builder.dan.net.uk] `-- Installing libvdpau-1.5... [pkg-builder.dan.net.uk] `-- Extracting libvdpau-1.5: .......... done [pkg-builder.dan.net.uk] `-- Installing libvpx-1.15.1... [pkg-builder.dan.net.uk] `-- Extracting libvpx-1.15.1: .......... done [pkg-builder.dan.net.uk] `-- Installing libx264-0.164.3095... [pkg-builder.dan.net.uk] `-- Extracting libx264-0.164.3095: ...... done [pkg-builder.dan.net.uk] `-- Installing openh264-2.3.0,2... [pkg-builder.dan.net.uk] `-- Extracting openh264-2.3.0,2: .......... done [pkg-builder.dan.net.uk] `-- Installing speex-1.2.1_1,1... [pkg-builder.dan.net.uk] | `-- Installing speexdsp-1.2.1... [pkg-builder.dan.net.uk] | `-- Extracting speexdsp-1.2.1: .......... done [pkg-builder.dan.net.uk] `-- Extracting speex-1.2.1_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing svt-av1-3.0.2... [pkg-builder.dan.net.uk] `-- Extracting svt-av1-3.0.2: .......... done [pkg-builder.dan.net.uk] `-- Installing vmaf-3.0.0... [pkg-builder.dan.net.uk] `-- Extracting vmaf-3.0.0: .......... done [pkg-builder.dan.net.uk] `-- Installing webp-1.5.0... [pkg-builder.dan.net.uk] | `-- Installing freeglut-3.2.1... [pkg-builder.dan.net.uk] | | `-- Installing libGLU-9.0.3... [pkg-builder.dan.net.uk] | | `-- Extracting libGLU-9.0.3: ..... done [pkg-builder.dan.net.uk] | | `-- Installing libICE-1.1.1,1... [pkg-builder.dan.net.uk] | | `-- Extracting libICE-1.1.1,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXi-1.8.1,1... [pkg-builder.dan.net.uk] | | `-- Extracting libXi-1.8.1,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting freeglut-3.2.1: .......... done [pkg-builder.dan.net.uk] `-- Extracting webp-1.5.0: .......... done [pkg-builder.dan.net.uk] `-- Installing x265-3.6_1... [pkg-builder.dan.net.uk] | `-- Installing svt-hevc-1.5.1_1... [pkg-builder.dan.net.uk] | `-- Extracting svt-hevc-1.5.1_1: ....... done [pkg-builder.dan.net.uk] `-- Extracting x265-3.6_1: .......... done [pkg-builder.dan.net.uk] `-- Installing xvid-1.3.7,1... [pkg-builder.dan.net.uk] `-- Extracting xvid-1.3.7,1: ..... done [pkg-builder.dan.net.uk] Extracting ffmpeg-6.1.2_11,1: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ==> Running trigger: gdk-pixbuf-query-loaders.ucl Generating gdk-pixbuf modules cache ==> Running trigger: gio-modules.ucl Generating GIO modules cache ==> Running trigger: glib-schemas.ucl Compiling glib schemas No schema files found: doing nothing. ==> Running trigger: shared-mime-info.ucl Building the Shared MIME-Info database cache ===== Message from freetype2-2.13.3: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). ===== Message from gsm-1.0.22_1: -- ===> NOTICE: The gsm port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===== Message from libinotify-20240724_1: -- You might want to consider increasing the kern.maxfiles tunable if you plan to use this library for applications that need to monitor activity of a lot of files. ===== Message from python311-3.11.12: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py311-gdbm databases/py-gdbm@py311 py311-sqlite3 databases/py-sqlite3@py311 py311-tkinter x11-toolkits/py-tkinter@py311 ===== Message from libjxl-0.11.1_1: -- Additional packages recommended for new users: - imlib2-jxl (e.g., feh, scrot) - kf5-kimageformats (e.g., nomacs, flameshot, skanlite) - gimp-jxl-plugin ===== Message from wayland-1.23.1: -- Wayland requires XDG_RUNTIME_DIR to be defined to a path that will contain "wayland-%d" unix(4) sockets. This is usually handled by consolekit2 (via ck-launch-session) or pam_xdg (via login). ===== Message from freeglut-3.2.1: -- Joystick support is untested and it is unknown if it works. Do not hesitate to contact x11@FreeBSD.org if this causes issues. ===== Message from svt-hevc-1.5.1_1: -- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Project discontinued. ===> mplayer-1.5.0.20240928_2 depends on shared library: libavcodec.so.60 - found (/usr/local/lib/libavcodec.so.60) ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libass.so - not found ===> Installing existing package /packages/All/libass-0.17.3.pkg [pkg-builder.dan.net.uk] Installing libass-0.17.3... [pkg-builder.dan.net.uk] `-- Installing fribidi-1.0.16... [pkg-builder.dan.net.uk] `-- Extracting fribidi-1.0.16: .......... done [pkg-builder.dan.net.uk] `-- Installing libunibreak-6.1,1... [pkg-builder.dan.net.uk] `-- Extracting libunibreak-6.1,1: .......... done [pkg-builder.dan.net.uk] Extracting libass-0.17.3: ....... done ===> mplayer-1.5.0.20240928_2 depends on shared library: libass.so - found (/usr/local/lib/libass.so) ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on shared library: libharfbuzz.so - found (/usr/local/lib/libharfbuzz.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libbluray.so - found (/usr/local/lib/libbluray.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libdv.so - not found ===> Installing existing package /packages/All/libdv-1.0.0_9.pkg [pkg-builder.dan.net.uk] Installing libdv-1.0.0_9... [pkg-builder.dan.net.uk] `-- Installing popt-1.19_1... [pkg-builder.dan.net.uk] `-- Extracting popt-1.19_1: .......... done [pkg-builder.dan.net.uk] Extracting libdv-1.0.0_9: .......... done ===== Message from libdv-1.0.0_9: -- ===> NOTICE: The libdv port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> mplayer-1.5.0.20240928_2 depends on shared library: libdv.so - found (/usr/local/lib/libdv.so) ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on shared library: libdvdnav.so - not found ===> Installing existing package /packages/All/libdvdnav-6.1.1.pkg [pkg-builder.dan.net.uk] Installing libdvdnav-6.1.1... [pkg-builder.dan.net.uk] `-- Installing libdvdread-6.1.3... [pkg-builder.dan.net.uk] `-- Extracting libdvdread-6.1.3: .......... done [pkg-builder.dan.net.uk] Extracting libdvdnav-6.1.1: .......... done ===> mplayer-1.5.0.20240928_2 depends on shared library: libdvdnav.so - found (/usr/local/lib/libdvdnav.so) ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on shared library: libdvdread.so - found (/usr/local/lib/libdvdread.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libfribidi.so - found (/usr/local/lib/libfribidi.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libgif.so - found (/usr/local/lib/libgif.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libgnutls.so - not found ===> Installing existing package /packages/All/gnutls-3.8.9.pkg [pkg-builder.dan.net.uk] Installing gnutls-3.8.9... [pkg-builder.dan.net.uk] `-- Installing libidn2-2.3.8... [pkg-builder.dan.net.uk] | `-- Installing libunistring-1.3... [pkg-builder.dan.net.uk] | `-- Extracting libunistring-1.3: .......... done [pkg-builder.dan.net.uk] `-- Extracting libidn2-2.3.8: .......... done [pkg-builder.dan.net.uk] `-- Installing libtasn1-4.20.0_1... [pkg-builder.dan.net.uk] `-- Extracting libtasn1-4.20.0_1: .......... done [pkg-builder.dan.net.uk] `-- Installing nettle-3.10.1... [pkg-builder.dan.net.uk] `-- Extracting nettle-3.10.1: .......... done [pkg-builder.dan.net.uk] `-- Installing p11-kit-0.25.5... [pkg-builder.dan.net.uk] `-- Extracting p11-kit-0.25.5: .......... done [pkg-builder.dan.net.uk] `-- Installing unbound-1.23.0... [pkg-builder.dan.net.uk] | `-- Installing libnghttp2-1.65.0... [pkg-builder.dan.net.uk] | `-- Extracting libnghttp2-1.65.0: ....... done ===> Creating groups Using existing group 'unbound' ===> Creating users Using existing user 'unbound' [pkg-builder.dan.net.uk] `-- Extracting unbound-1.23.0: .......... done [pkg-builder.dan.net.uk] Extracting gnutls-3.8.9: .......... done ===> mplayer-1.5.0.20240928_2 depends on shared library: libgnutls.so - found (/usr/local/lib/libgnutls.so) ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on shared library: libgsm.so - found (/usr/local/lib/libgsm.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libmng.so - not found ===> Installing existing package /packages/All/libmng-2.0.3_2.pkg [pkg-builder.dan.net.uk] Installing libmng-2.0.3_2... [pkg-builder.dan.net.uk] Extracting libmng-2.0.3_2: ......... done ===> mplayer-1.5.0.20240928_2 depends on shared library: libmng.so - found (/usr/local/lib/libmng.so) ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on shared library: liblzo2.so - not found ===> Installing existing package /packages/All/lzo2-2.10_1.pkg [pkg-builder.dan.net.uk] Installing lzo2-2.10_1... [pkg-builder.dan.net.uk] Extracting lzo2-2.10_1: .......... done ===> mplayer-1.5.0.20240928_2 depends on shared library: liblzo2.so - found (/usr/local/lib/liblzo2.so) ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on shared library: libopenjp2.so - not found ===> Installing existing package /packages/All/openjpeg-2.5.3.pkg [pkg-builder.dan.net.uk] Installing openjpeg-2.5.3... [pkg-builder.dan.net.uk] Extracting openjpeg-2.5.3: .......... done ===> mplayer-1.5.0.20240928_2 depends on shared library: libopenjp2.so - found (/usr/local/lib/libopenjp2.so) ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on shared library: libvdpau.so - found (/usr/local/lib/libvdpau.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libvpx.so - found (/usr/local/lib/libvpx.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libatk-1.0.so - not found ===> Installing existing package /packages/All/at-spi2-core-2.54.1_1.pkg [pkg-builder.dan.net.uk] Installing at-spi2-core-2.54.1_1... [pkg-builder.dan.net.uk] `-- Installing dbus-1.16.2_2,1... [pkg-builder.dan.net.uk] | `-- Installing libSM-1.2.6,1... [pkg-builder.dan.net.uk] | `-- Extracting libSM-1.2.6,1: ........ done ===> Creating groups Creating group 'messagebus' with gid '556' ===> Creating users Creating user 'messagebus' with uid '556' [pkg-builder.dan.net.uk] `-- Extracting dbus-1.16.2_2,1: ......... done [pkg-builder.dan.net.uk] `-- Installing libXtst-1.2.4... [pkg-builder.dan.net.uk] `-- Extracting libXtst-1.2.4: .......... done [pkg-builder.dan.net.uk] Extracting at-spi2-core-2.54.1_1: .......... done ===> mplayer-1.5.0.20240928_2 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so) ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on shared library: libcairo.so - not found ===> Installing existing package /packages/All/cairo-1.18.2,3.pkg [pkg-builder.dan.net.uk] Installing cairo-1.18.2,3... [pkg-builder.dan.net.uk] `-- Installing pixman-0.44.2... [pkg-builder.dan.net.uk] `-- Extracting pixman-0.44.2: ...... done [pkg-builder.dan.net.uk] Extracting cairo-1.18.2,3: .......... done ===> mplayer-1.5.0.20240928_2 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so) ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libgtk-x11-2.0.so - not found ===> Installing existing package /packages/All/gtk2-2.24.33_1.pkg [pkg-builder.dan.net.uk] Installing gtk2-2.24.33_1... [pkg-builder.dan.net.uk] `-- Installing cups-2.4.11_1... [pkg-builder.dan.net.uk] | `-- Installing avahi-app-0.8_6... [pkg-builder.dan.net.uk] | | `-- Installing dbus-glib-0.114... [pkg-builder.dan.net.uk] | | `-- Extracting dbus-glib-0.114: .......... done [pkg-builder.dan.net.uk] | | `-- Installing gdbm-1.25... [pkg-builder.dan.net.uk] | | `-- Extracting gdbm-1.25: .......... done [pkg-builder.dan.net.uk] | | `-- Installing gnome_subr-1.0... [pkg-builder.dan.net.uk] | | `-- Extracting gnome_subr-1.0: . done [pkg-builder.dan.net.uk] | | `-- Installing libdaemon-0.14_1... [pkg-builder.dan.net.uk] | | `-- Extracting libdaemon-0.14_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libevent-2.1.12... [pkg-builder.dan.net.uk] | | `-- Extracting libevent-2.1.12: .......... done ===> Creating groups Creating group 'avahi' with gid '558' ===> Creating users Creating user 'avahi' with uid '558' [pkg-builder.dan.net.uk] | `-- Extracting avahi-app-0.8_6: .......... done [pkg-builder.dan.net.uk] | `-- Installing libpaper-1.1.28_1... [pkg-builder.dan.net.uk] | `-- Extracting libpaper-1.1.28_1: .......... done ===> Creating groups Creating group 'cups' with gid '193' ===> Creating users Creating user 'cups' with uid '193' [pkg-builder.dan.net.uk] `-- Extracting cups-2.4.11_1: .......... done [pkg-builder.dan.net.uk] `-- Installing gtk-update-icon-cache-3.24.42... [pkg-builder.dan.net.uk] `-- Extracting gtk-update-icon-cache-3.24.42: .......... done [pkg-builder.dan.net.uk] `-- Installing hicolor-icon-theme-0.18... [pkg-builder.dan.net.uk] `-- Extracting hicolor-icon-theme-0.18: . done [pkg-builder.dan.net.uk] `-- Installing libXcomposite-0.4.6_1,1... [pkg-builder.dan.net.uk] `-- Extracting libXcomposite-0.4.6_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXcursor-1.2.2... [pkg-builder.dan.net.uk] `-- Extracting libXcursor-1.2.2: .......... done [pkg-builder.dan.net.uk] `-- Installing libXdamage-1.1.6... [pkg-builder.dan.net.uk] `-- Extracting libXdamage-1.1.6: ...... done [pkg-builder.dan.net.uk] `-- Installing pango-1.56.1... [pkg-builder.dan.net.uk] | `-- Installing libXft-2.3.8... [pkg-builder.dan.net.uk] | `-- Extracting libXft-2.3.8: .......... done [pkg-builder.dan.net.uk] | `-- Installing libthai-0.1.29_1... [pkg-builder.dan.net.uk] | | `-- Installing libdatrie-0.2.13_2... [pkg-builder.dan.net.uk] | | `-- Extracting libdatrie-0.2.13_2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libthai-0.1.29_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting pango-1.56.1: .......... done [pkg-builder.dan.net.uk] Extracting gtk2-2.24.33_1: .......... done ==> Running trigger: gtk-update-icon-cache.ucl Generating GTK icon cache for /usr/local/share/icons/hicolor ===> mplayer-1.5.0.20240928_2 depends on shared library: libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so) ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on shared library: libharfbuzz.so - found (/usr/local/lib/libharfbuzz.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> mplayer-1.5.0.20240928_2 depends on shared library: libsmbclient.so - not found ===> Installing existing package /packages/All/samba419-4.19.9_8.pkg [pkg-builder.dan.net.uk] Installing samba419-4.19.9_8... [pkg-builder.dan.net.uk] `-- Installing gamin-0.1.10_10... [pkg-builder.dan.net.uk] `-- Extracting gamin-0.1.10_10: .......... done [pkg-builder.dan.net.uk] `-- Installing jansson-2.14.1... [pkg-builder.dan.net.uk] `-- Extracting jansson-2.14.1: .......... done [pkg-builder.dan.net.uk] `-- Installing ldb28-2.8.2_1... [pkg-builder.dan.net.uk] | `-- Installing lmdb-0.9.33,1... [pkg-builder.dan.net.uk] | `-- Extracting lmdb-0.9.33,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing openldap26-client-2.6.9_1... [pkg-builder.dan.net.uk] | | `-- Installing cyrus-sasl-2.1.28_5... *** Added group `cyrus' (id 60) *** Added user `cyrus' (id 60) [pkg-builder.dan.net.uk] | | `-- Extracting cyrus-sasl-2.1.28_5: .......... done [pkg-builder.dan.net.uk] | `-- Extracting openldap26-client-2.6.9_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing talloc-2.4.1_1... [pkg-builder.dan.net.uk] | `-- Extracting talloc-2.4.1_1: ......... done [pkg-builder.dan.net.uk] | `-- Installing tdb-1.4.9_1,1... [pkg-builder.dan.net.uk] | `-- Extracting tdb-1.4.9_1,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing tevent-0.15.0_1... [pkg-builder.dan.net.uk] | `-- Extracting tevent-0.15.0_1: ....... done [pkg-builder.dan.net.uk] `-- Extracting ldb28-2.8.2_1: .......... done [pkg-builder.dan.net.uk] `-- Installing libarchive-3.7.9,1... [pkg-builder.dan.net.uk] `-- Extracting libarchive-3.7.9,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libgcrypt-1.11.0... [pkg-builder.dan.net.uk] | `-- Installing libgpg-error-1.55... [pkg-builder.dan.net.uk] | `-- Extracting libgpg-error-1.55: .......... done [pkg-builder.dan.net.uk] `-- Extracting libgcrypt-1.11.0: .......... done [pkg-builder.dan.net.uk] `-- Installing libsunacl-1.0.1_1... [pkg-builder.dan.net.uk] `-- Extracting libsunacl-1.0.1_1: .... done [pkg-builder.dan.net.uk] `-- Installing py311-dnspython-2.7.0,1... [pkg-builder.dan.net.uk] | `-- Installing py311-aioquic-1.2.0... [pkg-builder.dan.net.uk] | | `-- Installing py311-certifi-2025.1.31... [pkg-builder.dan.net.uk] | | `-- Extracting py311-certifi-2025.1.31: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py311-cryptography-44.0.2,1... [pkg-builder.dan.net.uk] | | `-- Installing py311-cffi-1.17.1... [pkg-builder.dan.net.uk] | | | `-- Installing py311-pycparser-2.22... [pkg-builder.dan.net.uk] | | | `-- Extracting py311-pycparser-2.22: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting py311-cffi-1.17.1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting py311-cryptography-44.0.2,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py311-openssl-25.0.0_1,1... [pkg-builder.dan.net.uk] | | `-- Installing py311-typing-extensions-4.13.2... [pkg-builder.dan.net.uk] | | `-- Extracting py311-typing-extensions-4.13.2: ....... done [pkg-builder.dan.net.uk] | | `-- Extracting py311-openssl-25.0.0_1,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py311-pylsqpack-0.3.20... [pkg-builder.dan.net.uk] | | `-- Extracting py311-pylsqpack-0.3.20: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py311-service-identity-24.2.0... [pkg-builder.dan.net.uk] | | `-- Installing py311-attrs-25.3.0... [pkg-builder.dan.net.uk] | | `-- Extracting py311-attrs-25.3.0: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py311-pyasn1-0.6.0... [pkg-builder.dan.net.uk] | | `-- Extracting py311-pyasn1-0.6.0: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py311-pyasn1-modules-0.4.1... [pkg-builder.dan.net.uk] | | `-- Extracting py311-pyasn1-modules-0.4.1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting py311-service-identity-24.2.0: .......... done [pkg-builder.dan.net.uk] | `-- Extracting py311-aioquic-1.2.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting py311-dnspython-2.7.0,1: .......... done [pkg-builder.dan.net.uk] `-- Installing py311-markdown-3.7... [pkg-builder.dan.net.uk] `-- Extracting py311-markdown-3.7: .......... done [pkg-builder.dan.net.uk] Extracting samba419-4.19.9_8: .......... done ===== Message from gamin-0.1.10_10: -- Gamin will only provide realtime notification of changes for at most n files, where n is the minimum value between (kern.maxfiles * 0.7) and (kern.maxfilesperproc - 200). Beyond that limit, files will be polled. If you often open several large folders with Nautilus, you might want to increase the kern.maxfiles tunable (you do not need to set kern.maxfilesperproc, since it is computed at boot time from kern.maxfiles). The behavior of gamin can be controlled via the various gaminrc files. See http://www.gnome.org/~veillard/gamin/config.html on how to create these files. In particular, if you find gam_server is taking up too much CPU time polling for changes, something like the following may help in one of the gaminrc files: # reduce polling frequency to once per 10 seconds # for UFS file systems in order to lower CPU load fsset ufs poll 10 -- ===> NOTICE: The gamin port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===== Message from cyrus-sasl-2.1.28_5: -- You can use sasldb2 for authentication, to add users use: saslpasswd2 -c username If you want to enable SMTP AUTH with the system Sendmail, read Sendmail.README NOTE: This port has been compiled with a default pwcheck_method of auxprop. If you want to authenticate your user by /etc/passwd, PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and set sasl_pwcheck_method to saslauthd after installing the Cyrus-IMAPd 2.X port. You should also check the /usr/local/lib/sasl2/*.conf files for the correct pwcheck_method. If you want to use GSSAPI mechanism, install ports/security/cyrus-sasl2-gssapi. If you want to use SRP mechanism, install ports/security/cyrus-sasl2-srp. If you want to use LDAP auxprop plugin, install ports/security/cyrus-sasl2-ldapdb. ===== Message from openldap26-client-2.6.9_1: -- The OpenLDAP client package has been successfully installed. Edit /usr/local/etc/openldap/ldap.conf to change the system-wide client defaults. Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at http://www.OpenLDAP.org/faq/index.cgi?file=3 for more information. ===== Message from samba419-4.19.9_8: -- How to start: http://wiki.samba.org/index.php/Samba4/HOWTO * Your configuration is: /usr/local/etc/smb4.conf * All the relevant databases are under: /var/db/samba4 * All the logs are under: /var/log/samba4 * Provisioning script is: /usr/local/bin/samba-tool For the working DNS updates you will need to either build dns/bind9* with the enabled GSSAPI(GSSAPI_MIT5 is recommended) or install dns/samba-nsupdate package, which is preconfigured with such a support. You will need to specify location of the 'nsupdate' command in the smb4.conf file: nsupdate command = /usr/local/bin/samba-nsupdate -g For additional documentation check: https://wiki.samba.org/index.php/User_Documentation Port related bug reports can go to the https://gitlab.com/samba-freebsd/ports/-/issues or to the FreeBSD Bugzilla https://bugs.freebsd.org/ All Samba related bug reports should go to the: https://bugzilla.samba.org/ ===> mplayer-1.5.0.20240928_2 depends on shared library: libsmbclient.so - found (/usr/local/lib/samba4/libsmbclient.so) ===> Returning to build of mplayer-1.5.0.20240928_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for mplayer-1.5.0.20240928_2 Checking for ffmpeg/libavcodec/allcodecs.c ... not found Checking for ffmpeg/libavcodec/hwaccels.h ... not found Checking for ffmpeg/libavformat/allformats.c ... not found Checking for ffmpeg/libavcodec/bitsteram_filters.c ... not found Checking for ffmpeg/libavcodec/cbs_internal.h ... not found Checking for ffmpeg/libavformat/protocols.c ... not found Checking for ffmpeg/libavfilter/allfilters.c ... not found Checking for cc version ... clang 18.1.6 (experimental support only) Checking for working compiler ... yes Detected operating system: FreeBSD Detected host architecture: x86_64 Checking for cross compilation ... no Checking for host cc ... cc Checking for GCC & CPU optimization abilities ... Checking for byte order ... little-endian Checking for extern symbol prefix ... Checking for assembler support of -pipe option ... yes Checking for relocatable binary ... yes (fast PIC) Checking for PIC ... yes Checking for .align is a power of two ... no Checking for ebx availability ... yes Checking for yasm ... no Checking for bswap ... no Checking for xmm clobbers ... yes Checking for as_func ... no Checking for langinfo ... yes Checking for NLS ... yes Checking for language ... messages: en - man pages: en - documentation: en Checking for enable sighandler ... yes Checking for runtime cpudetection ... yes Checking for restrict keyword ... restrict Checking for __builtin_expect ... yes Checking for kstat ... no Checking for atanf ... yes Checking for cbrt ... yes Checking for cbrtf ... yes Checking for cosf ... yes Checking for expf ... yes Checking for exp2 ... yes Checking for exp2f ... yes Checking for isnan ... yes Checking for isfinite ... yes Checking for isinf ... yes Checking for llrint ... yes Checking for llrintf ... yes Checking for log2 ... yes Checking for log2f ... yes Checking for log10f ... yes Checking for lrint ... yes Checking for lrintf ... yes Checking for rint ... yes Checking for round ... yes Checking for roundf ... yes Checking for sinf ... yes Checking for trunc ... yes Checking for truncf ... yes Checking for erf ... yes Checking for atan2f ... yes Checking for fminf ... yes Checking for ldexpf ... yes Checking for powf ... yes Checking for hypot ... yes Checking for mkstemp ... yes Checking for gmtime_r ... yes Checking for localtime_r ... yes Checking for nanosleep ... yes Checking for windows.h ... no Checking for socklib ... yes Checking for struct pollfd ... yes Checking for netdb.h, struct addrinfo ... yes Checking for netdb.h, getaddrinfo() ... yes Checking for sockaddr_storage ... yes Checking for struct ipv6_mreq ... yes Checking for struct sockaddr_in6 ... yes Checking for struct sockaddr sa_len ... yes Checking for arpa/inet.h ... yes Checking for inet_pton() ... yes Checking for inet_aton() ... yes Checking for socklen_t ... yes Checking for closesocket() ... no Checking for networking ... yes Checking for inet6 ... yes Checking for gethostbyname2 ... yes Checking for SCTP ... yes Checking for sys/un.h ... yes Checking for sys/poll.h ... yes Checking for unistd.h ... yes Checking for emmintrin.h (SSE intrinsics) ... yes Checking for inttypes.h (required) ... yes Checking for int_fastXY_t in inttypes.h ... yes Checking for stdatomic.h ... yes Checking for malloc.h ... yes Checking for aligned malloc ... no Checking for memalign() ... yes Checking for posix_memalign() ... yes Checking for alloca.h ... no Checking for fastmemcpy ... yes Checking for hard-coded tables ... no Checking for mman.h ... yes Checking for mprotect ... yes Checking for dynamic loader ... yes Checking for dynamic a/v plugins support ... no Checking for pthread ... yes (using -lpthread) Checking for pthread_cancel ... yes Checking for direct.h ... no Checking for io.h ... no Checking for rpath ... no Checking for iconv ... yes Checking for soundcard.h ... yes (sys/soundcard.h) Checking for termcap ... yes (using /usr/lib/libncurses.so) Checking for termios ... yes (using termios.h) Checking for shm ... yes Checking for strsep() ... yes Checking for vsscanf() ... yes Checking for POSIX select() ... yes Checking for audio select() ... yes Checking for gettimeofday() ... yes Checking for clock_gettime() ... yes Checking for glob() ... yes Checking for setenv() ... yes Checking for setmode() ... no Checking for sys/sysinfo.h ... no Checking for pkg-config ... yes Checking for GnuTLS ... yes Checking for OpenSSL ... no Checking for Samba support (libsmbclient) ... yes Checking for /dev/mga_vid ... no Checking for tdfxfb ... no Checking for s3fb ... no Checking for wii ... no Checking for tdfxvid ... no Checking for xvr100 ... no Checking for tga ... yes Checking for md5sum support ... yes Checking for yuv4mpeg support ... yes Checking for bl ... no Checking for DirectFB ... no Checking for X11 headers presence ... yes (using /usr/local/include) Checking for X11 ... yes Checking for Xss screensaver extensions ... yes Checking for DPMS ... yes (using Xdpms 4) Checking for Xv ... yes Checking for Video Decode Acceleration (VDA) ... no Checking for VDPAU ... yes Checking for Xinerama ... yes Checking for Xxf86vm ... yes Checking for XF86keysym ... yes Checking for DGA ... yes (using DGA 2.0) Checking for xmga ... no Checking for 3dfx ... no Checking for VIDIX ... no Checking for GGI ... no Checking for GGI extension: libggiwmh ... no Checking for AA ... no Checking for CACA ... no Checking for SVGAlib ... no Checking for FBDev ... no Checking for DVB ... no Checking for PNG support ... yes Checking for MNG support ... yes Checking for JPEG support ... yes Checking for OpenJPEG (JPEG 2000) support ... yes Checking for PNM support ... yes Checking for GIF support ... no Checking for VESA support ... no Checking for SDL ... no Checking for SDL image ... no Checking for OpenGL ... yes (backends: x11) Checking for MatrixView ... yes Checking for DXR2 ... no Checking for DXR3/H+ ... no Checking for V4L2 MPEG Decoder ... no Checking for OSS Audio ... yes Checking for aRts ... no Checking for EsounD ... no Checking for NAS ... no Checking for pulse ... no Checking for JACK ... no Checking for OpenAL ... no Checking for ALSA audio ... no Checking for Sun audio ... no Checking for sndio audio ... no Checking for VCD support ... yes Checking for Blu-ray support ... yes Checking for dvdread ... yes Checking for libcdio ... no Checking for cdparanoia ... no Checking for bitmap font support ... no Checking for freetype >= 2.0.9 ... yes Checking for fontconfig ... yes Checking for fribidi with charsets ... yes Checking for SSA/ASS support ... yes (external) Checking for ENCA ... no Checking for zlib ... yes Checking for bzlib ... yes Checking for RTC ... no Checking for liblzo2 support ... yes Checking for mad support ... no Checking for Twolame ... no Checking for Toolame ... no Checking for OggVorbis support ... no Checking for libspeex (version >= 1.1 required) ... no Checking for libgsm ... yes Checking for OggTheora support ... no Checking for mpg123 support ... no Checking for liba52 support ... no Checking for libmpeg2 support ... no Checking for libdca support ... no Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no Checking for FAAC support ... no Checking for FAAD2 support ... no Checking for libilbc support ... no Checking for libopus decoding support ... no Checking for LADSPA plugin support ... no Checking for libbs2b audio filter support ... no Checking for Win32 codecs ... no Checking for XAnim codecs ... yes (dynamic loader support needed) Checking for RealPlayer codecs ... no Checking for QuickTime codecs ... no Checking for Nemesi Streaming Media libraries ... no Checking for LIVE555 Streaming Media libraries ... no Checking for RTMPDump Streaming Media library ... no Checking for FFmpeg ... yes (using shared FFmpeg, but static FFmpeg is recommended) Checking for libpostproc ... yes Checking for libxml2 ... no (dynamic linking to libxml2 is irrelevant when using dynamic FFmpeg) Checking for libopencore_amr narrowband ... no Checking for libopencore_amr wideband ... no Checking for libdv-0.9.5+ ... yes Checking for CrystalHD ... no Checking for Xvid ... no Checking for Xvid two pass plugin ... no Checking for x264 ... no (in FFmpeg: no) Checking for libvpx ... yes Checking for libdav1d ... no (dynamic linking to libdav1d is irrelevant when using dynamic FFmpeg) Checking for libaom ... no (dynamic linking to libaom is irrelevant when using dynamic FFmpeg) Checking for libnut ... no Checking for zr ... no Checking for libmp3lame ... auto (in FFmpeg: no) Checking for mencoder ... no Checking for UnRAR executable ... yes Checking for TV interface ... yes Checking for *BSD BT848 bt8xx header ... no Checking for *BSD ioctl_meteor.h ... no Checking for *BSD BrookTree 848 TV interface ... no Checking for DirectShow TV interface ... no Checking for Video 4 Linux TV interface ... no Checking for Video 4 Linux 2 TV interface ... no Checking for Radio interface ... no Checking for Capture for Radio interface ... no Checking for Video 4 Linux 2 Radio interface ... no Checking for Video 4 Linux Radio interface ... no Checking for Video 4 Linux 2 MPEG PVR interface ... no Checking for ftp ... yes Checking for vstream client ... no Checking for OSD menu ... no Checking for Subtitles sorting ... yes Checking for XMMS inputplugin support ... no Checking for GUI ... yes Checking for XShape extension ... yes Checking for GTK+ version ... 2.24.33 Checking for GLib version ... 2.84.1 Checking for automatic gdb attach ... no Checking for compiler support for noexecstack ... yes Checking for linker support for --nxcompat --no-seh --dynamicbase ... no Checking for linker support for --large-address-aware ... no Checking for linker support for --version-script ... no Checking for joystick ... no Checking for lirc ... no Checking for lircc ... no Checking for DVD support (libdvdnav) ... yes Checking for XML catalogs ... No SGML catalog found. Checking for XML chunked stylesheet ... not found, using default Checking for XML monolithic stylesheet ... not found, using default Checking for XML DTD ... not found, using default Checking for valid XSLT processor ... xsltproc not found Creating config.mak Creating config.h Config files successfully generated by ./configure --cc=cc --host-cc=cc --as=as --mandir=/usr/local/share/man --extra-cflags=-I/usr/local/include -I/usr/local/include --extra-libs=-L/usr/local/lib --disable-alsa --disable-ass-internal --disable-bitmap-font --disable-crystalhd --disable-esd --disable-faad --disable-ffmpeg_a --disable-ggi --disable-ggiwmh --disable-liba52 --disable-libbs2b --disable-libilbc --disable-libnut --disable-libvorbis --disable-live --disable-joystick --disable-mad --disable-libmpeg2 --disable-nemesi --disable-real --yasm= --disable-aa --disable-libopencore_amrnb --disable-libopencore_amrwb --disable-caca --disable-libcdio --enable-libdv --disable-enca --enable-gui --disable-jack --disable-ladspa --disable-lirc --disable-nas --enable-nls --disable-openal --enable-libopenjpeg --disable-libopus --disable-pulse --enable-runtime-cpudetection --disable-sdl --extra-ldflags=-L/usr/local/lib/samba4 --disable-sndio --disable-speex --disable-svga --disable-tv-v4l1 --disable-tv-v4l2 --enable-libvpx-lavc --disable-arts --disable-directfb --disable-faac --disable-libdca --disable-toolame --disable-twolame --disable-x264 --disable-xvid --disable-mencoder --disable-mpg123 --disable-musepack --disable-theora --disable-librtmp --disable-win32dll --disable-qtx ! Install prefix: /usr/local Data directory: /usr/local/share/mplayer Config direct.: /usr/local/etc/mplayer Byte order: little-endian Optimizing for: Runtime CPU-Detection enabled Languages: Messages/GUI: en Manual pages: en Documentation: en Enabled optional drivers: Input: dvdnav ftp tv dvdread bluray vcd smb networking Codecs: libvpx libdv ffmpeg xanim libgsm liblzo OpenJPEG Audio output: oss mpegpes(file) Video output: matrixview opengl pnm jpeg mng mpegpes(file) dga vdpau xv x11 xover yuv4mpeg md5sum tga Disabled optional drivers: Input: vstream pvr radio tv-v4l2 tv-v4l1 tv-dshow tv-bsdbt848 librtmp live555 nemesi cddb cdda dvb Codecs: libaom libdav1d x264 xvid crystalhd libopencore_amrwb libopencore_amrnb qtx real win32 libopus ilbc faad2 faac musepack libdca libmpeg2 liba52 mpg123 libtheora speex libvorbis toolame twolame libmad gif Audio output: sndio sun alsa openal jack pulse nas esd arts v4l2 dxr2 sdl Video output: zr zr2 v4l2 dxr3 dxr2 sdl vesa gif89a fbdev svga caca aa ggi xvidix winvidix cvidix 3dfx xmga directfb dfbmga bl xvr100 tdfx_vid wii s3fb tdfxfb mga 'config.h' and 'config.mak' contain your configuration options. Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer compile *** DO NOT REPORT BUGS if you tweak these files *** 'make' will now compile MPlayer and 'make install' will install it. Note: On non-Linux systems you might need to use 'gmake' instead of 'make'. Please check MTRR settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr) NOTE: Win32 codec DLLs are not supported on your CPU (x86_64) or your operating system (FreeBSD). You may encounter a few files that cannot be played due to missing open source video/audio codec support. Check config.log if you wonder why an autodetection failed (make sure development headers/packages are installed). NOTE: The --enable-* parameters unconditionally force options on, completely skipping autodetection. This behavior is unlike what you may be used to from autoconf-based configure scripts that can decide to override you. This greater level of control comes at a price. You may have to provide the correct compiler and linker flags yourself. If you used one of these options (except --enable-menu and similar ones that turn on internal features) and experience a compilation or linking failure, make sure you have passed the necessary compiler/linker flags to configure. If you suspect a bug, please read DOCS/HTML/en/bugreports.html. MPlayer compilation will use the CPPFLAGS/CFLAGS/LDFLAGS/YASMFLAGS set by you, but: *** *** DO NOT REPORT BUGS IF IT DOES NOT COMPILE/WORK! *** *** It is strongly recommended to let MPlayer choose the correct *FLAGS! To do so, remove *FLAGS from the environment an re-run configure. You can use --extra-*flags to add custom flags if necessary. =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for mplayer-1.5.0.20240928_2 help/help_create.sh help/help_mp-en.h UTF-8 cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o command.o command.c In file included from command.c:30: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ command.c:376:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 376 | if (!mpctx->demuxer || mpctx->demuxer->stream_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ command.c:2707:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2707 | if (mpctx->begin_skip == MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ command.c:2718:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2718 | mpctx->begin_skip = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o m_property.o m_property.c In file included from m_property.c:34: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o mixer.o mixer.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o mp_fifo.o mp_fifo.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o mplayer.o mplayer.c In file included from mplayer.c:73: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:143:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 143 | double start_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:154:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 154 | .begin_skip = MP_NOPTS_VALUE, | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:204:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 204 | static double seek_to_sec = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ In file included from mplayer.c:332: In file included from ./cfg-mplayer.h:27: ./cfg-common.h:301:18: warning: initializing 'void *' with an expression of type 'const m_option_t[49]' (aka 'const struct m_option[49]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 301 | {"msglevel", msgl_config, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~ ./cfg-common.h:314:18: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 314 | {"noconfig", noconfig_opts, CONF_TYPE_SUBCONFIG, CONF_GLOBAL|CONF_NOCFG|CONF_PRE_PARSE, 0, 0, NULL}, | ^~~~~~~~~~~~~ ./cfg-common.h:431:19: warning: initializing 'void *' with an expression of type 'const m_option_t (*)[]' (aka 'const struct m_option (*)[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 431 | { "rawaudio", &demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~~~~ ./cfg-common.h:432:19: warning: initializing 'void *' with an expression of type 'const m_option_t (*)[]' (aka 'const struct m_option (*)[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 432 | { "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~~~~ ./cfg-common.h:448:12: warning: initializing 'void *' with an expression of type 'const m_option_t[6]' (aka 'const struct m_option[6]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 448 | {"mf", mfopts_conf, CONF_TYPE_SUBCONFIG, 0,0,0, NULL}, | ^~~~~~~~~~~ ./cfg-common.h:455:12: warning: initializing 'void *' with an expression of type 'const m_option_t[29]' (aka 'const struct m_option[29]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 455 | {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~ ./cfg-common.h:464:14: warning: initializing 'void *' with an expression of type 'const m_option_t[9]' (aka 'const struct m_option[9]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 464 | {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~ ./cfg-common.h:506:16: warning: initializing 'void *' with an expression of type 'const m_option_t[3]' (aka 'const struct m_option[3]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 506 | {"af-adv", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~ ./cfg-common.h:509:65: warning: initializing 'void *' with an expression of type 'const m_obj_list_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 509 | {"vf*", &vf_settings, CONF_TYPE_OBJ_SETTINGS_LIST, 0, 0, 0, &vf_obj_list}, | ^~~~~~~~~~~~ ./cfg-common.h:519:16: warning: initializing 'void *' with an expression of type 'const char[]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 519 | {"pphelp", pp_help, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, | ^~~~~~~ ./cfg-common.h:525:13: warning: initializing 'void *' with an expression of type 'const m_option_t[7]' (aka 'const struct m_option[7]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 525 | {"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~~ ./cfg-common.h:547:18: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 547 | {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~~~~~ ./cfg-common.h:548:20: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 548 | {"lavfdopts", lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~~ In file included from mplayer.c:332: ./cfg-mplayer.h:354:16: warning: initializing 'void *' with an expression of type 'const m_option_t[4]' (aka 'const struct m_option[4]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 354 | {"tvscan", tvscan_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~ ./cfg-mplayer.h:361:15: warning: initializing 'void *' with an expression of type 'const char[1839]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 361 | {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ ./cfg-mplayer.h:362:14: warning: initializing 'void *' with an expression of type 'const char[1839]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 362 | {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ ./cfg-mplayer.h:363:11: warning: initializing 'void *' with an expression of type 'const char[1839]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 363 | {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ ./cfg-mplayer.h:365:12: warning: initializing 'void *' with an expression of type 'const m_option_t[2]' (aka 'const struct m_option[2]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 365 | {"vd", vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~ mplayer.c:507:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 507 | double video_start_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:535:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 535 | if (video_start_pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:536:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 536 | if (start_pts == MP_NOPTS_VALUE || !mpctx->sh_audio || | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:540:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 540 | if (start_pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:1746:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1746 | case END_AT_TIME: return pts != MP_NOPTS_VALUE && end_at->pos <= pts; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:1796:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1796 | pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:1954:63: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1954 | dvdsub_lang_id = mp_dvdnav_sid_from_lang(ctx->stream, dvdsub_lang); | ^~~~~~~~~~~ ./stream/stream_dvdnav.h:34:68: note: passing argument to parameter 'language' here 34 | int mp_dvdnav_sid_from_lang(stream_t *stream, const unsigned char *language); | ^ mplayer.c:1942:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1942 | ctx->demuxer->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:2070:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2070 | if (a_pts == MP_NOPTS_VALUE || v_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:2070:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2070 | if (a_pts == MP_NOPTS_VALUE || v_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:2417:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2417 | sh_video->last_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:2532:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2532 | if (sh_video->pts == MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:2536:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2536 | if (sh_video->last_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:3231:41: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3231 | vobsub_set_from_lang(vo_vobsub, dvdsub_lang); | ^~~~~~~~~~~ ./sub/vobsub.h:44:59: note: passing argument to parameter 'lang' here 44 | int vobsub_set_from_lang(void *vobhandle, unsigned char * lang); | ^ mplayer.c:3311:46: warning: passing 'unsigned char[4096]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3311 | len = stream_read(mpctx->stream, buf, 4096); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ mplayer.c:3355:57: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3355 | audio_id = dvd_aid_from_lang(mpctx->stream, audio_lang); | ^~~~~~~~~~ ./stream/stream_dvd.h:59:62: note: passing argument to parameter 'lang' here 59 | int dvd_aid_from_lang(stream_t *stream, const unsigned char* lang); | ^ mplayer.c:3357:58: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3357 | dvdsub_id = dvd_sid_from_lang(mpctx->stream, dvdsub_lang); | ^~~~~~~~~~~ ./stream/stream_dvd.h:60:62: note: passing argument to parameter 'lang' here 60 | int dvd_sid_from_lang(stream_t *stream, const unsigned char* lang); | ^ mplayer.c:3368:63: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3368 | audio_id = mp_dvdnav_aid_from_lang(mpctx->stream, audio_lang); | ^~~~~~~~~~ ./stream/stream_dvdnav.h:33:68: note: passing argument to parameter 'language' here 33 | int mp_dvdnav_aid_from_lang(stream_t *stream, const unsigned char *language); | ^ mplayer.c:3371:81: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3371 | dvdsub_lang_id = dvdsub_id = mp_dvdnav_sid_from_lang(mpctx->stream, dvdsub_lang); | ^~~~~~~~~~~ ./stream/stream_dvdnav.h:34:68: note: passing argument to parameter 'language' here 34 | int mp_dvdnav_sid_from_lang(stream_t *stream, const unsigned char *language); | ^ mplayer.c:3407:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3407 | filename_recode(playlist_entry)); | ^~~~~~~~~~~~~~ ./mp_msg.h:165:41: note: passing argument to parameter 'filename' here 165 | const char* filename_recode(const char* filename); | ^ mplayer.c:3409:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3409 | bname = mp_basename(playlist_entry); | ^~~~~~~~~~~~~~ ./path.h:28:37: note: passing argument to parameter 'path' here 28 | const char *mp_basename(const char *path); | ^ mplayer.c:3413:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3413 | if (!strcmp(playlist_entry, filename)) // ignoring self-reference | ^~~~~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ mplayer.c:3418:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3418 | if (filename && !strcmp(mp_basename(playlist_entry), playlist_entry)) { // add reference path of current file | ^~~~~~~~~~~~~~ ./path.h:28:37: note: passing argument to parameter 'path' here 28 | const char *mp_basename(const char *path); | ^ mplayer.c:3418:66: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3418 | if (filename && !strcmp(mp_basename(playlist_entry), playlist_entry)) { // add reference path of current file | ^~~~~~~~~~~~~~ /usr/include/string.h:85:39: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ mplayer.c:3419:90: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3419 | temp = malloc((strlen(filename) - strlen(mp_basename(filename)) + strlen(playlist_entry) + 1)); | ^~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ mplayer.c:3423:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3423 | strcat(temp, playlist_entry); | ^~~~~~~~~~~~~~ /usr/include/string.h:79:56: note: passing argument to parameter here 79 | char *strcat(char * __restrict, const char * __restrict); | ^ mplayer.c:3433:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3433 | play_tree_add_file(entry, playlist_entry); | ^~~~~~~~~~~~~~ ./playtree.h:182:48: note: passing argument to parameter 'file' here 182 | play_tree_add_file(play_tree_t* pt,const char* file); | ^ mplayer.c:3308:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 3308 | pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:3749:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 3749 | if (seek_to_sec != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:3839:71: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 3839 | if (correct_pts && mpctx->sh_video->endpts != MP_NOPTS_VALUE && | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:3840:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 3840 | mpctx->sh_video->pts != MP_NOPTS_VALUE && | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:3848:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 3848 | mpctx->sh_video->endpts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mplayer.c:4029:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 4029 | if (seek_to_sec == MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 57 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o parser-mpcmd.o parser-mpcmd.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o pnm_loader.o pnm_loader.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o input/input.o input/input.c input/input.c:635:14: warning: initializing 'void *' with an expression of type 'const m_option_t (*)[11]' (aka 'const struct m_option (*)[11]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 635 | { "input", &input_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~ input/input.c:1471:14: warning: returning 'const char[20]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1471 | return key_names[i].name; | ^~~~~~~~~~~~~~~~~ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libao2/ao_mpegpes.o libao2/ao_mpegpes.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libao2/ao_null.o libao2/ao_null.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libao2/ao_pcm.o libao2/ao_pcm.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libao2/audio_out.o libao2/audio_out.c In file included from libao2/audio_out.c:28: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/aspect.o libvo/aspect.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/geometry.o libvo/geometry.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/video_out.o libvo/video_out.c In file included from libvo/video_out.c:34: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libvo/video_out.c:372:12: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 372 | aspect(&d_width,&d_height,A_NOZOOM); | ^~~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ libvo/video_out.c:372:21: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 372 | aspect(&d_width,&d_height,A_NOZOOM); | ^~~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ libvo/video_out.c:375:30: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 375 | geometry(&vo_dx, &vo_dy, &d_width, &d_height, | ^~~~~~~~ libvo/geometry.h:27:41: note: passing argument to parameter 'widw' here 27 | int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh); | ^ libvo/video_out.c:375:40: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 375 | geometry(&vo_dx, &vo_dy, &d_width, &d_height, | ^~~~~~~~~ libvo/geometry.h:27:52: note: passing argument to parameter 'widh' here 27 | int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh); | ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_mpegpes.o libvo/vo_mpegpes.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_null.o libvo/vo_null.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/spuenc.o sub/spuenc.c sub/spuenc.c:132:5: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 132 | if(! i&1 ) { | ^ ~ sub/spuenc.c:132:5: note: add parentheses after the '!' to evaluate the bitwise operator first 132 | if(! i&1 ) { | ^ | ( ) sub/spuenc.c:132:5: note: add parentheses around left hand side expression to silence this warning 132 | if(! i&1 ) { | ^ | ( ) sub/spuenc.c:223:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 223 | pb.pixels = inbuf; | ^ ~~~~~ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_dga.o libvo/vo_dga.c In file included from libvo/vo_dga.c:39: /usr/local/include/X11/extensions/xf86dga.h:9:2: warning: "xf86dga.h is obsolete and may be removed in the future." [-W#warnings] 9 | #warning "xf86dga.h is obsolete and may be removed in the future." | ^ /usr/local/include/X11/extensions/xf86dga.h:10:2: warning: "include instead." [-W#warnings] 10 | #warning "include instead." | ^ libvo/vo_dga.c:254:7: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 254 | d = CURRENT_VIDEO_BUFFER.data + vo_dga_vp_offset; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_dga.c:257:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | if (draw) draw(w, h, src, srca, stride, d, buffer_stride); | ^ libvo/vo_dga.c:289:7: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 289 | s = *src; | ^ ~~~~ libvo/vo_dga.c:290:7: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 290 | d = CURRENT_VIDEO_BUFFER.data + vo_dga_vp_offset; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_dga.c:628:20: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 628 | aspect(&scale_dstW, &scale_dstH, A_ZOOM); | ^~~~~~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ libvo/vo_dga.c:628:33: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 628 | aspect(&scale_dstW, &scale_dstH, A_ZOOM); | ^~~~~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ libvo/vo_dga.c:630:20: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 630 | aspect(&scale_dstW, &scale_dstH, A_NOZOOM); | ^~~~~~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ libvo/vo_dga.c:630:33: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 630 | aspect(&scale_dstW, &scale_dstH, A_NOZOOM); | ^~~~~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ 10 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_png.o libvo/vo_png.c In file included from libvo/vo_png.c:35: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libvo/vo_png.c:176:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 176 | av_init_packet(&pkt); | ^ /usr/local/include/libavcodec/packet.h:628:1: note: 'av_init_packet' has been explicitly marked deprecated here 628 | attribute_deprecated | ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' 100 | # define attribute_deprecated __attribute__((deprecated)) | ^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/gl_common.o libvo/gl_common.c libvo/gl_common.c:582:34: warning: passing 'char[12]' to parameter of type 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 582 | mpglGetString = getProcAddress("glGetString"); | ^~~~~~~~~~~~~ libvo/gl_common.c:1774:15: warning: initializing 'const char *' with an expression of type 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1774 | const char *extensions = mpglGetString(GL_EXTENSIONS); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/gl_common.c:1775:15: warning: initializing 'const char *' with an expression of type 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1775 | const char *vendor = mpglGetString(GL_VENDOR); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ libvo/gl_common.c:2344:16: warning: passing 'const GLubyte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2344 | strstr(mpglGetString(GL_EXTENSIONS), "GL_ARB_vertex_program")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:129:26: note: passing argument to parameter here 129 | char *strstr(const char *, const char *) __pure; | ^ libvo/gl_common.c:2813:67: warning: passing 'const int[10]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2813 | ctx->vinfo.x11 = vinfo = glXChooseVisual(mDisplay, mScreen, stereo_glx_attribs); | ^~~~~~~~~~~~~~~~~~ /usr/local/include/GL/glx.h:188:15: note: passing argument to parameter 'attribList' here 188 | int *attribList ); | ^ libvo/gl_common.c:2843:11: warning: 7 enumeration values not handled in switch: 'GLTYPE_AUTO', 'GLTYPE_W32', 'GLTYPE_SDL'... [-Wswitch] 2843 | switch (ctx->type) { | ^~~~~~~~~ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_gl.o libvo/vo_gl.c libvo/vo_gl.c:520:15: warning: initializing 'const char *' with an expression of type 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 520 | const char *renderer = mpglGetString(GL_RENDERER); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_gl.c:527:15: warning: initializing 'const char *' with an expression of type 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 527 | const char *extensions = mpglGetString(GL_EXTENSIONS); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_gl.c:528:15: warning: initializing 'const char *' with an expression of type 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 528 | const char *vendor = mpglGetString(GL_VENDOR); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_gl.c:529:15: warning: initializing 'const char *' with an expression of type 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 529 | const char *version = mpglGetString(GL_VERSION); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_gl.c:530:15: warning: initializing 'const char *' with an expression of type 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 530 | const char *renderer = mpglGetString(GL_RENDERER); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/csputils.o libvo/csputils.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/x11_common.o libvo/x11_common.c In file included from libvo/x11_common.c:79: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libvo/x11_common.c:744:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 744 | wmClass.res_name = vo_winname ? vo_winname : name; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/x11_common.c:874:49: warning: passing 'uint8_t[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 874 | XLookupString(&event->xkey, buf, sizeof(buf), &keySym, | ^~~ /usr/local/include/X11/Xutil.h:536:31: note: passing argument to parameter here 536 | char* /* buffer_return */, | ^ libvo/x11_common.c:1174:39: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1174 | 8, PropModeReplace, title, strlen(title)); | ^~~~~ /usr/local/include/X11/Xlib.h:2085:38: note: passing argument to parameter here 2085 | _Xconst unsigned char* /* data */, | ^ libvo/x11_common.c:1404:26: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1404 | &w, &h, &dummy_int, &depth); | ^~~~~~~~~~ /usr/local/include/X11/Xlib.h:2638:44: note: passing argument to parameter here 2638 | unsigned int* /* border_width_return */, | ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_gl_tiled.o libvo/vo_gl_tiled.c libvo/vo_gl_tiled.c:106:11: warning: 7 enumeration values not handled in switch: 'GLTYPE_AUTO', 'GLTYPE_W32', 'GLTYPE_SDL'... [-Wswitch] 106 | switch (glctx.type) { | ^~~~~~~~~~ libvo/vo_gl_tiled.c:647:24: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 647 | glFindFormat(format, &image_bpp, &gl_internal_format, &gl_bitmap_format, &gl_bitmap_type); | ^~~~~~~~~~ libvo/gl_common.h:64:40: note: passing argument to parameter 'bpp' here 64 | int glFindFormat(uint32_t format, int *bpp, GLint *gl_texfmt, | ^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/util/bitmap.o gui/util/bitmap.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/util/list.o gui/util/list.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/util/string.o gui/util/string.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/app/app.o gui/app/app.c In file included from gui/app/app.c:26: In file included from gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/app/app.c:26: In file included from gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/app/cfg.o gui/app/cfg.c In file included from gui/app/cfg.c:26: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. ./version.sh `cc -v 2>&1 | head -n 1 | cut -d ' ' -f 4` cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/dialog/about.o gui/dialog/about.c In file included from gui/dialog/about.c:22: In file included from ./gui/gtk-compat.h:27: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/dialog/about.c:22: In file included from ./gui/gtk-compat.h:27: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ gui/dialog/about.c:75:12: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 75 | pixbuf = gdk_pixbuf_new_from_inline(-1, emblem_png, FALSE, NULL); | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:297:1: note: 'gdk_pixbuf_new_from_inline' has been explicitly marked deprecated here 297 | GDK_PIXBUF_DEPRECATED_IN_2_32 | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:630:39: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_32' 630 | #define GDK_PIXBUF_DEPRECATED_IN_2_32 G_DEPRECATED _GDK_PIXBUF_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/dialog/dialog.o gui/dialog/dialog.c In file included from gui/dialog/dialog.c:24: In file included from gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/dialog/dialog.c:24: In file included from gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from gui/dialog/dialog.c:36: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/dialog/equalizer.o gui/dialog/equalizer.c In file included from gui/dialog/equalizer.c:27: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/dialog/equalizer.c:27: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from gui/dialog/equalizer.c:33: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/dialog/fileselect.o gui/dialog/fileselect.c In file included from gui/dialog/fileselect.c:25: In file included from gui/dialog/fileselect.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/dialog/fileselect.c:25: In file included from gui/dialog/fileselect.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from gui/dialog/fileselect.c:40: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ gui/dialog/fileselect.c:519:13: warning: assigning to 'const unsigned char *' from 'const gchar *' (aka 'const char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 519 | str = gtk_entry_get_text(gtkEntry(user_data)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui/dialog/fileselect.c:522:15: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 522 | if (chdir(dirname ? (const unsigned char *)dirname : str) != -1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/unistd.h:325:24: note: passing argument to parameter here 325 | int chdir(const char *); | ^ gui/dialog/fileselect.c:739:1: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 739 | WARN_ON | ^ ./gui/app/gui.h:54:17: note: expanded from macro 'WARN_ON' 54 | #define WARN_ON _Pragma("GCC diagnostic pop") | ^ :168:20: note: expanded from here 168 | GCC diagnostic pop | ^ gui/dialog/fileselect.c:800:14: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 800 | pixbuf = gdk_pixbuf_new_from_inline(-1, dir_up_png, FALSE, NULL); | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:297:1: note: 'gdk_pixbuf_new_from_inline' has been explicitly marked deprecated here 297 | GDK_PIXBUF_DEPRECATED_IN_2_32 | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:630:39: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_32' 630 | #define GDK_PIXBUF_DEPRECATED_IN_2_32 G_DEPRECATED _GDK_PIXBUF_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ 9 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/dialog/icons.o gui/dialog/icons.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/dialog/menu.o gui/dialog/menu.c In file included from gui/dialog/menu.c:27: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ In file included from gui/dialog/menu.c:36: In file included from gui/dialog/menu.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/dialog/menu.c:36: In file included from gui/dialog/menu.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ gui/dialog/menu.c:67:13: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 67 | Pixbuf = gdk_pixbuf_new_from_inline(-1, icon, FALSE, NULL); | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:297:1: note: 'gdk_pixbuf_new_from_inline' has been explicitly marked deprecated here 297 | GDK_PIXBUF_DEPRECATED_IN_2_32 | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:630:39: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_32' 630 | #define GDK_PIXBUF_DEPRECATED_IN_2_32 G_DEPRECATED _GDK_PIXBUF_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ gui/dialog/menu.c:109:13: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 109 | Pixbuf = gdk_pixbuf_new_from_inline(-1, icon, FALSE, NULL); | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:297:1: note: 'gdk_pixbuf_new_from_inline' has been explicitly marked deprecated here 297 | GDK_PIXBUF_DEPRECATED_IN_2_32 | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:630:39: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_32' 630 | #define GDK_PIXBUF_DEPRECATED_IN_2_32 G_DEPRECATED _GDK_PIXBUF_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ gui/dialog/menu.c:156:13: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 156 | Pixbuf = gdk_pixbuf_new_from_inline(-1, icon, FALSE, NULL); | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:297:1: note: 'gdk_pixbuf_new_from_inline' has been explicitly marked deprecated here 297 | GDK_PIXBUF_DEPRECATED_IN_2_32 | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:630:39: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_32' 630 | #define GDK_PIXBUF_DEPRECATED_IN_2_32 G_DEPRECATED _GDK_PIXBUF_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ gui/dialog/menu.c:655:130: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 655 | F=AddMenuCheckItem( RotationMenu, rotate_90ccw_png, _(MSGTR_GUI_Rotation90CCW), guiInfo.Rotation == 2, evSetRotation + ( -90 << 16 ) ); | ~~~ ^ gui/dialog/menu.c:777:119: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 777 | AddMenuCheckItem( DVDSubtitleLanguageMenu, NULL, _(MSGTR_GUI__none_), guiInfo.mpcontext->d_sub->id == -2, ( -2 << 16 ) + ivSetDVDSubtitle ); | ~~ ^ gui/dialog/menu.c:804:78: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 804 | AddMenuCheckItem( SubMenu, NULL, _(MSGTR_GUI__none_), sub_pos == -1, (-1 << 16) + ivSetSubtitle ); | ~~ ^ 11 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/dialog/msgbox.o gui/dialog/msgbox.c In file included from gui/dialog/msgbox.c:21: In file included from ./gui/gtk-compat.h:27: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/dialog/msgbox.c:21: In file included from ./gui/gtk-compat.h:27: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ gui/dialog/msgbox.c:69:11: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 69 | pixbuf = gdk_pixbuf_new_from_inline(-1, information_png, FALSE, NULL); | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:297:1: note: 'gdk_pixbuf_new_from_inline' has been explicitly marked deprecated here 297 | GDK_PIXBUF_DEPRECATED_IN_2_32 | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:630:39: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_32' 630 | #define GDK_PIXBUF_DEPRECATED_IN_2_32 G_DEPRECATED _GDK_PIXBUF_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ gui/dialog/msgbox.c:76:11: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 76 | pixbuf = gdk_pixbuf_new_from_inline(-1, warning_png, FALSE, NULL); | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:297:1: note: 'gdk_pixbuf_new_from_inline' has been explicitly marked deprecated here 297 | GDK_PIXBUF_DEPRECATED_IN_2_32 | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:630:39: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_32' 630 | #define GDK_PIXBUF_DEPRECATED_IN_2_32 G_DEPRECATED _GDK_PIXBUF_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ gui/dialog/msgbox.c:83:11: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 83 | pixbuf = gdk_pixbuf_new_from_inline(-1, error_png, FALSE, NULL); | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:297:1: note: 'gdk_pixbuf_new_from_inline' has been explicitly marked deprecated here 297 | GDK_PIXBUF_DEPRECATED_IN_2_32 | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:630:39: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_32' 630 | #define GDK_PIXBUF_DEPRECATED_IN_2_32 G_DEPRECATED _GDK_PIXBUF_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/dialog/playlist.o gui/dialog/playlist.c In file included from gui/dialog/playlist.c:29: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/dialog/playlist.c:29: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from gui/dialog/playlist.c:37: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/dialog/preferences.o gui/dialog/preferences.c In file included from gui/dialog/preferences.c:26: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/dialog/preferences.c:26: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from gui/dialog/preferences.c:32: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/dialog/skinbrowser.o gui/dialog/skinbrowser.c In file included from gui/dialog/skinbrowser.c:29: In file included from gui/dialog/skinbrowser.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/dialog/skinbrowser.c:29: In file included from gui/dialog/skinbrowser.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/dialog/tools.o gui/dialog/tools.c In file included from gui/dialog/tools.c:20: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/dialog/tools.c:20: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/dialog/url.o gui/dialog/url.c In file included from gui/dialog/url.c:28: In file included from gui/dialog/url.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/dialog/url.c:28: In file included from gui/dialog/url.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from gui/dialog/url.c:32: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/interface.o gui/interface.c In file included from gui/interface.c:26: In file included from gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ In file included from gui/interface.c:27: In file included from gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/interface.c:27: In file included from gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/skin/font.o gui/skin/font.c In file included from gui/skin/font.c:29: In file included from gui/skin/font.h:22: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/skin/font.c:29: In file included from gui/skin/font.h:22: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ gui/skin/font.c:205:16: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | av_strlcpy(buf, path, sizeof(buf)); | ^~~ /usr/local/include/libavutil/avstring.h:100:25: note: passing argument to parameter 'dst' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/font.c:206:16: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | av_strlcat(buf, fname, sizeof(buf)); | ^~~ /usr/local/include/libavutil/avstring.h:118:25: note: passing argument to parameter 'dst' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/font.c:207:16: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 207 | av_strlcat(buf, ".fnt", sizeof(buf)); | ^~~ /usr/local/include/libavutil/avstring.h:118:25: note: passing argument to parameter 'dst' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/font.c:208:18: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | file = fopen(buf, "rt"); | ^~~ /usr/include/stdio.h:258:36: note: passing argument to parameter here 258 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ gui/skin/font.c:215:20: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 215 | while (fgetstr(buf, sizeof(buf), file)) { | ^~~ ./gui/util/misc.h:28:21: note: passing argument to parameter 'str' here 28 | char *fgetstr(char *str, int size, FILE *file); | ^ gui/skin/font.c:216:17: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 216 | strswap(buf, '\t', ' '); | ^~~ ./gui/util/string.h:44:21: note: passing argument to parameter 'in' here 44 | char *strswap(char *in, char from, char to); | ^ gui/skin/font.c:217:17: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 217 | despace(buf); | ^~~ ./gui/util/string.h:35:21: note: passing argument to parameter 'in' here 35 | char *despace(char *in); | ^ gui/skin/font.c:218:19: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 218 | decomment(buf); | ^~~ ./gui/util/string.h:33:23: note: passing argument to parameter 'in' here 33 | char *decomment(char *in); | ^ gui/skin/font.c:224:16: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 224 | cutStr(buf, item, '=', n); | ^~~ ./gui/util/string.h:29:45: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~ ./gui/util/string.h:32:22: note: passing argument to parameter 'in' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/font.c:224:21: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 224 | cutStr(buf, item, '=', n); | ^~~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/font.c:225:16: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 225 | cutStr(buf, param, '=', n + 1); | ^~~ ./gui/util/string.h:29:45: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~ ./gui/util/string.h:32:22: note: passing argument to parameter 'in' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/font.c:225:21: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 225 | cutStr(buf, param, '=', n + 1); | ^~~~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/font.c:233:24: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 233 | cutStr(item, item, '"', 1); | ^~~~ ./gui/util/string.h:29:45: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~ ./gui/util/string.h:32:22: note: passing argument to parameter 'in' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/font.c:233:30: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 233 | cutStr(item, item, '"', 1); | ^~~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/font.c:242:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 242 | strncpy(Fonts[id]->bit8_chr + Fonts[id]->bit8_count * UTF8LENGTH, item, UTF8LENGTH); // deliberate output truncation (no null-termination required) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:112:32: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ gui/skin/font.c:242:83: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 242 | strncpy(Fonts[id]->bit8_chr + Fonts[id]->bit8_count * UTF8LENGTH, item, UTF8LENGTH); // deliberate output truncation (no null-termination required) | ^~~~ /usr/include/string.h:112:57: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ gui/skin/font.c:243:1: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] 243 | WARN_ON | ^ ./gui/app/gui.h:54:17: note: expanded from macro 'WARN_ON' 54 | #define WARN_ON _Pragma("GCC diagnostic pop") | ^ :35:20: note: expanded from here 35 | GCC diagnostic pop | ^ gui/skin/font.c:248:20: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 248 | cutStr(param, buf, ',', 0); | ^~~~~ ./gui/util/string.h:29:45: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~ ./gui/util/string.h:32:22: note: passing argument to parameter 'in' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/font.c:248:27: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 248 | cutStr(param, buf, ',', 0); | ^~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/font.c:249:40: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 249 | Fonts[id]->Chr[i].x = atoi(buf); | ^~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ gui/skin/font.c:251:20: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 251 | cutStr(param, buf, ',', 1); | ^~~~~ ./gui/util/string.h:29:45: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~ ./gui/util/string.h:32:22: note: passing argument to parameter 'in' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/font.c:251:27: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 251 | cutStr(param, buf, ',', 1); | ^~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/font.c:252:40: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 252 | Fonts[id]->Chr[i].y = atoi(buf); | ^~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ gui/skin/font.c:254:20: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 254 | cutStr(param, buf, ',', 2); | ^~~~~ ./gui/util/string.h:29:45: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~ ./gui/util/string.h:32:22: note: passing argument to parameter 'in' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/font.c:254:27: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 254 | cutStr(param, buf, ',', 2); | ^~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/font.c:255:40: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 255 | Fonts[id]->Chr[i].w = atoi(buf); | ^~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ gui/skin/font.c:257:20: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | cutStr(param, buf, ',', 3); | ^~~~~ ./gui/util/string.h:29:45: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~ ./gui/util/string.h:32:22: note: passing argument to parameter 'in' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/font.c:257:27: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | cutStr(param, buf, ',', 3); | ^~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/font.c:258:40: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 258 | Fonts[id]->Chr[i].h = atoi(buf); | ^~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ gui/skin/font.c:261:27: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 261 | } else if (strcmp(item, "image") == 0) { | ^~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gui/skin/font.c:262:24: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 262 | av_strlcpy(buf, path, sizeof(buf)); | ^~~ /usr/local/include/libavutil/avstring.h:100:25: note: passing argument to parameter 'dst' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/font.c:263:24: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 263 | av_strlcat(buf, param, sizeof(buf)); | ^~~ /usr/local/include/libavutil/avstring.h:118:25: note: passing argument to parameter 'dst' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/font.c:263:29: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 263 | av_strlcat(buf, param, sizeof(buf)); | ^~~~~ /usr/local/include/libavutil/avstring.h:118:42: note: passing argument to parameter 'src' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/font.c:267:31: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 267 | if (skinImageRead(buf, &Fonts[id]->Bitmap) != 0) { | ^~~ gui/skin/skin.h:27:25: note: passing argument to parameter 'fname' here 27 | int skinImageRead(char *fname, guiImage *img); | ^ gui/skin/font.c:321:21: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 321 | strncpy(uchar, p, *str - p); | ^~~~~ /usr/include/string.h:112:32: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ gui/skin/font.c:321:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 321 | strncpy(uchar, p, *str - p); | ^ /usr/include/string.h:112:57: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ gui/skin/font.c:324:41: warning: passing 'unsigned char *' to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 324 | *str = g_utf8_prev_char(p); | ^ /usr/local/include/glib-2.0/glib/gunicode.h:840:49: note: passing argument to parameter 'p' here 840 | gchar* g_utf8_prev_char (const gchar *p) G_GNUC_PURE; | ^ gui/skin/font.c:324:22: warning: assigning to 'unsigned char *' from 'gchar *' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 324 | *str = g_utf8_prev_char(p); | ^ ~~~~~~~~~~~~~~~~~~~ gui/skin/font.c:331:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 331 | if (strncmp(Fonts[id]->bit8_chr + i * UTF8LENGTH, uchar, UTF8LENGTH) == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ gui/skin/font.c:331:63: warning: passing 'unsigned char[6]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 331 | if (strncmp(Fonts[id]->bit8_chr + i * UTF8LENGTH, uchar, UTF8LENGTH) == 0) | ^~~~~ /usr/include/string.h:111:40: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ gui/skin/font.c:344:37: warning: passing 'unsigned char *' to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 344 | *str = g_utf8_prev_char(*str); | ^~~~ /usr/local/include/glib-2.0/glib/gunicode.h:840:49: note: passing argument to parameter 'p' here 840 | gchar* g_utf8_prev_char (const gchar *p) G_GNUC_PURE; | ^ gui/skin/font.c:344:18: warning: assigning to 'unsigned char *' from 'gchar *' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 344 | *str = g_utf8_prev_char(*str); | ^ ~~~~~~~~~~~~~~~~~~~~~~ gui/skin/font.c:367:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 367 | p = str; | ^ ~~~ gui/skin/font.c:397:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 397 | p = str; | ^ ~~~ gui/skin/font.c:488:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 488 | u = txt; | ^ ~~~ gui/skin/font.c:524:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 524 | u = txt + strlen(txt); | ^ ~~~~~~~~~~~~~~~~~ 48 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/skin/skin.o gui/skin/skin.c In file included from gui/skin/skin.c:29: In file included from gui/skin/font.h:22: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/skin/skin.c:29: In file included from gui/skin/font.h:22: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from gui/skin/skin.c:30: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ gui/skin/skin.c:150:16: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 150 | if (strcmp(currWinName, name) == 0) { | ^~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gui/skin/skin.c:221:15: warning: assigning to 'char *' from 'unsigned char[32]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 221 | name = currWinName; | ^ ~~~~~~~~~~~ gui/skin/skin.c:227:23: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 227 | if (!section_item(currItem)) | ^~~~~~~~ gui/skin/skin.c:114:31: note: passing argument to parameter 'item' here 114 | static int section_item(char *item) | ^ gui/skin/skin.c:254:23: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 254 | if (!section_item(currItem)) | ^~~~~~~~ gui/skin/skin.c:114:31: note: passing argument to parameter 'item' here 114 | static int section_item(char *item) | ^ gui/skin/skin.c:291:16: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 291 | av_strlcpy(currWinName, in, sizeof(currWinName)); | ^~~~~~~~~~~ /usr/local/include/libavutil/avstring.h:100:25: note: passing argument to parameter 'dst' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:314:22: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 314 | if (!window_item(currItem)) | ^~~~~~~~ gui/skin/skin.c:131:30: note: passing argument to parameter 'item' here 131 | static int window_item(char *item) | ^ gui/skin/skin.c:317:24: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 317 | is_video = (strcmp(currWinName, "video") == 0); | ^~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gui/skin/skin.c:318:24: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 318 | is_bar = (strcmp(currWinName, "playbar") == 0); | ^~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gui/skin/skin.c:319:24: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 319 | is_menu = (strcmp(currWinName, "menu") == 0); | ^~~~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gui/skin/skin.c:321:16: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 321 | cutStr(in, fname, ',', 0); | ^~~~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/skin.c:340:29: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 340 | if (is_video && (strcmp(fname, "NULL") == 0)) { | ^~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gui/skin/skin.c:344:20: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 344 | av_strlcpy(file, path, sizeof(file)); | ^~~~ /usr/local/include/libavutil/avstring.h:100:25: note: passing argument to parameter 'dst' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:344:26: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 344 | av_strlcpy(file, path, sizeof(file)); | ^~~~ /usr/local/include/libavutil/avstring.h:100:42: note: passing argument to parameter 'src' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:345:20: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 345 | av_strlcat(file, fname, sizeof(file)); | ^~~~ /usr/local/include/libavutil/avstring.h:118:25: note: passing argument to parameter 'dst' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:345:26: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 345 | av_strlcat(file, fname, sizeof(file)); | ^~~~~ /usr/local/include/libavutil/avstring.h:118:42: note: passing argument to parameter 'src' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:347:27: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 347 | if (skinImageRead(file, &currWin->Bitmap) != 0) | ^~~~ gui/skin/skin.h:27:25: note: passing argument to parameter 'fname' here 27 | int skinImageRead(char *fname, guiImage *img); | ^ gui/skin/skin.c:393:22: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 393 | if (!window_item(currItem)) | ^~~~~~~~ gui/skin/skin.c:131:30: note: passing argument to parameter 'item' here 131 | static int window_item(char *item) | ^ gui/skin/skin.c:429:22: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 429 | if (!window_item(currItem)) | ^~~~~~~~ gui/skin/skin.c:131:30: note: passing argument to parameter 'item' here 131 | static int window_item(char *item) | ^ gui/skin/skin.c:437:16: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 437 | cutStr(in, fname, ',', 0); | ^~~~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/skin.c:476:16: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 476 | if (strcmp(fname, "NULL") != 0) { | ^~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gui/skin/skin.c:477:20: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 477 | av_strlcpy(file, path, sizeof(file)); | ^~~~ /usr/local/include/libavutil/avstring.h:100:25: note: passing argument to parameter 'dst' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:477:26: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 477 | av_strlcpy(file, path, sizeof(file)); | ^~~~ /usr/local/include/libavutil/avstring.h:100:42: note: passing argument to parameter 'src' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:478:20: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 478 | av_strlcat(file, fname, sizeof(file)); | ^~~~ /usr/local/include/libavutil/avstring.h:118:25: note: passing argument to parameter 'dst' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:478:26: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 478 | av_strlcat(file, fname, sizeof(file)); | ^~~~~ /usr/local/include/libavutil/avstring.h:118:42: note: passing argument to parameter 'src' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:480:27: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 480 | if (skinImageRead(file, &item->Bitmap) != 0) | ^~~~ gui/skin/skin.h:27:25: note: passing argument to parameter 'fname' here 27 | int skinImageRead(char *fname, guiImage *img); | ^ gui/skin/skin.c:503:22: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 503 | if (!window_item(currItem)) | ^~~~~~~~ gui/skin/skin.c:131:30: note: passing argument to parameter 'item' here 131 | static int window_item(char *item) | ^ gui/skin/skin.c:518:16: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 518 | av_strlcpy(file, path, sizeof(file)); | ^~~~ /usr/local/include/libavutil/avstring.h:100:25: note: passing argument to parameter 'dst' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:518:22: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 518 | av_strlcpy(file, path, sizeof(file)); | ^~~~ /usr/local/include/libavutil/avstring.h:100:42: note: passing argument to parameter 'src' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:519:16: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 519 | av_strlcat(file, in, sizeof(file)); | ^~~~ /usr/local/include/libavutil/avstring.h:118:25: note: passing argument to parameter 'dst' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:521:23: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 521 | if (skinImageRead(file, &item->Bitmap) != 0) | ^~~~ gui/skin/skin.h:27:25: note: passing argument to parameter 'fname' here 27 | int skinImageRead(char *fname, guiImage *img); | ^ gui/skin/skin.c:547:22: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 547 | if (!window_item(currItem)) | ^~~~~~~~ gui/skin/skin.c:131:30: note: passing argument to parameter 'item' here 131 | static int window_item(char *item) | ^ gui/skin/skin.c:611:22: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 611 | if (!window_item(currItem)) | ^~~~~~~~ gui/skin/skin.c:131:30: note: passing argument to parameter 'item' here 131 | static int window_item(char *item) | ^ gui/skin/skin.c:619:16: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 619 | cutStr(in, bfname, ',', i++); | ^~~~~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/skin.c:622:16: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 622 | cutStr(in, phfname, ',', i++); | ^~~~~~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/skin.c:632:16: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 632 | cutStr(in, buf, ',', i); | ^~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/skin.c:633:26: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 633 | no_default = (strcmp(buf, "-") == 0); | ^~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gui/skin/skin.c:640:16: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 640 | cutStr(in, buf, ',', i++); | ^~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/skin.c:642:30: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 642 | message = appFindMessage(buf); | ^~~ ./gui/app/app.h:193:32: note: passing argument to parameter 'name' here 193 | int appFindMessage(const char *name); | ^ gui/skin/skin.c:650:33: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 650 | skin_legacy("evSetURL", buf); | ^~~ gui/skin/skin.c:69:54: note: passing argument to parameter 'data' here 69 | static void skin_legacy(const char *old, const char *data) | ^ gui/skin/skin.c:659:16: warning: passing 'unsigned char[5]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 659 | strcpy(dfmt, "-"); | ^~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ gui/skin/skin.c:661:17: warning: passing 'unsigned char[5]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 661 | sprintf(dfmt, "%d%%", d); | ^~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ gui/skin/skin.c:694:16: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 694 | if (strcmp(phfname, "NULL") != 0) { | ^~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gui/skin/skin.c:700:20: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 700 | av_strlcpy(buf, path, sizeof(buf)); | ^~~ /usr/local/include/libavutil/avstring.h:100:25: note: passing argument to parameter 'dst' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:700:25: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 700 | av_strlcpy(buf, path, sizeof(buf)); | ^~~~ /usr/local/include/libavutil/avstring.h:100:42: note: passing argument to parameter 'src' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:701:20: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 701 | av_strlcat(buf, phfname, sizeof(buf)); | ^~~ /usr/local/include/libavutil/avstring.h:118:25: note: passing argument to parameter 'dst' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:701:25: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 701 | av_strlcat(buf, phfname, sizeof(buf)); | ^~~~~~~ /usr/local/include/libavutil/avstring.h:118:42: note: passing argument to parameter 'src' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:703:27: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 703 | if (skinImageRead(buf, &item->Bitmap) != 0) | ^~~ gui/skin/skin.h:27:25: note: passing argument to parameter 'fname' here 27 | int skinImageRead(char *fname, guiImage *img); | ^ gui/skin/skin.c:711:16: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 711 | if (strcmp(bfname, "NULL") != 0) { | ^~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gui/skin/skin.c:712:20: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 712 | av_strlcpy(buf, path, sizeof(buf)); | ^~~ /usr/local/include/libavutil/avstring.h:100:25: note: passing argument to parameter 'dst' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:712:25: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 712 | av_strlcpy(buf, path, sizeof(buf)); | ^~~~ /usr/local/include/libavutil/avstring.h:100:42: note: passing argument to parameter 'src' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:713:20: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 713 | av_strlcat(buf, bfname, sizeof(buf)); | ^~~ /usr/local/include/libavutil/avstring.h:118:25: note: passing argument to parameter 'dst' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:713:25: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 713 | av_strlcat(buf, bfname, sizeof(buf)); | ^~~~~~ /usr/local/include/libavutil/avstring.h:118:42: note: passing argument to parameter 'src' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:715:27: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 715 | if (skinImageRead(buf, &item->Mask) != 0) | ^~~ gui/skin/skin.h:27:25: note: passing argument to parameter 'fname' here 27 | int skinImageRead(char *fname, guiImage *img); | ^ gui/skin/skin.c:809:17: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 809 | skin_legacy(currItem, "hpotmeter"); | ^~~~~~~~ gui/skin/skin.c:69:37: note: passing argument to parameter 'old' here 69 | static void skin_legacy(const char *old, const char *data) | ^ gui/skin/skin.c:832:22: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 832 | if (!window_item(currItem)) | ^~~~~~~~ gui/skin/skin.c:131:30: note: passing argument to parameter 'item' here 131 | static int window_item(char *item) | ^ gui/skin/skin.c:840:16: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 840 | cutStr(in, phfname, ',', 0); | ^~~~~~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/skin.c:847:16: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 847 | cutStr(in, buf, ',', 7); | ^~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/skin.c:849:30: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 849 | message = appFindMessage(buf); | ^~~ ./gui/app/app.h:193:32: note: passing argument to parameter 'name' here 193 | int appFindMessage(const char *name); | ^ gui/skin/skin.c:857:33: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 857 | skin_legacy("evSetURL", buf); | ^~~ gui/skin/skin.c:69:54: note: passing argument to parameter 'data' here 69 | static void skin_legacy(const char *old, const char *data) | ^ gui/skin/skin.c:884:16: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 884 | if (strcmp(phfname, "NULL") != 0) { | ^~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gui/skin/skin.c:890:20: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 890 | av_strlcpy(buf, path, sizeof(buf)); | ^~~ /usr/local/include/libavutil/avstring.h:100:25: note: passing argument to parameter 'dst' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:890:25: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 890 | av_strlcpy(buf, path, sizeof(buf)); | ^~~~ /usr/local/include/libavutil/avstring.h:100:42: note: passing argument to parameter 'src' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:891:20: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 891 | av_strlcat(buf, phfname, sizeof(buf)); | ^~~ /usr/local/include/libavutil/avstring.h:118:25: note: passing argument to parameter 'dst' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:891:25: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 891 | av_strlcat(buf, phfname, sizeof(buf)); | ^~~~~~~ /usr/local/include/libavutil/avstring.h:118:42: note: passing argument to parameter 'src' here 118 | size_t av_strlcat(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:893:27: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 893 | if (skinImageRead(buf, &item->Bitmap) != 0) | ^~~ gui/skin/skin.h:27:25: note: passing argument to parameter 'fname' here 27 | int skinImageRead(char *fname, guiImage *img); | ^ gui/skin/skin.c:915:22: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 915 | if (!window_item(currItem)) | ^~~~~~~~ gui/skin/skin.c:131:30: note: passing argument to parameter 'item' here 131 | static int window_item(char *item) | ^ gui/skin/skin.c:928:21: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 928 | switch (fntRead(path, fnt)) { | ^~~~ gui/skin/font.h:44:19: note: passing argument to parameter 'path' here 44 | int fntRead(char *path, char *fname); | ^ gui/skin/skin.c:967:22: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 967 | if (!window_item(currItem)) | ^~~~~~~~ gui/skin/skin.c:131:30: note: passing argument to parameter 'item' here 131 | static int window_item(char *item) | ^ gui/skin/skin.c:1030:22: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1030 | if (!window_item(currItem)) | ^~~~~~~~ gui/skin/skin.c:131:30: note: passing argument to parameter 'item' here 131 | static int window_item(char *item) | ^ gui/skin/skin.c:1095:22: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1095 | if (!window_item(currItem)) | ^~~~~~~~ gui/skin/skin.c:131:30: note: passing argument to parameter 'item' here 131 | static int window_item(char *item) | ^ gui/skin/skin.c:1193:16: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1193 | av_strlcpy(path, skinfname, sizeof(path)); | ^~~~ /usr/local/include/libavutil/avstring.h:100:25: note: passing argument to parameter 'dst' here 100 | size_t av_strlcpy(char *dst, const char *src, size_t size); | ^ gui/skin/skin.c:1310:20: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1310 | while (fgetstr(line, sizeof(line), skinfile)) { | ^~~~ ./gui/util/misc.h:28:21: note: passing argument to parameter 'str' here 28 | char *fgetstr(char *str, int size, FILE *file); | ^ gui/skin/skin.c:1313:17: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1313 | strswap(line, '\t', ' '); | ^~~~ ./gui/util/string.h:44:21: note: passing argument to parameter 'in' here 44 | char *strswap(char *in, char from, char to); | ^ gui/skin/skin.c:1314:17: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1314 | despace(line); | ^~~~ ./gui/util/string.h:35:21: note: passing argument to parameter 'in' here 35 | char *despace(char *in); | ^ gui/skin/skin.c:1315:19: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1315 | decomment(line); | ^~~~ ./gui/util/string.h:33:23: note: passing argument to parameter 'in' here 33 | char *decomment(char *in); | ^ gui/skin/skin.c:1320:16: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1320 | cutStr(line, currItem, '=', 0); | ^~~~ ./gui/util/string.h:29:45: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~ ./gui/util/string.h:32:22: note: passing argument to parameter 'in' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/skin.c:1320:22: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1320 | cutStr(line, currItem, '=', 0); | ^~~~~~~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/skin.c:1321:16: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1321 | cutStr(line, param, '=', 1); | ^~~~ ./gui/util/string.h:29:45: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~ ./gui/util/string.h:32:22: note: passing argument to parameter 'in' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/skin.c:1321:22: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1321 | cutStr(line, param, '=', 1); | ^~~~~ ./gui/util/string.h:29:49: note: expanded from macro 'cutStr' 29 | #define cutStr(in, out, sep, num) cutString(in, out, sep, num, sizeof(out)) | ^~~ ./gui/util/string.h:32:32: note: passing argument to parameter 'out' here 32 | void cutString(char *in, char *out, char sep, int num, size_t maxout); | ^ gui/skin/skin.c:1322:18: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1322 | strlower(currItem); | ^~~~~~~~ ./gui/util/string.h:43:22: note: passing argument to parameter 'in' here 43 | char *strlower(char *in); | ^ gui/skin/skin.c:1325:24: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1325 | if (strcmp(currItem, skinItem[i].name) == 0) { | ^~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ gui/skin/skin.c:1326:38: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1326 | if (skinItem[i].func(param) != 0) { | ^~~~~ 87 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/ui/actions.o gui/ui/actions.c In file included from gui/ui/actions.c:31: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ In file included from gui/ui/actions.c:32: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/ui/actions.c:32: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/ui/main.o gui/ui/main.c In file included from gui/ui/main.c:29: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/ui/main.c:29: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from gui/ui/main.c:31: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ gui/ui/main.c:87:75: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 87 | RenderAll( &guiApp.mainWindow,guiApp.mainItems,guiApp.IndexOfMainItems,mainDrawBuffer ); | ^~~~~~~~~~~~~~ gui/ui/render.h:25:66: note: passing argument to parameter 'drawbuf' here 25 | void RenderAll(wsWindow *window, guiItem *items, int till, char *drawbuf); | ^ gui/ui/main.c:408:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 408 | wsWindowShape(&guiApp.mainWindow, guiApp.main.Mask.Image); | ^~~~~~~~~~~~~~~~~~~~~~ ./gui/wm/ws.h:178:41: note: passing argument to parameter 'data' here 178 | void wsWindowShape(wsWindow *win, char *data); | ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/ui/menu.o gui/ui/menu.c In file included from gui/ui/menu.c:28: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/ui/menu.c:28: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from gui/ui/menu.c:30: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ gui/ui/menu.c:127:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 127 | wsWindowShape( &guiApp.menuWindow,guiApp.menu.Mask.Image ); | ^~~~~~~~~~~~~~~~~~~~~~ ./gui/wm/ws.h:178:41: note: passing argument to parameter 'data' here 178 | void wsWindowShape(wsWindow *win, char *data); | ^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/ui/playbar.o gui/ui/playbar.c In file included from gui/ui/playbar.c:28: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/ui/playbar.c:28: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from gui/ui/playbar.c:30: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ gui/ui/playbar.c:117:84: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 117 | RenderAll( &guiApp.playbarWindow,guiApp.playbarItems,guiApp.IndexOfPlaybarItems,playbarDrawBuffer ); | ^~~~~~~~~~~~~~~~~ gui/ui/render.h:25:66: note: passing argument to parameter 'drawbuf' here 25 | void RenderAll(wsWindow *window, guiItem *items, int till, char *drawbuf); | ^ gui/ui/playbar.c:304:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 304 | wsWindowShape( &guiApp.playbarWindow,guiApp.playbar.Mask.Image ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./gui/wm/ws.h:178:41: note: passing argument to parameter 'data' here 178 | void wsWindowShape(wsWindow *win, char *data); | ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/ui/render.o gui/ui/render.c In file included from gui/ui/render.c:30: In file included from gui/ui/render.h:22: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/ui/render.c:30: In file included from gui/ui/render.h:22: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from gui/ui/render.c:31: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ gui/ui/render.c:585:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 585 | wsImageRender(window, drawbuf); | ^~~~~~~ ./gui/wm/ws.h:187:50: note: passing argument to parameter 'img' here 187 | void wsImageRender(wsWindow *win, unsigned char *img); | ^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/ui/video.o gui/ui/video.c In file included from gui/ui/video.c:26: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ In file included from gui/ui/video.c:29: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/ui/video.c:29: In file included from ./gui/app/app.h:23: In file included from ./gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/util/misc.o gui/util/misc.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/wm/ws.o gui/wm/ws.c In file included from gui/wm/ws.c:30: In file included from gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/wm/ws.c:30: In file included from gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from gui/wm/ws.c:32: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ gui/wm/ws.c:947:29: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 947 | wsTextProperty.value = label; | ^ ~~~~~ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -Wno-strict-prototypes -c -o gui/wm/wsxdnd.o gui/wm/wsxdnd.c In file included from gui/wm/wsxdnd.c:23: In file included from gui/wm/wsxdnd.h:25: In file included from gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from gui/wm/wsxdnd.c:23: In file included from gui/wm/wsxdnd.h:25: In file included from gui/wm/ws.h:28: In file included from ./gui/dialog/dialog.h:22: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ gui/wm/wsxdnd.c:68:33: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 68 | 32, PropModeAppend, (char *)&xdnd_version, 1); | ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Xlib.h:2085:38: note: passing argument to parameter here 2085 | _Xconst unsigned char* /* data */, | ^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_jpeg.o libvo/vo_jpeg.c In file included from libvo/vo_jpeg.c:48: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_matrixview.o libvo/vo_matrixview.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/matrixview.o libvo/matrixview.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_md5sum.o libvo/vo_md5sum.c In file included from libvo/vo_md5sum.c:45: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_mng.o libvo/vo_mng.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o udp_sync.o udp_sync.c In file included from udp_sync.c:44: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libao2/ao_oss.o libao2/ao_oss.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_pnm.o libvo/vo_pnm.c In file included from libvo/vo_pnm.c:45: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_tga.o libvo/vo_tga.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_vdpau.o libvo/vo_vdpau.c libvo/vo_vdpau.c:904:50: warning: passing 'int *' to parameter of type 'const uint32_t *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 904 | &pitch, | ^~~~~~ libvo/vo_vdpau.c:1019:40: warning: passing 'int *' to parameter of type 'const uint32_t *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 1019 | (const void *) &i->bitmap, &i->stride, &destRect); | ^~~~~~~~~~ libvo/vo_vdpau.c:1136:35: warning: cast to smaller integer type 'VdpVideoSurface' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 1136 | VdpVideoSurface surface = (VdpVideoSurface)mpi->priv; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_vdpau.c:1148:53: warning: passing 'int[4]' to parameter of type 'const uint32_t *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 1148 | mpi->stride, &r); | ^~~~~~~~~~~ libvo/vo_vdpau.c:1161:53: warning: passing 'int[4]' to parameter of type 'const uint32_t *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 1161 | mpi->stride); // pitch | ^~~~~~~~~~~ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_x11.o libvo/vo_x11.c libvo/vo_x11.c:208:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | myximage->data = ImageDataOrig + 16 - ((long)ImageDataOrig & 15); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_x11.c:210:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 210 | ImageData = myximage->data; | ^ ~~~~~~~~~~~~~~ libvo/vo_x11.c:227:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 227 | myximage->data = ImageDataOrig; | ^ ~~~~~~~~~~~~~ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_xover.o libvo/vo_xover.c In file included from libvo/vo_xover.c:52: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libvo/vo_xover.c:91:49: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 91 | XGetGeometry(mDisplay, vo_window, &mRoot, &drwX, &drwY, &drwWidth, | ^~~~~ /usr/local/include/X11/Xlib.h:2634:25: note: passing argument to parameter here 2634 | int* /* x_return */, | ^ libvo/vo_xover.c:91:56: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 91 | XGetGeometry(mDisplay, vo_window, &mRoot, &drwX, &drwY, &drwWidth, | ^~~~~ /usr/local/include/X11/Xlib.h:2635:25: note: passing argument to parameter here 2635 | int* /* y_return */, | ^ libvo/vo_xover.c:96:8: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 96 | &drwcX, &drwcY, &mRoot); | ^~~~~~ /usr/local/include/X11/Xlib.h:3462:30: note: passing argument to parameter here 3462 | int* /* dest_x_return */, | ^ libvo/vo_xover.c:96:16: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 96 | &drwcX, &drwcY, &mRoot); | ^~~~~~ /usr/local/include/X11/Xlib.h:3463:30: note: passing argument to parameter here 3463 | int* /* dest_y_return */, | ^ libvo/vo_xover.c:97:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 97 | aspect(&dwidth,&dheight,A_NOZOOM); | ^~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ libvo/vo_xover.c:97:22: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 97 | aspect(&dwidth,&dheight,A_NOZOOM); | ^~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ libvo/vo_xover.c:106:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 106 | aspect(&dwidth,&dheight,A_NOZOOM); | ^~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ libvo/vo_xover.c:106:22: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 106 | aspect(&dwidth,&dheight,A_NOZOOM); | ^~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ libvo/vo_xover.c:112:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 112 | aspect(&dwidth,&dheight,A_ZOOM); | ^~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ libvo/vo_xover.c:112:22: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 112 | aspect(&dwidth,&dheight,A_ZOOM); | ^~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ libvo/vo_xover.c:262:10: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 262 | aspect(&d_width, &d_height, A_NOZOOM); | ^~~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ libvo/vo_xover.c:262:20: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 262 | aspect(&d_width, &d_height, A_NOZOOM); | ^~~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ libvo/vo_xover.c:275:75: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 275 | if ( ( flags&VOFLAG_FULLSCREEN )||(flags & VOFLAG_SWSCALE) ) aspect(&d_width, &d_height, A_ZOOM); | ^~~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ libvo/vo_xover.c:275:85: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 275 | if ( ( flags&VOFLAG_FULLSCREEN )||(flags & VOFLAG_SWSCALE) ) aspect(&d_width, &d_height, A_ZOOM); | ^~~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here 46 | void aspect(int *srcw, int *srch, int zoom); | ^ 17 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_xv.o libvo/vo_xv.c libvo/vo_xv.c:130:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 130 | xvimage[current_buf]->data + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 131 | xvimage[current_buf]->offsets[0] + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 132 | xvimage[current_buf]->pitches[0] * y0 + x0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:393:9: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 393 | dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[0] + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 394 | xvimage[current_buf]->pitches[0] * y + x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:408:13: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 408 | dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[1] + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 409 | xvimage[current_buf]->pitches[1] * y + x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:413:13: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 413 | dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[2] + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 414 | xvimage[current_buf]->pitches[2] * y + x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:425:13: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 425 | dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[1] + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 426 | xvimage[current_buf]->pitches[1] * y + x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:495:24: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 495 | mpi->planes[0] = | ^ 496 | xvimage[current_buf]->data + xvimage[current_buf]->offsets[0]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:504:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 504 | mpi->planes[1] = | ^ 505 | xvimage[current_buf]->data + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 506 | xvimage[current_buf]->offsets[idx_p1]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:507:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 507 | mpi->planes[2] = | ^ 508 | xvimage[current_buf]->data + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 509 | xvimage[current_buf]->offsets[idx_p2]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:515:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 515 | mpi->planes[1] = | ^ 516 | xvimage[current_buf]->data + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 517 | xvimage[current_buf]->offsets[1]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/vo_yuv4mpeg.o libvo/vo_yuv4mpeg.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o asxparser.o asxparser.c In file included from asxparser.c:31: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o bstr.o bstr.c bstr.c:43:30: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 43 | int ret = av_strncasecmp(str1.start, str2.start, FFMIN(str1.len, str2.len)); | ^~~~~~~~~~ /usr/local/include/libavutil/avstring.h:263:32: note: passing argument to parameter 'a' here 263 | int av_strncasecmp(const char *a, const char *b, size_t n); | ^ bstr.c:43:42: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 43 | int ret = av_strncasecmp(str1.start, str2.start, FFMIN(str1.len, str2.len)); | ^~~~~~~~~~ /usr/local/include/libavutil/avstring.h:263:47: note: passing argument to parameter 'b' here 263 | int av_strncasecmp(const char *a, const char *b, size_t n); | ^ 2 warnings generated. cc -D_ISOC99_SOURCE -I. -Iffmpeg -O3 -DCODECS2HTML -I/usr/local/include -o codec-cfg codec-cfg.c codec-cfg.c:1071:12: warning: taking the absolute value of unsigned type 'const unsigned int' has no effect [-Wabsolute-value] 1071 | if(abs(*a)<256) | ^ codec-cfg.c:1071:12: note: remove the call to 'abs' since unsigned values cannot be negative 1071 | if(abs(*a)<256) | ^~~ codec-cfg.c:1159:24: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] 1158 | printf("{ 0x%08lx, %hu, %hu,", | ~~~~~ | %08x 1159 | cod[i][j].guid.f1, | ^~~~~~~~~~~~~~~~~ codec-cfg.c:1173:26: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1173 | print_char_array(codec_strs, codec_strs_len); | ^~~~~~~~~~ codec-cfg.c:1078:51: note: passing argument to parameter 'a' here 1078 | static void print_char_array(const unsigned char* a, int size) | ^ 3 warnings generated. ./codec-cfg etc/codecs.conf > codecs.conf.h Reading optional codecs config file etc/codecs.conf: 226 audio & 468 video codecs cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o codec-cfg.o codec-cfg.c codec-cfg.c:629:22: warning: assigning to 'codecs_t *' (aka 'struct codecs *') from 'const codecs_t[468]' (aka 'const struct codecs[468]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 629 | video_codecs = builtin_video_codecs; | ^ ~~~~~~~~~~~~~~~~~~~~ codec-cfg.c:630:22: warning: assigning to 'codecs_t *' (aka 'struct codecs *') from 'const codecs_t[226]' (aka 'const struct codecs[226]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 630 | audio_codecs = builtin_audio_codecs; | ^ ~~~~~~~~~~~~~~~~~~~~ codec-cfg.c:633:20: warning: assigning to 'char *' from 'const char[28243]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 633 | codec_strs = builtin_codec_strs; | ^ ~~~~~~~~~~~~~~~~~~ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o cpudetect.o cpudetect.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o edl.o edl.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o fmt-conversion.o fmt-conversion.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o m_config.o m_config.c m_config.c:325:14: warning: assigning to 'char *' from 'const char *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 325 | co->name = arg->name; | ^ ~~~~~~~~~ 1 warning generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o m_option.o m_option.c m_option.c:1333:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1333 | *time = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 1 warning generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o m_struct.o m_struct.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o mp_msg.o mp_msg.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o mp_strings.o mp_strings.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o mpcommon.o mpcommon.c In file included from mpcommon.c:31: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mpcommon.c:323:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 323 | ass_process_data(ass_track, packet, len); | ^~~~~~ /usr/local/include/ass/ass.h:698:53: note: passing argument to parameter 'data' here 698 | void ass_process_data(ASS_Track *track, const char *data, int size); | ^ mpcommon.c:325:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 325 | ass_process_chunk(ass_track, packet, len, | ^~~~~~ /usr/local/include/ass/ass.h:723:54: note: passing argument to parameter 'data' here 723 | void ass_process_chunk(ASS_Track *track, const char *data, int size, | ^ mpcommon.c:332:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 332 | sub_add_text(&tmp_subs, packet, len, endpts, 0); | ^~~~~~ ./sub/subreader.h:115:46: note: passing argument to parameter 'txt' here 115 | void sub_add_text(subtitle *sub, const char *txt, int len, double endpts, int strip_markup); | ^ mpcommon.c:360:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 360 | sub_add_text(&subs, packet, len, endpts, 1); | ^~~~~~ ./sub/subreader.h:115:46: note: passing argument to parameter 'txt' here 115 | void sub_add_text(subtitle *sub, const char *txt, int len, double endpts, int strip_markup); | ^ mpcommon.c:184:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 184 | sub_clear_text(&subs, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mpcommon.c:329:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 329 | if (subpts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mpcommon.c:331:39: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 331 | if (endpts == MP_NOPTS_VALUE) endpts = subpts + 3; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mpcommon.c:336:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 336 | sub_clear_text(&tmp_subs, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mpcommon.c:342:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 342 | if (subpts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mpcommon.c:343:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 343 | if (endpts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mpcommon.c:344:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 344 | sub_clear_text(&subs, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mpcommon.c:359:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 359 | if (endpts == MP_NOPTS_VALUE) endpts = subpts + 4; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mpcommon.c:671:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 671 | return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mpcommon.c:677:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 677 | if (sh_audio->pts_bytes && a_pts == MP_NOPTS_VALUE && | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ mpcommon.c:680:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 680 | if (a_pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 18 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o parser-cfg.o parser-cfg.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o path.o path.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o playtree.o playtree.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o playtreeparser.o playtreeparser.c In file included from playtreeparser.c:40: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o subopt-helper.o subopt-helper.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af.o libaf/af.c In file included from libaf/af.c:27: In file included from ./libmpcodecs/dec_audio.h:23: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_center.o libaf/af_center.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_channels.o libaf/af_channels.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_comp.o libaf/af_comp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_delay.o libaf/af_delay.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_dummy.o libaf/af_dummy.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_equalizer.o libaf/af_equalizer.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_extrastereo.o libaf/af_extrastereo.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_format.o libaf/af_format.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_gate.o libaf/af_gate.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_hrtf.o libaf/af_hrtf.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_karaoke.o libaf/af_karaoke.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_pan.o libaf/af_pan.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_resample.o libaf/af_resample.c libaf/af_resample.c:136:8: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 136 | rd = abs((float)af->data->rate - (float)data->rate)/(float)data->rate; | ^ libaf/af_resample.c:136:8: note: use function 'fabsf' instead 136 | rd = abs((float)af->data->rate - (float)data->rate)/(float)data->rate; | ^~~ | fabsf 1 warning generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_scaletempo.o libaf/af_scaletempo.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_sinesuppress.o libaf/af_sinesuppress.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_stats.o libaf/af_stats.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_sub.o libaf/af_sub.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_surround.o libaf/af_surround.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_sweep.o libaf/af_sweep.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_tools.o libaf/af_tools.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_volnorm.o libaf/af_volnorm.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_volume.o libaf/af_volume.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/filter.o libaf/filter.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/format.o libaf/format.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/reorder_ch.o libaf/reorder_ch.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/window.o libaf/window.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad.o libmpcodecs/ad.c In file included from libmpcodecs/ad.c:28: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_alaw.o libmpcodecs/ad_alaw.c In file included from libmpcodecs/ad_alaw.c:24: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_dvdpcm.c In file included from libmpcodecs/ad_dvdpcm.c:26: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/ad_dvdpcm.c:114:45: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 114 | len = demux_read_data(sh_audio->ds, tmp, 10); | ^~~ ./libmpdemux/demuxer.h:385:55: note: passing argument to parameter 'mem' here 385 | int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len); | ^ libmpcodecs/ad_dvdpcm.c:138:45: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 138 | len = demux_read_data(sh_audio->ds, tmp, 12); | ^~~ ./libmpdemux/demuxer.h:385:55: note: passing argument to parameter 'mem' here 385 | int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len); | ^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwac3.c In file included from libmpcodecs/ad_hwac3.c:34: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/ad_hwac3.c:116:29: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 116 | length = dts_syncinfo(sh_audio->a_in_buffer, &flags, &sample_rate, &bit_rate); | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_hwac3.c:51:34: note: passing argument to parameter 'indata_ptr' here 51 | static int dts_syncinfo(uint8_t *indata_ptr, int *flags, int *sample_rate, int *bit_rate); | ^ libmpcodecs/ad_hwac3.c:129:29: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 129 | length = a52_syncinfo(sh_audio->a_in_buffer, &sample_rate, &bit_rate); | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_hwac3.c:55:35: note: passing argument to parameter 'buf' here 55 | static int a52_syncinfo (uint8_t *buf, int *sample_rate, int *bit_rate) | ^ libmpcodecs/ad_hwac3.c:148:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 148 | demux_read_data(sh_audio->ds, sh_audio->a_in_buffer + 12, length - 12); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:385:55: note: passing argument to parameter 'mem' here 385 | int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len); | ^ libmpcodecs/ad_hwac3.c:213:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | return decode_audio_dts(sh_audio->a_in_buffer, len, buf, maxlen); | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_hwac3.c:52:44: note: passing argument to parameter 'indata_ptr' here 52 | static int decode_audio_dts(unsigned char *indata_ptr, int len, unsigned char *buf, int outsize); | ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_hwmpa.c In file included from libmpcodecs/ad_hwmpa.c:30: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/ad_hwmpa.c:56:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 56 | x = mp_get_mp3_header(&(sh->a_in_buffer[cnt]), chans, srate, spf, mpa_layer, br); | ^~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/mp3_hdr.h:24:38: note: passing argument to parameter 'hbuf' here 24 | int mp_get_mp3_header(unsigned char* hbuf,int* chans, int* freq, int* spf, int* mpa_layer, int* br); | ^ libmpcodecs/ad_hwmpa.c:68:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 68 | len = demux_read_data(sh->ds,&sh->a_in_buffer[sh->a_in_buffer_len],sh->a_in_buffer_size-sh->a_in_buffer_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:385:55: note: passing argument to parameter 'mem' here 385 | int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len); | ^ libmpcodecs/ad_hwmpa.c:118:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 118 | l = demux_read_data(sh->ds,&sh->a_in_buffer[sh->a_in_buffer_len], l); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:385:55: note: passing argument to parameter 'mem' here 385 | int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len); | ^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_pcm.o libmpcodecs/ad_pcm.c In file included from libmpcodecs/ad_pcm.c:24: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/dec_audio.o libmpcodecs/dec_audio.c In file included from libmpcodecs/dec_audio.c:29: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/dec_audio.c:170:8: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 170 | sh_audio->wf ? (&i) : NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./codec-cfg.h:83:63: note: passing argument to parameter 'fourccmap' here 83 | codecs_t* find_audio_codec(unsigned int fourcc, unsigned int *fourccmap, | ^ libmpcodecs/dec_audio.c:406:17: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 406 | unsigned char *buf = sh->a_buffer + sh->a_buffer_len; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/dec_teletext.o libmpcodecs/dec_teletext.c libmpcodecs/dec_teletext.c:847:10: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 847 | p=MSGTR_TV_NoTeletext; | ^~~~~~~~~~~~~~~~~~~~ libmpcodecs/dec_teletext.c:1227:14: warning: passing 'unsigned char[21]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1227 | snprintf(priv->networkname,21,"%s",data+20); | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here 297 | int snprintf(char * __restrict, size_t, const char * __restrict, | ^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/dec_video.o libmpcodecs/dec_video.c In file included from libmpcodecs/dec_video.c:27: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/dec_video.c:109:29: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] 109 | (int *) value) == CONTROL_OK) | ^~~~~~~~~~~~~ libmpcodecs/dec_video.c:108:61: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 108 | if (mpvdec->control(sh_video, VDCTRL_SET_EQUALIZER, item, | ^~~~ libmpcodecs/dec_video.c:134:64: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 134 | return mpvdec->control(sh_video, VDCTRL_GET_EQUALIZER, item, value); | ^~~~ libmpcodecs/dec_video.c:157:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 157 | sh_video->last_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/dec_video.c:418:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 418 | if (correct_pts && pts != MP_NOPTS_VALUE | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/dec_video.c:471:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 471 | sh_video->pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/dec_video.c:472:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 472 | sh_video->endpts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 10 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/img_format.o libmpcodecs/img_format.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/mp_image.o libmpcodecs/mp_image.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/pullup.o libmpcodecs/pullup.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd.o libmpcodecs/vd.c In file included from libmpcodecs/vd.c:32: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_hmblck.o libmpcodecs/vd_hmblck.c In file included from libmpcodecs/vd_hmblck.c:25: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_lzo.o libmpcodecs/vd_lzo.c In file included from libmpcodecs/vd_lzo.c:25: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mpegpes.c In file included from libmpcodecs/vd_mpegpes.c:26: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_mtga.o libmpcodecs/vd_mtga.c In file included from libmpcodecs/vd_mtga.c:35: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_null.o libmpcodecs/vd_null.c In file included from libmpcodecs/vd_null.c:25: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_raw.o libmpcodecs/vd_raw.c In file included from libmpcodecs/vd_raw.c:25: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_sgi.o libmpcodecs/vd_sgi.c In file included from libmpcodecs/vd_sgi.c:28: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_black.o libmpcodecs/vd_black.c In file included from libmpcodecs/vd_black.c:26: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf.o libmpcodecs/vf.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_1bpp.o libmpcodecs/vf_1bpp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_2xsai.o libmpcodecs/vf_2xsai.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_blackframe.o libmpcodecs/vf_blackframe.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_boxblur.o libmpcodecs/vf_boxblur.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_crop.o libmpcodecs/vf_crop.c In file included from libmpcodecs/vf_crop.c:29: In file included from libmpcodecs/vd.h:25: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_cropdetect.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_decimate.o libmpcodecs/vf_decimate.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_delogo.o libmpcodecs/vf_delogo.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_denoise3d.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_detc.o libmpcodecs/vf_detc.c libmpcodecs/vf_detc.c:313:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 313 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_detc.c:313:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 313 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_dint.o libmpcodecs/vf_dint.c libmpcodecs/vf_dint.c:171:13: warning: assigning to 'unsigned char *' from 'int8_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign] 171 | cur = row2; | ^ ~~~~ libmpcodecs/vf_dint.c:174:14: warning: assigning to 'int8_t *' (aka 'signed char *') from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] 174 | row0 = cur; | ^ ~~~ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_divtc.o libmpcodecs/vf_divtc.c libmpcodecs/vf_divtc.c:159:27: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] 159 | for(shift=0, e=p+w; (int)p&(sizeof(wsum_t)-1) && pfile)) | ^~~~ /usr/include/stdio.h:257:30: note: passing argument to parameter here 257 | char *fgets(char * __restrict, int, FILE * __restrict); | ^ libmpcodecs/vf_divtc.c:413:14: warning: passing 'int8_t[256]' (aka 'signed char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 413 | sscanf(lbuf, "%x %d", cbuf+n, buf+n); | ^~~~ /usr/include/stdio.h:286:36: note: passing argument to parameter here 286 | int sscanf(const char * __restrict, const char * __restrict, ...); | ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_down3dright.o libmpcodecs/vf_down3dright.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_dsize.o libmpcodecs/vf_dsize.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_dvbscale.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_eq.o libmpcodecs/vf_eq.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_eq2.o libmpcodecs/vf_eq2.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_expand.o libmpcodecs/vf_expand.c In file included from libmpcodecs/vf_expand.c:31: In file included from libmpcodecs/vd.h:25: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_field.o libmpcodecs/vf_field.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_fil.o libmpcodecs/vf_fil.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_filmdint.o libmpcodecs/vf_filmdint.c In file included from libmpcodecs/vf_filmdint.c:31: In file included from libmpcodecs/vd.h:25: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_filmdint.c:48:1: warning: attribute 'aligned' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] 48 | DECLARE_ALIGNED(8, , struct metrics) { | ^ ./mpmem.h:37:59: note: expanded from macro 'DECLARE_ALIGNED' 37 | #define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v | ^ libmpcodecs/vf_filmdint.c:1333:54: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1333 | return show_fields ? vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) : 0; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_filmdint.c:1333:70: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1333 | return show_fields ? vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) : 0; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_fixpts.o libmpcodecs/vf_fixpts.c libmpcodecs/vf_fixpts.c:46:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 46 | if (pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_fixpts.c:51:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 51 | if (pts != MP_NOPTS_VALUE && p->autostart != 0) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_fixpts.c:55:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 55 | } else if (pts != MP_NOPTS_VALUE && p->autostep > 0) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_fixpts.c:64:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 64 | pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_flip.o libmpcodecs/vf_flip.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_format.o libmpcodecs/vf_format.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_framestep.o libmpcodecs/vf_framestep.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_gradfun.o libmpcodecs/vf_gradfun.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_halfpack.o libmpcodecs/vf_halfpack.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_harddup.o libmpcodecs/vf_harddup.c libmpcodecs/vf_harddup.c:64:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 64 | if (put_image(vf, vf->priv->last_mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE)) | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_harddup.c:64:63: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 64 | if (put_image(vf, vf->priv->last_mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE)) | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hqdn3d.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_hue.o libmpcodecs/vf_hue.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_il.o libmpcodecs/vf_il.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ilpack.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_ivtc.o libmpcodecs/vf_ivtc.c libmpcodecs/vf_ivtc.c:455:40: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 455 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_ivtc.c:455:56: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 455 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_kerndeint.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_mirror.o libmpcodecs/vf_mirror.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_noformat.o libmpcodecs/vf_noformat.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_noise.o libmpcodecs/vf_noise.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_ow.o libmpcodecs/vf_ow.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_palette.o libmpcodecs/vf_palette.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_perspective.o libmpcodecs/vf_perspective.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_phase.o libmpcodecs/vf_phase.c libmpcodecs/vf_phase.c:240:39: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 240 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_phase.c:240:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 240 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_pp7.o libmpcodecs/vf_pp7.c libmpcodecs/vf_pp7.c:392:108: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 392 | filter(vf->priv, dmpi->planes[0], mpi->planes[0], dmpi->stride[0], mpi->stride[0], mpi->w, mpi->h, mpi->qscale, mpi->qstride, 1); | ^~~~~~~~~~~ libmpcodecs/vf_pp7.c:286:133: note: passing argument to parameter 'qp_store' here 286 | static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stride, int src_stride, int width, int height, uint8_t *qp_store, int qp_stride, int is_luma){ | ^ libmpcodecs/vf_pp7.c:393:150: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 393 | filter(vf->priv, dmpi->planes[1], mpi->planes[1], dmpi->stride[1], mpi->stride[1], mpi->w>>mpi->chroma_x_shift, mpi->h>>mpi->chroma_y_shift, mpi->qscale, mpi->qstride, 0); | ^~~~~~~~~~~ libmpcodecs/vf_pp7.c:286:133: note: passing argument to parameter 'qp_store' here 286 | static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stride, int src_stride, int width, int height, uint8_t *qp_store, int qp_stride, int is_luma){ | ^ libmpcodecs/vf_pp7.c:394:150: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 394 | filter(vf->priv, dmpi->planes[2], mpi->planes[2], dmpi->stride[2], mpi->stride[2], mpi->w>>mpi->chroma_x_shift, mpi->h>>mpi->chroma_y_shift, mpi->qscale, mpi->qstride, 0); | ^~~~~~~~~~~ libmpcodecs/vf_pp7.c:286:133: note: passing argument to parameter 'qp_store' here 286 | static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stride, int src_stride, int width, int height, uint8_t *qp_store, int qp_stride, int is_luma){ | ^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_pullup.o libmpcodecs/vf_pullup.c libmpcodecs/vf_pullup.c:233:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 233 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_pullup.c:233:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 233 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_pullup.c:252:39: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 252 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_pullup.c:252:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 252 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_rectangle.o libmpcodecs/vf_rectangle.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_remove_logo.c libmpcodecs/vf_remove_logo.c:355:10: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 355 | char * current_pixel = mask->pixel; /* This stores the actual pixel data. */ | ^ ~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:369:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 369 | current_pixel = mask->pixel; | ^ ~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:564:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 564 | end_position = new_pgm->pixel + image_size; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:565:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 565 | for (write_position = new_pgm->pixel; write_position < end_position; write_position++) | ^ ~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:630:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 630 | current_pixel = new_pgm->pixel; | ^ ~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:794:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 794 | convert_yv12(vf, mpi->planes[0], mpi->stride[0], mpi, mpi->w, mpi->h, | ^~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:728:77: note: passing argument to parameter 'source' here 728 | static void convert_yv12(const vf_instance_t * const vf, const char * const source, const int source_stride, | ^ libmpcodecs/vf_remove_logo.c:795:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 795 | dmpi->planes[0], dmpi->stride[0], | ^~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:730:39: note: passing argument to parameter 'destination' here 730 | char * const destination, const int destination_stride, int is_image_direct, pgm_structure * filter, | ^ libmpcodecs/vf_remove_logo.c:799:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 799 | convert_yv12(vf, mpi->planes[1], mpi->stride[1], mpi, mpi->w / 2, mpi->h / 2, | ^~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:728:77: note: passing argument to parameter 'source' here 728 | static void convert_yv12(const vf_instance_t * const vf, const char * const source, const int source_stride, | ^ libmpcodecs/vf_remove_logo.c:800:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 800 | dmpi->planes[1], dmpi->stride[1], | ^~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:730:39: note: passing argument to parameter 'destination' here 730 | char * const destination, const int destination_stride, int is_image_direct, pgm_structure * filter, | ^ libmpcodecs/vf_remove_logo.c:804:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 804 | convert_yv12(vf, mpi->planes[2], mpi->stride[2], mpi, mpi->w / 2, mpi->h / 2, | ^~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:728:77: note: passing argument to parameter 'source' here 728 | static void convert_yv12(const vf_instance_t * const vf, const char * const source, const int source_stride, | ^ libmpcodecs/vf_remove_logo.c:805:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 805 | dmpi->planes[2], dmpi->stride[2], | ^~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:730:39: note: passing argument to parameter 'destination' here 730 | char * const destination, const int destination_stride, int is_image_direct, pgm_structure * filter, | ^ 11 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rgbtest.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_rotate.o libmpcodecs/vf_rotate.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_sab.o libmpcodecs/vf_sab.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_scale.o libmpcodecs/vf_scale.c In file included from libmpcodecs/vf_scale.c:30: In file included from libmpcodecs/vd.h:25: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_scale.c:733:50: warning: initializing 'void *' with an expression of type 'const m_obj_presets_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 733 | {"presize", 0, CONF_TYPE_OBJ_PRESETS, 0, 0, 0, &size_preset}, | ^~~~~~~~~~~~ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_smartblur.o libmpcodecs/vf_smartblur.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_softpulldown.c libmpcodecs/vf_softpulldown.c:64:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 64 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_softpulldown.c:64:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 64 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_softpulldown.c:100:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 100 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_softpulldown.c:100:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 100 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_softpulldown.c:103:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 103 | ret |= vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_softpulldown.c:103:63: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 103 | ret |= vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_stereo3d.c In file included from libmpcodecs/vf_stereo3d.c:32: In file included from libmpcodecs/vd.h:25: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_softskip.o libmpcodecs/vf_softskip.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_swapuv.o libmpcodecs/vf_swapuv.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_telecine.o libmpcodecs/vf_telecine.c libmpcodecs/vf_telecine.c:66:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 66 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_telecine.c:66:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 66 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_telecine.c:80:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 80 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) || ret; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_telecine.c:80:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 80 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) || ret; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_telecine.c:95:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 95 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_telecine.c:95:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 95 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_test.o libmpcodecs/vf_test.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_tfields.o libmpcodecs/vf_tfields.c In file included from libmpcodecs/vf_tfields.c:31: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_tfields.c:395:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 395 | ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_tfields.c:425:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 425 | ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_tfields.c:451:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 451 | ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_tile.o libmpcodecs/vf_tile.c libmpcodecs/vf_tile.c:187:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 187 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_tile.c:187:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 187 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_tinterlace.c libmpcodecs/vf_tinterlace.c:79:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 79 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_tinterlace.c:79:63: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 79 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_tinterlace.c:84:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 84 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_tinterlace.c:84:62: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 84 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_tinterlace.c:88:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 88 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_tinterlace.c:88:62: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 88 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_tinterlace.c:119:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 119 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_tinterlace.c:119:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 119 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_tinterlace.c:169:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 169 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_tinterlace.c:169:63: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 169 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 10 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_unsharp.o libmpcodecs/vf_unsharp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_vo.o libmpcodecs/vf_vo.c In file included from libmpcodecs/vf_vo.c:25: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_yadif.o libmpcodecs/vf_yadif.c In file included from libmpcodecs/vf_yadif.c:34: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_yadif.c:447:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 447 | ret |= vf_next_put_image(vf, dmpi, pts /*FIXME*/, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yuvcsp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_yvu9.o libmpcodecs/vf_yvu9.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/aac_hdr.o libmpdemux/aac_hdr.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/asfheader.o libmpdemux/asfheader.c In file included from libmpdemux/asfheader.c:32: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/asfheader.c:142:12: warning: initializing 'uint8_t *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 142 | uint8_t *buffer = &buf[0]; | ^ ~~~~~~~ libmpdemux/asfheader.c:150:12: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 150 | buffer = &buf[pos]; | ^ ~~~~~~~~~ libmpdemux/asfheader.c:444:78: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 444 | if (!asf_init_audio_stream(demuxer, asf, sh_audio, streamh, audio_pos, hdr + audio_pos, hdr_len)) | ^~~~~~~~~~~~~~~ libmpdemux/asfheader.c:343:145: note: passing argument to parameter 'buffer' here 343 | static int asf_init_audio_stream(demuxer_t *demuxer,struct asf_priv* asf, sh_audio_t* sh_audio, ASF_stream_header_t *streamh, int pos, uint8_t* buffer, unsigned hdr_len) | ^ libmpdemux/asfheader.c:479:74: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 479 | if (!asf_init_audio_stream(demuxer, asf, sh_audio, streamh, pos, hdr + pos, hdr_len)) | ^~~~~~~~~ libmpdemux/asfheader.c:343:145: note: passing argument to parameter 'buffer' here 343 | static int asf_init_audio_stream(demuxer_t *demuxer,struct asf_priv* asf, sh_audio_t* sh_audio, ASF_stream_header_t *streamh, int pos, uint8_t* buffer, unsigned hdr_len) | ^ libmpdemux/asfheader.c:488:18: warning: initializing 'uint8_t *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 488 | uint8_t *buffer = hdr + pos; | ^ ~~~~~~~~~ 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/aviheader.o libmpdemux/aviheader.c In file included from libmpdemux/aviheader.c:29: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/aviprint.o libmpdemux/aviprint.c In file included from libmpdemux/aviprint.c:27: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demuxer.o libmpdemux/demuxer.c In file included from libmpdemux/demuxer.c:33: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:240:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 240 | d->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:241:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 241 | d->reference_clock = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:347:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 347 | sh->pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:632:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 632 | len = stream_read(stream, dp->buffer, len); | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demuxer.c:701:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 701 | if (p->pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:706:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 706 | if (p->stream_pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:895:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 895 | *pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:896:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 896 | *endpts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:919:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 919 | double max_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:925:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 925 | *pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:928:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 928 | *endpts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:942:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 942 | if (*pts != MP_NOPTS_VALUE && max_pts != MP_NOPTS_VALUE && | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:942:54: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 942 | if (*pts != MP_NOPTS_VALUE && max_pts != MP_NOPTS_VALUE && | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:964:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 964 | return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:971:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 971 | return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:974:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 974 | return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:1217:62: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1217 | ass_process_codec_private(sh->ass_track, sh->extradata, | ^~~~~~~~~~~~~ /usr/local/include/ass/ass.h:707:62: note: passing argument to parameter 'data' here 707 | void ass_process_codec_private(ASS_Track *track, const char *data, int size); | ^ libmpdemux/demuxer.c:1404:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1404 | if (demuxer->stream_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:1543:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1543 | if (demuxer->stream_pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:1545:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1545 | else if (sh_video && sh_video->pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.c:1547:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1547 | else if (sh_audio && sh_audio->pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 24 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_aac.o libmpdemux/demux_aac.c In file included from libmpdemux/demux_aac.c:28: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_aac.c:101:35: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 101 | if(stream_read(demuxer->stream, &(priv->buf[1]), 7) < 7) | ^~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_aac.c:166:35: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 166 | if(stream_read(demuxer->stream, &(priv->buf[2]), 6) < 6) | ^~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_aac.c:181:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 181 | stream_read(demuxer->stream, &(dp->buffer[8]), len-8); | ^~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_aac.c:230:35: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 230 | if(stream_read(demuxer->stream,priv->buf, 8) < 8) | ^~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_asf.o libmpdemux/demux_asf.c In file included from libmpdemux/demux_asf.c:33: In file included from libmpdemux/asfheader.h:23: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_asf.c:353:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 353 | stream_read(demux->stream,asf->packet,asf->packetsize); | ^~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_audio.o libmpdemux/demux_audio.c In file included from libmpdemux/demux_audio.c:26: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_audio.c:398:18: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 398 | stream_read(s, hdr, HDR_SIZE); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_audio.c:408:21: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 408 | stream_read(s,hdr,4); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_audio.c:442:20: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 442 | stream_read(s, &hdr[HDR_SIZE - step], step); | ^~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_audio.c:479:21: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 479 | stream_read(s,hdr,3); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_audio.c:510:21: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 510 | stream_read(s,hdr,4); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_audio.c:519:27: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 519 | stream_read(s,hdr,4); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_audio.c:709:21: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 709 | stream_read(s,hdr,4); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_audio.c:720:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 720 | if (stream_read(s,dp->buffer + 4,l-4) != l-4) | ^~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_audio.c:741:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 741 | l = stream_read(s,dp->buffer,l); | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_audio.c:748:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 748 | l = stream_read(s,dp->buffer,l); | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_audio.c:749:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 749 | priv->next_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_audio.c:771:33: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 771 | stream_read(demuxer->stream,hdr,4); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_audio.c:850:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 850 | if (audio_length<=0 || priv->next_pts==MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 16 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_avi.o libmpdemux/demux_avi.c In file included from libmpdemux/demux_avi.c:31: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_avi.c:521:24: warning: absolute value function 'abs' given an argument of type 'off_t' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 521 | if(force_ni || abs(a_pos-v_pos)>0x100000){ // distance > 1MB | ^ libmpdemux/demux_avi.c:521:24: note: use function 'labs' instead 521 | if(force_ni || abs(a_pos-v_pos)>0x100000){ // distance > 1MB | ^~~ | labs 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_demuxers.o libmpdemux/demux_demuxers.c In file included from libmpdemux/demux_demuxers.c:26: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_film.o libmpdemux/demux_film.c In file included from libmpdemux/demux_film.c:37: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_film.c:126:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 126 | if (stream_read(demuxer->stream, dp->buffer, film_chunk.chunk_size) != | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_film.c:186:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 186 | if (stream_read(demuxer->stream, dp->buffer, 10) != 10) | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_film.c:190:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 190 | if (stream_read(demuxer->stream, dp->buffer + 10, | ^~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_fli.o libmpdemux/demux_fli.c In file included from libmpdemux/demux_fli.c:31: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_fli.c:100:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 100 | stream_read(demuxer->stream, header + sizeof(BITMAPINFOHEADER), 128); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_lmlm4.o libmpdemux/demux_lmlm4.c In file included from libmpdemux/demux_lmlm4.c:33: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_mf.o libmpdemux/demux_mf.c In file included from libmpdemux/demux_mf.c:33: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_mkv.o libmpdemux/demux_mkv.c In file included from libmpdemux/demux_mkv.c:32: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_mkv.c:532:44: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 532 | stream_read(s, e.comp_settings, l); | ^~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_mkv.c:1583:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1583 | stream_read(demuxer->stream, dst + 8, cnt); | ^~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_mkv.c:2649:50: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2649 | handle_subtitles(demuxer, track, block, length, block_duration, | ^~~~~ libmpdemux/demux_mkv.c:2321:36: note: passing argument to parameter 'block' here 2321 | char *block, int64_t size, | ^ libmpdemux/demux_mkv.c:2740:40: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2740 | if (stream_read(s, block, block_length) != | ^~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_mkv.c:2813:40: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2813 | if (stream_read(s, block, block_length) != | ^~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_mov.o libmpdemux/demux_mov.c In file included from libmpdemux/demux_mov.c:54: ./loader/qtx/qtxsdk/components.h:705:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 705 | x=((char*)(&id->clutID))+2; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libmpdemux/demux_mov.c:61: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_mov.c:1465:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1465 | stream_read(demuxer->stream,cmov_buf,cmov_sz); | ^~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_mov.c:1653:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1653 | stream_read(demuxer->stream, trak->tkdata, trak->tkdata_len); | ^~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_mov.c:1771:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1771 | stream_read(demuxer->stream, trak->stdata, trak->stdata_len); | ^~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_mov.c:2207:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2207 | stream_read(demuxer->stream,dp->buffer+trak->stream_header_len,x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_mpg.o libmpdemux/demux_mpg.c In file included from libmpdemux/demux_mpg.c:29: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_mpg.c:603:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 603 | l = stream_read(demux->stream,dp->buffer,len); | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_mpg.c:306:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 306 | double stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_mpg.c:790:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 790 | read = stream_read(s, &buf[unused], -unused); | ^~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_mpg.c:808:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 808 | len = stream_read(demux->stream, pack->buffer, STREAM_BUFFER_SIZE); | ^~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_mpg.c:1020:27: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 1020 | if (!precision || abs(newpts - mpg_d->last_pts) < 0.5 || (mpg_d->last_pts == oldpts)) break; | ^ libmpdemux/demux_mpg.c:1020:27: note: use function 'fabsf' instead 1020 | if (!precision || abs(newpts - mpg_d->last_pts) < 0.5 || (mpg_d->last_pts == oldpts)) break; | ^~~ | fabsf 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_nsv.o libmpdemux/demux_nsv.c In file included from libmpdemux/demux_nsv.c:35: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_nsv.c:74:33: warning: passing 'unsigned char[17]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 74 | stream_read(demuxer->stream,hdr,7); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_nsv.c:87:45: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 87 | stream_read(demuxer->stream,hdr+7,17-7); | ^~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_nsv.c:88:45: warning: passing 'unsigned char[17]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 88 | stream_read(demuxer->stream,hdr,7); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_nsv.c:116:39: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 116 | stream_read( demuxer->stream, aux, 6); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_nsv.c:171:33: warning: passing 'unsigned char[17]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 171 | stream_read(demuxer->stream,hdr,4); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_nsv.c:178:41: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 178 | stream_read(demuxer->stream,hdr+4,17-4); | ^~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_nsv.c:188:41: warning: passing 'unsigned char[17]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | stream_read(demuxer->stream,hdr,17); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_nsv.c:189:56: warning: passing 'unsigned char[17]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 189 | if (stream_eof(demuxer->stream) || strncmp(hdr, "NSVs", 4)) | ^~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ libmpdemux/demux_nsv.c:198:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 198 | if((demuxer->audio->id != -2) && strncmp(hdr+8,"NONE", 4)){//&&strncmp(hdr+8,"VLB ", 4)){ | ^~~~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ libmpdemux/demux_nsv.c:209:51: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | if ((demuxer->video->id != -2) && strncmp(hdr+4,"NONE", 4)) { | ^~~~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ libmpdemux/demux_nsv.c:240:45: warning: passing 'unsigned char[10]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 240 | stream_read(demuxer->stream,buf,10); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_nsv.c:250:53: warning: passing 'unsigned char[10]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 250 | stream_read(demuxer->stream,buf,10); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_nsv.c:255:57: warning: passing 'unsigned char[10]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 255 | stream_read(demuxer->stream,buf,10); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 16 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_pva.o libmpdemux/demux_pva.c In file included from libmpdemux/demux_pva.c:40: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_pva.c:117:30: warning: passing 'uint8_t[5]' (aka 'unsigned char[5]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 117 | stream_read(demuxer->stream,buffer,5); | ^~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_pva.c:282:25: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 282 | stream_read(d->stream,buffer,3); | ^~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_pva.c:333:27: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 333 | stream_read(d->stream,buffer,pes_head_len); | ^~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_pva.c:415:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 415 | stream_read(demux->stream,dp->buffer,current_payload.size); | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_pva.c:446:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 446 | stream_read(demux->stream,dp->buffer,current_payload.size); | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawaudio.c In file included from libmpdemux/demux_rawaudio.c:29: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_rawaudio.c:92:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | l = stream_read(demuxer->stream,dp->buffer,l); | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_rawvideo.o libmpdemux/demux_rawvideo.c In file included from libmpdemux/demux_rawvideo.c:29: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_realaud.o libmpdemux/demux_realaud.c In file included from libmpdemux/demux_realaud.c:31: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_realaud.c:110:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 110 | stream_read(demuxer->stream, ra_priv->audio_buf, ra_priv->sub_packet_h * ra_priv->frame_size); | ^~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_realaud.c:134:46: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 134 | stream_read(demuxer->stream, ra_priv->audio_buf + x * 2 *ra_priv->frame_size + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | y * ra_priv->coded_framesize, ra_priv->coded_framesize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_realaud.c:148:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 148 | stream_read(demuxer->stream, dp->buffer, len); | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_real.o libmpdemux/demux_real.c In file included from libmpdemux/demux_real.c:49: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_real.c:570:54: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 570 | &priv->kf_base, &priv->kf_pts, | ^~~~~~~~~~~~~ libmpdemux/demux_real.c:497:115: note: passing argument to parameter 'kf_pts' here 497 | double real_fix_timestamp(unsigned char *buf, unsigned int timestamp, unsigned int format, int64_t *kf_base, int *kf_pts, double *pts){ | ^ libmpdemux/demux_real.c:735:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 735 | stream_read(demuxer->stream, dp->buffer, sub_packet_lengths[i]); | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_real.c:761:54: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 761 | stream_read(demuxer->stream, priv->audio_buf + x * 2 * w + spc * cfs, cfs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_real.c:767:54: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 767 | stream_read(demuxer->stream, priv->audio_buf + sps * (sph * x + ((sph + 1) / 2) * (spc & 1) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 768 | (spc >> 1)), sps); | ~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_real.c:773:50: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 773 | stream_read(demuxer->stream, priv->audio_buf + spc * w, w); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_real.c:825:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 825 | stream_read(demuxer->stream, dp->buffer, len); | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_real.c:1002:48: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1002 | stream_read(demuxer->stream, dp_data+dp_hdr->len, vpkg_offset); | ^~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_real.c:1017:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1017 | stream_read(demuxer->stream, dp_data+dp_hdr->len, len); | ^~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_real.c:1041:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1041 | stream_read(demuxer->stream, dp_data, len); | ^~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_real.c:1057:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1057 | stream_read(demuxer->stream, dp_data, vpkg_length); | ^~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_real.c:801:86: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 801 | priv->audio_timestamp[priv->sub_packet_cnt] = (priv->a_pts==timestamp) ? MP_NOPTS_VALUE : (timestamp/1000.0); | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_real.c:1484:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1484 | stream_read(demuxer->stream, sh->codecdata, sh->codecdata_len); | ^~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_real.c:1661:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1661 | stream_read(demuxer->stream, ((unsigned char*)(sh->bih+1)), cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 16 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_roq.o libmpdemux/demux_roq.c In file included from libmpdemux/demux_roq.c:33: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_smjpeg.o libmpdemux/demux_smjpeg.c In file included from libmpdemux/demux_smjpeg.c:34: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_ts.o libmpdemux/demux_ts.c In file included from libmpdemux/demux_ts.c:31: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_ts.c:259:10: warning: 17 enumeration values not handled in switch: 'UNKNOWN', 'SPU_DVD', 'SPU_DVB'... [-Wswitch] 259 | switch (type) { | ^~~~ libmpdemux/demux_ts.c:276:10: warning: 18 enumeration values not handled in switch: 'UNKNOWN', 'AUDIO_MP2', 'AUDIO_A52'... [-Wswitch] 276 | switch (type) { | ^~~~ libmpdemux/demux_ts.c:292:10: warning: 22 enumeration values not handled in switch: 'UNKNOWN', 'AUDIO_MP2', 'AUDIO_A52'... [-Wswitch] 292 | switch (type) { | ^~~~ libmpdemux/demux_ts.c:353:71: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 353 | sh_audio_t *sh = new_sh_audio_aid(demuxer, priv->last_aid, es->pid, pid_lang_from_pmt(priv, es->pid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/stheader.h:144:77: note: passing argument to parameter 'lang' here 144 | sh_audio_t* new_sh_audio_aid(demuxer_t *demuxer,int id,int aid, const char *lang); | ^ libmpdemux/demux_ts.c:410:67: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 410 | sh_sub_t *sh = new_sh_sub_sid(demuxer, priv->last_sid, es->pid, pid_lang_from_pmt(priv, es->pid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/stheader.h:148:75: note: passing argument to parameter 'lang' here 148 | sh_sub_t *new_sh_sub_sid(demuxer_t *demuxer, int id, int sid, const char *lang); | ^ libmpdemux/demux_ts.c:412:12: warning: 22 enumeration values not handled in switch: 'UNKNOWN', 'AUDIO_MP2', 'AUDIO_A52'... [-Wswitch] 412 | switch (es->type) { | ^~~~~~~~ libmpdemux/demux_ts.c:466:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 466 | _read = stream_read(demuxer->stream, &buf[1], buf_size-1); | ^~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_ts.c:616:15: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 616 | if(strncmp(pmt->es[j].lang, lang, 3) == 0) | ^~~~~~~~~~~~~~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ libmpdemux/demux_ts.c:648:36: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 648 | frame_length = mp_a52_framesize(&buf[cnt], &srate); | ^~~~~~~~~ libmpdemux/parse_es.h:43:31: note: passing argument to parameter 'buf' here 43 | int mp_a52_framesize(uint8_t *buf, int *srate); | ^ libmpdemux/demux_ts.c:1077:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1077 | demuxer->reference_clock = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_ts.c:1566:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1566 | else if ((stream_id == 0xfa)) | ~~~~~~~~~~^~~~~~~ libmpdemux/demux_ts.c:1566:22: note: remove extraneous parentheses around the comparison to silence this warning 1566 | else if ((stream_id == 0xfa)) | ~ ^ ~ libmpdemux/demux_ts.c:1566:22: note: use '=' to turn this equality comparison into an assignment 1566 | else if ((stream_id == 0xfa)) | ^~ | = libmpdemux/demux_ts.c:2341:7: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2341 | d = &ptr[j+2]; | ^ ~~~~~~~~~ libmpdemux/demux_ts.c:2731:7: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 2731 | if(abs(diff) > 1) //1 second, there's a discontinuity | ^ libmpdemux/demux_ts.c:2731:7: note: use function 'fabsf' instead 2731 | if(abs(diff) > 1) //1 second, there's a discontinuity | ^~~ | fabsf libmpdemux/demux_ts.c:2718:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2718 | double stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_ts.c:2787:17: warning: initializing 'unsigned char *' with an expression of type 'char[204]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2787 | unsigned char *packet = priv->packet; | ^ ~~~~~~~~~~~~ libmpdemux/demux_ts.c:2834:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2834 | len = stream_read(stream, &packet[1], 3); | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_ts.c:2909:25: warning: passing 'uint8_t[188]' (aka 'unsigned char[188]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2909 | stream_read(stream, pcrbuf, c); | ^~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_ts.c:3032:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3032 | p = &packet[base]; | ^ ~~~~~~~~~~~~~ libmpdemux/demux_ts.c:3041:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3041 | p = &((*dp)->buffer[*dp_offset]); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_ts.c:3054:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3054 | parse_pat(priv, is_start, p, buf_size); | ^ libmpdemux/demux_ts.c:1746:69: note: passing argument to parameter 'buff' here 1746 | static int parse_pat(ts_priv_t * priv, int is_start, unsigned char *buff, int size) | ^ libmpdemux/demux_ts.c:3101:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3101 | len = pes_parse2(p, buf_size, es, pid_type, pmt, pid); | ^ libmpdemux/demux_ts.c:1374:38: note: passing argument to parameter 'buf' here 1374 | static int pes_parse2(unsigned char *buf, uint16_t packet_len, ES_stream_t *es, int32_t type_from_pmt, pmt_t *pmt, int pid) | ^ libmpdemux/demux_ts.c:3252:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 3252 | demuxer->reference_clock = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 25 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_ty.o libmpdemux/demux_ty.c In file included from libmpdemux/demux_ty.c:42: In file included from ./libmpcodecs/dec_audio.h:23: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_ty.c:202:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 202 | count = stream_read( demux->stream, buff, CHUNKSIZE ); | ^~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_ty.c:267:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 267 | return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_ty.c:291:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 291 | if (pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_ty.c:379:49: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 379 | readSize = stream_read( demux->stream, chunk, CHUNKSIZE ); | ^~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_ty.c:401:61: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 401 | readSize = stream_read( demux->stream, chunk, CHUNKSIZE ); | ^~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_ty.c:457:46: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 457 | readSize = stream_read( demux->stream, chunk, CHUNKSIZE ); | ^~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_ty.c:730:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 730 | tivo->lastAudioPTS = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_ty.c:731:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 731 | tivo->lastVideoPTS = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 11 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_ty_osd.o libmpdemux/demux_ty_osd.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_viv.o libmpdemux/demux_viv.c In file included from libmpdemux/demux_viv.c:34: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_viv.c:265:33: warning: passing 'unsigned char[2304]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 265 | stream_read(demuxer->stream,buf,len); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_viv.c:272:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 272 | if(strncmp(buf+i,"Version:Vivo/",13)) return 0; // bad version/type! | ^~~~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ libmpdemux/demux_viv.c:412:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 412 | stream_read(demux->stream,dp->buffer+dp->len,len); | ^~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_viv.c:424:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 424 | stream_read(demux->stream,dp->buffer,len); | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_vqf.o libmpdemux/demux_vqf.c In file included from libmpdemux/demux_vqf.c:29: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_vqf.c:200:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 200 | l=stream_read(demuxer->stream,dp->buffer,l); | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_y4m.o libmpdemux/demux_y4m.c In file included from libmpdemux/demux_y4m.c:36: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_y4m.c:124:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 124 | stream_read(demux->stream, buf[0], size); | ^~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_y4m.c:125:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | stream_read(demux->stream, buf[1], size/4); | ^~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_y4m.c:126:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 126 | stream_read(demux->stream, buf[2], size/4); | ^~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/ebml.o libmpdemux/ebml.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/extension.o libmpdemux/extension.c In file included from libmpdemux/extension.c:27: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/mf.o libmpdemux/mf.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/mp3_hdr.o libmpdemux/mp3_hdr.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/mp_taglists.o libmpdemux/mp_taglists.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_hdr.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/mpeg_packetizer.o libmpdemux/mpeg_packetizer.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/parse_es.o libmpdemux/parse_es.c In file included from libmpdemux/parse_es.c:31: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/parse_mp4.o libmpdemux/parse_mp4.c libmpdemux/parse_mp4.c:135:20: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 135 | stream_read(s, esds->decoderConfig, esds->decoderConfigLen); | ^~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/parse_mp4.c:151:20: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 151 | stream_read(s, esds->SLConfig, esds->SLConfigLen); | ^~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/video.o libmpdemux/video.c In file included from libmpdemux/video.c:35: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/video.c:632:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 632 | double d= (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts-pts1; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/video.c:651:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 651 | double d= (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts-pts1; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/video.c:660:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 660 | double d = (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts - pts1; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg.c libmpdemux/yuv4mpeg.c:601:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 601 | if (y4m_read(s, yuv[0], w*h)) return Y4M_ERR_SYSTEM; | ^~~~~~ libmpdemux/yuv4mpeg.c:61:37: note: passing argument to parameter 'buf' here 61 | ssize_t y4m_read(stream_t *s, char *buf, size_t len) | ^ libmpdemux/yuv4mpeg.c:603:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 603 | if (y4m_read(s, yuv[1], w*h/4)) return Y4M_ERR_SYSTEM; | ^~~~~~ libmpdemux/yuv4mpeg.c:61:37: note: passing argument to parameter 'buf' here 61 | ssize_t y4m_read(stream_t *s, char *buf, size_t len) | ^ libmpdemux/yuv4mpeg.c:604:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 604 | if (y4m_read(s, yuv[2], w*h/4)) return Y4M_ERR_SYSTEM; | ^~~~~~ libmpdemux/yuv4mpeg.c:61:37: note: passing argument to parameter 'buf' here 61 | ssize_t y4m_read(stream_t *s, char *buf, size_t len) | ^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/yuv4mpeg_ratio.o libmpdemux/yuv4mpeg_ratio.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o osdep/getch2.o osdep/getch2.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o osdep/timer-linux.o osdep/timer-linux.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/open.o stream/open.c In file included from stream/open.c:37: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream.o stream/stream.c In file included from stream/stream.c:46: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ stream/stream.c:165:55: warning: initializing 'void *' with an expression of type 'const void *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 165 | { "stream url", arg , CONF_TYPE_CUSTOM_URL, 0, 0 ,0, sinfo->opts }; | ^~~~~~~~~~~ stream/stream.c:382:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 382 | rd = s->write_buffer(s, buf, len); | ^~~ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_bd.o stream/stream_bd.c In file included from stream/stream_bd.c:30: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ stream/stream_bd.c:192:35: warning: passing 'char[1024]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 192 | while (stream_read_line(file, line, sizeof(line), 0)) { | ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here 303 | static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, | ^ stream/stream_bd.c:260:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 260 | stream_read(file, buf, file_size); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ stream/stream_bd.c:320:44: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 320 | read_len = stream_read(bd->title_file, buf, len); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ stream/stream_bd.c:363:28: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 363 | read_len = bd_read(bd, buf, len); | ^~~ stream/stream_bd.c:312:53: note: passing argument to parameter 'buf' here 312 | static int64_t bd_read(struct bd_priv *bd, uint8_t *buf, int len) | ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_cue.o stream/stream_cue.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_file.o stream/stream_file.c In file included from stream/stream_file.c:40: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ stream/stream_file.c:98:30: warning: passing 'unsigned char[8192]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 98 | int len=s->fill_buffer(s,s->buffer,STREAM_BUFFER_SIZE); | ^~~~~~~~~ stream/stream_file.c:161:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 161 | filename = p->filename; | ^ ~~~~~~~~~~~ stream/stream_file.c:163:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 163 | filename = p->filename2; | ^ ~~~~~~~~~~~~ stream/stream_file.c:180:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 180 | if(!strcmp(filename,"-")){ | ^~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here 85 | int strcmp(const char *, const char *) __pure; | ^ stream/stream_file.c:201:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 201 | f=open(filename,m, openmode); | ^~~~~~~~ /usr/include/fcntl.h:377:22: note: passing argument to parameter here 377 | int open(const char *, int, ...); | ^ 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_mf.o stream/stream_mf.c In file included from stream/stream_mf.c:29: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_null.o stream/stream_null.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/url.o stream/url.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/eosd.o sub/eosd.c In file included from sub/eosd.c:22: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/find_sub.o sub/find_sub.c In file included from sub/find_sub.c:31: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/osd.o sub/osd.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/spudec.o sub/spudec.c sub/spudec.c:1282:18: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1282 | if (!strncmp(ptr, "size: ", 6)) | ^~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ sub/spudec.c:1283:16: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1283 | sscanf(ptr + 6, "%dx%d", &this->orig_frame_width, &this->orig_frame_height); | ^~~~~~~ /usr/include/stdio.h:286:36: note: passing argument to parameter here 286 | int sscanf(const char * __restrict, const char * __restrict, ...); | ^ sub/spudec.c:1284:18: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1284 | if (!strncmp(ptr, "palette: ", 9) && | ^~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ sub/spudec.c:1285:16: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1285 | sscanf(ptr + 9, "%x, %x, %x, %x, %x, %x, %x, %x, " | ^~~~~~~ /usr/include/stdio.h:286:36: note: passing argument to parameter here 286 | int sscanf(const char * __restrict, const char * __restrict, ...); | ^ sub/spudec.c:1295:25: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1295 | if (!av_strncasecmp(ptr, "forced subs: on", 15)) | ^~~ /usr/local/include/libavutil/avstring.h:263:32: note: passing argument to parameter 'a' here 263 | int av_strncasecmp(const char *a, const char *b, size_t n); | ^ sub/spudec.c:1297:18: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1297 | if (!strncmp(ptr, "custom colors: ON, tridx: ", 26) && | ^~~ /usr/include/string.h:111:26: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ sub/spudec.c:1298:16: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1298 | sscanf(ptr + 26, "%x, colors: %x, %x, %x, %x", | ^~~~~~~~ /usr/include/stdio.h:286:36: note: passing argument to parameter here 286 | int sscanf(const char * __restrict, const char * __restrict, ...); | ^ sub/spudec.c:1307:24: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1307 | } while ((ptr=strchr(ptr,'\n')) && *++ptr); | ^~~ /usr/include/string.h:80:26: note: passing argument to parameter here 80 | char *strchr(const char *, int) __pure; | ^ sub/spudec.c:1307:16: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1307 | } while ((ptr=strchr(ptr,'\n')) && *++ptr); | ^~~~~~~~~~~~~~~~~ sub/spudec.c:1440:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1440 | if (pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ sub/spudec.c:1377:29: note: expanded from macro 'MP_NOPTS_VALUE' 1377 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ sub/spudec.c:1442:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1442 | if (endpts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ sub/spudec.c:1377:29: note: expanded from macro 'MP_NOPTS_VALUE' 1377 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 11 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/sub.o sub/sub.c In file included from sub/sub.c:35: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ sub/sub.c:202:14: warning: initializing 'const char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 202 | const char *cp=vo_osd_text; | ^ ~~~~~~~~~~~ sub/sub.c:223:4: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 223 | cp=vo_osd_text; | ^~~~~~~~~~~~ sub/sub.c:717:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 717 | t=vo_sub->text[i++]; | ^~~~~~~~~~~~~~~~~~ sub/sub.c:719:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 719 | char_seq = calloc(strlen(t), sizeof(int)); | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sub/sub.c:734:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 734 | t += strlen(t); // end here | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/sub_cc.o sub/sub_cc.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/subreader.o sub/subreader.c In file included from sub/subreader.c:37: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ sub/subreader.c:143:37: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 143 | if (!(s = stream_read_line(st, line, LINE_LEN, utf16))) return 0; | ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here 303 | static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, | ^ sub/subreader.c:143:14: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 143 | if (!(s = stream_read_line(st, line, LINE_LEN, utf16))) return 0; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sub/subreader.c:250:49: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 250 | if (state != 99 && !(s = stream_read_line (st, line, LINE_LEN, utf16))) { | ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here 303 | static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, | ^ sub/subreader.c:250:25: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 250 | if (state != 99 && !(s = stream_read_line (st, line, LINE_LEN, utf16))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sub/subreader.c:314:29: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 314 | if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL; | ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here 303 | static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, | ^ sub/subreader.c:338:29: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 338 | if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL; | ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here 303 | static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, | ^ sub/subreader.c:355:29: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 355 | if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL; | ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here 303 | static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, | ^ sub/subreader.c:360:29: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 360 | if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL; | ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here 303 | static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, | ^ sub/subreader.c:388:35: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 388 | if (!stream_read_line(st, line, LINE_LEN, utf16)) | ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here 303 | static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, | ^ sub/subreader.c:403:39: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 403 | if (!stream_read_line(st, line, LINE_LEN, utf16)) | ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here 303 | static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, | ^ sub/subreader.c:447:29: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 447 | if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL; | ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here 303 | static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, | ^ sub/subreader.c:454:33: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 454 | if (!stream_read_line (st, line, LINE_LEN, utf16)) break; | ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here 303 | static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, | ^ sub/subreader.c:499:36: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 499 | if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL; | ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here 303 | static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, | ^ sub/subreader.c:506:40: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 506 | if (!stream_read_line (st, line, LINE_LEN, utf16)) break; | ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here 303 | static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, | ^ sub/subreader.c:532:30: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 532 | if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL; | ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here 303 | static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, | ^ sub/subreader.c:571:21: warning: passing 'uint8_t[1001]' (aka 'unsigned char[1001]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 571 | } while (sscanf(part, "= endpts)) { | ^~~~~~~~~~~~~~ sub/subreader.c:2643:29: note: expanded from macro 'MP_NOPTS_VALUE' 2643 | #define MP_NOPTS_VALUE (-1LL<<63) | ~~~~^ sub/subreader.c:2656:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2656 | if (pts == MP_NOPTS_VALUE || (endpts != MP_NOPTS_VALUE && pts >= endpts)) { | ^~~~~~~~~~~~~~ sub/subreader.c:2643:29: note: expanded from macro 'MP_NOPTS_VALUE' 2643 | #define MP_NOPTS_VALUE (-1LL<<63) | ~~~~^ 37 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/vobsub.o sub/vobsub.c In file included from sub/vobsub.c:36: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ sub/vobsub.c:1071:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1071 | while (lang && strlen(lang) >= 2) { | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sub/vobsub.c:1074:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1074 | if ((strncmp(vob->spu_streams[i].id, lang, 2) == 0)) { | ^~~~ /usr/include/string.h:111:40: note: passing argument to parameter here 111 | int strncmp(const char *, const char *, size_t) __pure; | ^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_dvdnav.o stream/stream_dvdnav.c In file included from stream/stream_dvdnav.c:30: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ stream/stream_dvdnav.c:130:40: warning: passing 'char[2048]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 130 | dvdnav_get_next_block(priv->dvdnav,buf,&event,&len); | ^~~ /usr/local/include/dvdnav/dvdnav.h:227:64: note: passing argument to parameter 'buf' here 227 | dvdnav_status_t dvdnav_get_next_block(dvdnav_t *self, uint8_t *buf, | ^ stream/stream_dvdnav.c:160:47: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign] 160 | dvdnav_get_current_highlight (priv->dvdnav, &(hlev->buttonN)); | ^~~~~~~~~~~~~~~~ /usr/local/include/dvdnav/dvdnav.h:476:71: note: passing argument to parameter 'button' here 476 | dvdnav_status_t dvdnav_get_current_highlight(dvdnav_t *self, int32_t *button); | ^ stream/stream_dvdnav.c:461:48: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign] 461 | if(dvdnav_get_angle_info(priv->dvdnav, &curr, &angles) != DVDNAV_STATUS_OK) | ^~~~~ /usr/local/include/dvdnav/dvdnav.h:703:64: note: passing argument to parameter 'current_angle' here 703 | dvdnav_status_t dvdnav_get_angle_info(dvdnav_t *self, int32_t *current_angle, | ^ stream/stream_dvdnav.c:461:55: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign] 461 | if(dvdnav_get_angle_info(priv->dvdnav, &curr, &angles) != DVDNAV_STATUS_OK) | ^~~~~~~ /usr/local/include/dvdnav/dvdnav.h:704:48: note: passing argument to parameter 'number_of_angles' here 704 | int32_t *number_of_angles); | ^ stream/stream_dvdnav.c:469:48: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign] 469 | if(dvdnav_get_angle_info(priv->dvdnav, &curr, &angles) != DVDNAV_STATUS_OK) | ^~~~~ /usr/local/include/dvdnav/dvdnav.h:703:64: note: passing argument to parameter 'current_angle' here 703 | dvdnav_status_t dvdnav_get_angle_info(dvdnav_t *self, int32_t *current_angle, | ^ stream/stream_dvdnav.c:469:55: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign] 469 | if(dvdnav_get_angle_info(priv->dvdnav, &curr, &angles) != DVDNAV_STATUS_OK) | ^~~~~~~ /usr/local/include/dvdnav/dvdnav.h:704:48: note: passing argument to parameter 'number_of_angles' here 704 | int32_t *number_of_angles); | ^ stream/stream_dvdnav.c:478:48: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign] 478 | if(dvdnav_get_angle_info(priv->dvdnav, &curr, &angles) != DVDNAV_STATUS_OK) | ^~~~~ /usr/local/include/dvdnav/dvdnav.h:703:64: note: passing argument to parameter 'current_angle' here 703 | dvdnav_status_t dvdnav_get_angle_info(dvdnav_t *self, int32_t *current_angle, | ^ stream/stream_dvdnav.c:478:55: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign] 478 | if(dvdnav_get_angle_info(priv->dvdnav, &curr, &angles) != DVDNAV_STATUS_OK) | ^~~~~~~ /usr/local/include/dvdnav/dvdnav.h:704:48: note: passing argument to parameter 'number_of_angles' here 704 | int32_t *number_of_angles); | ^ stream/stream_dvdnav.c:533:47: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign] 533 | dvdnav_get_number_of_titles(priv->dvdnav, &titles); | ^~~~~~~ /usr/local/include/dvdnav/dvdnav.h:290:70: note: passing argument to parameter 'titles' here 290 | dvdnav_status_t dvdnav_get_number_of_titles(dvdnav_t *self, int32_t *titles); | ^ stream/stream_dvdnav.c:750:28: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 750 | while(language && strlen(language)>=2) { | ^~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ stream/stream_dvdnav.c:797:28: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 797 | while(language && strlen(language)>=2) { | ^~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ stream/stream_dvdnav.c:882:46: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign] 882 | dvdnav_get_number_of_titles (priv->dvdnav, &titles); | ^~~~~~~ /usr/local/include/dvdnav/dvdnav.h:290:70: note: passing argument to parameter 'titles' here 290 | dvdnav_status_t dvdnav_get_number_of_titles(dvdnav_t *self, int32_t *titles); | ^ 15 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_dvd.o stream/stream_dvd.c In file included from stream/stream_dvd.c:43: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ stream/stream_dvd.c:133:18: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 133 | while(strlen(lang)>=2) { | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ stream/stream_dvd.c:176:24: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 176 | while(lang && strlen(lang)>=2) { | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ stream/stream_dvd.c:385:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 385 | pos = dvd_read_sector(s->priv, buf); | ^~~ stream/stream_dvd.c:216:58: note: passing argument to parameter 'data' here 216 | static int dvd_read_sector(dvd_priv_t *d, unsigned char *data) | ^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_dvd_common.o stream/stream_dvd_common.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/aclib.o libvo/aclib.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o av_helpers.o av_helpers.c av_helpers.c:154:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 154 | av_init_packet(&pkt); | ^ /usr/local/include/libavcodec/packet.h:628:1: note: 'av_init_packet' has been explicitly marked deprecated here 628 | attribute_deprecated | ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' 100 | # define attribute_deprecated __attribute__((deprecated)) | ^ 1 warning generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o av_opts.o av_opts.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_lavcac3enc.o libaf/af_lavcac3enc.c libaf/af_lavcac3enc.c:277:20: warning: assigning to 'struct AVCodec *' from 'const AVCodec *' (aka 'const struct AVCodec *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 277 | s->lavc_acodec = avcodec_find_encoder_by_name("ac3_fixed"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_lavcresample.o libaf/af_lavcresample.c libaf/af_lavcresample.c:165:30: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 165 | av_fast_malloc(&s->tmp[0], &s->tmp_alloc, FFALIGN(out_len,32)); | ^~~~~~~~~~~~~ /usr/local/include/libavutil/mem.h:322:46: note: passing argument to parameter 'size' here 322 | void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size); | ^ libaf/af_lavcresample.c:172:29: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 172 | av_fast_malloc(&s->in[0], &s->in_alloc, FFALIGN(in_len,32)); | ^~~~~~~~~~~~ /usr/local/include/libavutil/mem.h:322:46: note: passing argument to parameter 'size' here 322 | void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size); | ^ libaf/af_lavcresample.c:177:63: warning: passing 'const uint8_t *const *' (aka 'const unsigned char *const *') to parameter of type 'const uint8_t **' (aka 'const unsigned char **') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 177 | ret = swr_convert(s->swrctx, &s->tmp[0], out_len/chans/bps, (const uint8_t *const *)&s->in[0], in_len/chans/bps); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/libswresample/swresample.h:344:49: note: passing argument to parameter 'in' here 344 | const uint8_t **in , int in_count); | ^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_ffmpeg.c In file included from libmpcodecs/ad_ffmpeg.c:28: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/ad_ffmpeg.c:109:16: warning: assigning to 'AVCodec *' (aka 'struct AVCodec *') from 'const AVCodec *' (aka 'const struct AVCodec *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 109 | lavc_codec = avcodec_find_decoder_by_name(codec_idx2str(sh_audio->codec->dll_idx)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_ffmpeg.c:174:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 174 | x=decode_audio(sh_audio,sh_audio->a_buffer,1,sh_audio->a_buffer_size); | ^~~~~~~~~~~~~~~~~~ libmpcodecs/ad_internal.h:35:55: note: passing argument to parameter 'buffer' here 35 | static int decode_audio(sh_audio_t *sh,unsigned char *buffer,int minlen,int maxlen); | ^ libmpcodecs/ad_ffmpeg.c:351:2: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 351 | av_init_packet(&pkt); | ^ /usr/local/include/libavcodec/packet.h:628:1: note: 'av_init_packet' has been explicitly marked deprecated here 628 | attribute_deprecated | ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' 100 | # define attribute_deprecated __attribute__((deprecated)) | ^ libmpcodecs/ad_ffmpeg.c:331:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 331 | ds_parse(sh_audio->ds, &start, &x, MP_NOPTS_VALUE, 0); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/ad_ffmpeg.c:354:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 354 | if (pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_spdif.o libmpcodecs/ad_spdif.c In file included from libmpcodecs/ad_spdif.c:23: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/ad_spdif.c:148:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 148 | pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/ad_spdif.c:256:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 256 | av_init_packet(&pkt); | ^ /usr/local/include/libavcodec/packet.h:628:1: note: 'av_init_packet' has been explicitly marked deprecated here 628 | attribute_deprecated | ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' 100 | # define attribute_deprecated __attribute__((deprecated)) | ^ libmpcodecs/ad_spdif.c:241:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 241 | ds_parse(sh->ds, &start, &x, MP_NOPTS_VALUE, 0); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/ad_spdif.c:262:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 262 | if (pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_ffmpeg.o libmpcodecs/vd_ffmpeg.c In file included from libmpcodecs/vd_ffmpeg.c:38: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vd_ffmpeg.c:213:20: warning: cast to smaller integer type 'VdpVideoSurface' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 213 | data.surface = (VdpVideoSurface)mpi->priv; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:225:17: warning: 515 enumeration values not handled in switch: 'AV_CODEC_ID_NONE', 'AV_CODEC_ID_H261', 'AV_CODEC_ID_H263'... [-Wswitch] 225 | switch (cid) { | ^~~ libmpcodecs/vd_ffmpeg.c:325:16: warning: assigning to 'AVCodec *' (aka 'struct AVCodec *') from 'const AVCodec *' (aka 'const struct AVCodec *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 325 | lavc_codec = avcodec_find_decoder_by_name(codec_idx2str(sh->codec->dll_idx)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:729:35: warning: cast to smaller integer type 'VdpVideoSurface' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 729 | VdpVideoSurface surface = (VdpVideoSurface)mpi->priv; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:731:26: warning: cast to 'char *' from smaller integer type 'VdpVideoSurface' (aka 'unsigned int') [-Wint-to-pointer-cast] 731 | mpi->planes[3] = (char *)surface; | ^~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:731:24: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 731 | mpi->planes[3] = (char *)surface; | ^ ~~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:874:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 874 | av_init_packet(&pkt); | ^ /usr/local/include/libavcodec/packet.h:628:1: note: 'av_init_packet' has been explicitly marked deprecated here 628 | attribute_deprecated | ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' 100 | # define attribute_deprecated __attribute__((deprecated)) | ^ libmpcodecs/vd_ffmpeg.c:1007:13: warning: returning 'const mp_image_t *' (aka 'const struct mp_image *') from a function with result type 'mp_image_t *' (aka 'struct mp_image *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1007 | return &mpi_no_picture; // H.264 first field only | ^~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:1063:13: warning: 'interlaced_frame' is deprecated [-Wdeprecated-declarations] 1063 | if(pic->interlaced_frame) mpi->fields |= MP_IMGFIELD_INTERLACED; | ^ /usr/local/include/libavutil/frame.h:529:5: note: 'interlaced_frame' has been explicitly marked deprecated here 529 | attribute_deprecated | ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' 100 | # define attribute_deprecated __attribute__((deprecated)) | ^ libmpcodecs/vd_ffmpeg.c:1064:13: warning: 'top_field_first' is deprecated [-Wdeprecated-declarations] 1064 | if(pic->top_field_first ) mpi->fields |= MP_IMGFIELD_TOP_FIRST; | ^ /usr/local/include/libavutil/frame.h:537:5: note: 'top_field_first' has been explicitly marked deprecated here 537 | attribute_deprecated | ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' 100 | # define attribute_deprecated __attribute__((deprecated)) | ^ 13 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_geq.o libmpcodecs/vf_geq.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavc.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_lavcdeint.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_screenshot.o libmpcodecs/vf_screenshot.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_lavf.o libmpdemux/demux_lavf.c In file included from libmpdemux/demux_lavf.c:33: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_lavf.c:93:29: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 93 | ret=stream_read(stream, buf, size); | ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_lavf.c:189:50: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 189 | read_size = stream_read(demuxer->stream, avpd.buf + probe_data_size, read_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_lavf.c:338:21: warning: 514 enumeration values not handled in switch: 'AV_CODEC_ID_NONE', 'AV_CODEC_ID_MPEG1VIDEO', 'AV_CODEC_ID_MPEG2VIDEO'... [-Wswitch] 338 | switch (codec->codec_id) { | ^~~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:370:51: warning: 'av_stream_get_side_data' is deprecated [-Wdeprecated-declarations] 370 | AVReplayGain *rg = (AVReplayGain*)av_stream_get_side_data(st, AV_PKT_DATA_REPLAYGAIN, &rg_size); | ^ /usr/local/include/libavformat/avformat.h:1916:1: note: 'av_stream_get_side_data' has been explicitly marked deprecated here 1916 | attribute_deprecated | ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' 100 | # define attribute_deprecated __attribute__((deprecated)) | ^ libmpdemux/demux_lavf.c:381:59: warning: 'av_stream_get_side_data' is deprecated [-Wdeprecated-declarations] 381 | const int32_t *disp_matrix = (const int32_t *)av_stream_get_side_data(st, AV_PKT_DATA_DISPLAYMATRIX, NULL); | ^ /usr/local/include/libavformat/avformat.h:1916:1: note: 'av_stream_get_side_data' has been explicitly marked deprecated here 1916 | attribute_deprecated | ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' 100 | # define attribute_deprecated __attribute__((deprecated)) | ^ libmpdemux/demux_lavf.c:684:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 684 | double stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_lavf.c:893:24: warning: 4 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_ATTACHMENT'... [-Wswitch] 893 | switch(priv->avfc->streams[program->stream_index[i]]->codecpar->codec_type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_ffmpeg.o stream/stream_ffmpeg.c In file included from stream/stream_ffmpeg.c:28: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ stream/stream_ffmpeg.c:34:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 34 | int r = avio_read(s->priv, buffer, max_len); | ^~~~~~ /usr/local/include/libavformat/avio.h:575:46: note: passing argument to parameter 'buf' here 575 | int avio_read(AVIOContext *s, unsigned char *buf, int size); | ^ stream/stream_ffmpeg.c:41:25: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 41 | avio_write(s->priv, buffer, len); | ^~~~~~ /usr/local/include/libavformat/avio.h:435:54: note: passing argument to parameter 'buf' here 435 | void avio_write(AVIOContext *s, const unsigned char *buf, int size); | ^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/av_sub.o sub/av_sub.c In file included from sub/av_sub.c:20: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ sub/av_sub.c:103:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 103 | av_init_packet(&pkt); | ^ /usr/local/include/libavcodec/packet.h:628:1: note: 'av_init_packet' has been explicitly marked deprecated here 628 | attribute_deprecated | ^ /usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' 100 | # define attribute_deprecated __attribute__((deprecated)) | ^ sub/av_sub.c:120:19: warning: assigning to 'AVCodec *' (aka 'struct AVCodec *') from 'const AVCodec *' (aka 'const struct AVCodec *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 120 | sub_codec = avcodec_find_decoder(cid); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ sub/av_sub.c:148:19: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 148 | *data = strdup(sub.rects[0]->text); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ sub/av_sub.c:149:28: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 149 | *size = strlen(*data); | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sub/av_sub.c:153:19: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 153 | *data = strdup(sub.rects[0]->ass); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ sub/av_sub.c:154:28: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 154 | *size = strlen(*data); | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sub/av_sub.c:140:17: warning: enumeration value 'SUBTITLE_NONE' not handled in switch [-Wswitch] 140 | switch (sub.rects[0]->type) { | ^~~~~~~~~~~~~~~~~~ sub/av_sub.c:107:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 107 | if (*pts != MP_NOPTS_VALUE && *endpts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ sub/av_sub.c:107:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 107 | if (*pts != MP_NOPTS_VALUE && *endpts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ sub/av_sub.c:132:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 132 | if (*pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 13 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/font_load_ft.o sub/font_load_ft.c In file included from sub/font_load_ft.c:51: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ sub/font_load_ft.c:374:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 374 | unsigned *m3= m2 + src*mwidth; | ^ ~~~~~~~~~~~~~~~ sub/font_load_ft.c:386:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 386 | unsigned *m3= m2 + src*mwidth; | ^ ~~~~~~~~~~~~~~~ sub/font_load_ft.c:399:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 399 | unsigned *m3= m2 + src*mwidth; | ^ ~~~~~~~~~~~~~~~ sub/font_load_ft.c:418:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 418 | unsigned *m3= m2 + src2*mwidth; | ^ ~~~~~~~~~~~~~~~~ sub/font_load_ft.c:434:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 434 | unsigned *m3= m2 + src2*mwidth; | ^ ~~~~~~~~~~~~~~~~ sub/font_load_ft.c:451:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 451 | unsigned *m3= m2 + src2*mwidth; | ^ ~~~~~~~~~~~~~~~~ sub/font_load_ft.c:604:7: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 604 | desc->tables.gt2, desc->tables.g_r, | ^~~~~~~~~~~~~~~~ sub/font_load_ft.c:358:7: note: passing argument to parameter 'm2' here 358 | int *m2, | ^ sub/font_load_ft.c:1133:27: warning: passing 'const char *' to parameter of type 'const FcChar8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1133 | fc_pattern = FcNameParse(font_name ? font_name : "sans-serif"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/fontconfig/fontconfig.h:855:29: note: passing argument to parameter 'name' here 855 | FcNameParse (const FcChar8 *name); | ^ sub/font_load_ft.c:1143:42: warning: passing 'char[11]' to parameter of type 'const FcChar8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1143 | fc_pattern = FcNameParse("sans-serif"); | ^~~~~~~~~~~~ /usr/local/include/fontconfig/fontconfig.h:855:29: note: passing argument to parameter 'name' here 855 | FcNameParse (const FcChar8 *name); | ^ sub/font_load_ft.c:1153:42: warning: passing 'FcChar8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1153 | *fontp=read_font_desc_ft(s, face_index, width, height, font_scale_factor); | ^ sub/font_load_ft.c:941:51: note: passing argument to parameter 'fname' here 941 | static font_desc_t* read_font_desc_ft(const char *fname, int face_index, int movie_width, int movie_height, float font_scale_factor) | ^ 13 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_ftp.o stream/stream_ftp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_bmovl.o libmpcodecs/vf_bmovl.c libmpcodecs/vf_bmovl.c:267:77: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 267 | else if( strncmp(cmd,"FLUSH" ,5)==0 ) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_bmovl.c:267:93: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 267 | else if( strncmp(cmd,"FLUSH" ,5)==0 ) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_bmovl.c:270:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 270 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_bmovl.c:270:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 270 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_bmovl.c:289:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 289 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_bmovl.c:289:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 289 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_bmovl.c:350:40: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 350 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_bmovl.c:350:56: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 350 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_bmovl.c:408:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 408 | if(vf->priv->hidden) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_bmovl.c:408:74: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 408 | if(vf->priv->hidden) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_bmovl.c:463:40: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 463 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_bmovl.c:463:56: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 463 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 12 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_export.o libaf/af_export.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o osdep/mmap_anon.o osdep/mmap_anon.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_ijpg.o libmpcodecs/vd_ijpg.c In file included from libmpcodecs/vd_ijpg.c:34: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vd_ijpg.c:123:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 123 | src->inbuf = inbuf; | ^ ~~~~~ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_ass.o libmpcodecs/vf_ass.c In file included from libmpcodecs/vf_ass.c:33: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/ass_mp.o sub/ass_mp.c In file included from sub/ass_mp.c:26: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ sub/ass_mp.c:342:3: warning: 'ass_set_aspect_ratio' is deprecated: use 'ass_set_pixel_aspect' instead [-Wdeprecated-declarations] 342 | ass_set_aspect_ratio(ass_renderer, dar, (double)res->srcw / res->srch); | ^ /usr/local/include/ass/ass.h:488:1: note: 'ass_set_aspect_ratio' has been explicitly marked deprecated here 488 | ASS_DEPRECATED("use 'ass_set_pixel_aspect' instead") | ^ /usr/local/include/ass/ass.h:35:52: note: expanded from macro 'ASS_DEPRECATED' 35 | #define ASS_DEPRECATED(msg) __attribute__((deprecated(msg))) | ^ sub/ass_mp.c:347:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 347 | aimg = sub_visibility && ass_track && ts != MP_NOPTS_VALUE ? | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/subassconvert.o sub/subassconvert.c sub/subassconvert.c:251:37: warning: assigning to 'const uint8_t *' (aka 'const unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 251 | tag->face.start = line; | ^ ~~~~ sub/subassconvert.c:363:35: warning: assigning to 'const uint8_t *' (aka 'const unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 363 | tag.data_string.start = s; | ^ ~ sub/subassconvert.c:387:35: warning: assigning to 'const uint8_t *' (aka 'const unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 387 | tag.data_string.start = s; | ^ ~ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_bluray.o stream/stream_bluray.c In file included from stream/stream_bluray.c:36: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ stream/stream_bluray.c:111:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 111 | return bd_read(b->bd, buf, len); | ^~~ /usr/local/include/libbluray/bluray.h:524:40: note: passing argument to parameter 'buf' here 524 | int bd_read(BLURAY *bd, unsigned char *buf, int len); | ^ stream/stream_bluray.c:145:20: warning: passing 'const uint8_t[4]' (aka 'const unsigned char[4]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 145 | if (strstr(si->lang, lang)) { | ^~~~~~~~ /usr/include/string.h:129:26: note: passing argument to parameter here 129 | char *strstr(const char *, const char *) __pure; | ^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_libdv.o libmpcodecs/ad_libdv.c In file included from libmpcodecs/ad_libdv.c:36: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_libdv.o libmpcodecs/vd_libdv.c In file included from libmpcodecs/vd_libdv.c:34: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_rawdv.o libmpdemux/demux_rawdv.c In file included from libmpdemux/demux_rawdv.c:33: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demux_rawdv.c:83:43: warning: passing 'unsigned char[144000]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 83 | bytes_read=stream_read(demuxer->stream,tmp_buffer,DV_PAL_FRAME_SIZE); | ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_rawdv.c:120:43: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 120 | bytes_read=stream_read(demuxer->stream,dp_video->buffer,frames->frame_size); | ^~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ libmpdemux/demux_rawdv.c:156:33: warning: passing 'unsigned char[144000]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 156 | stream_read(demuxer->stream, dv_frame, DV_PAL_FRAME_SIZE); | ^~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here 284 | static inline int stream_read(stream_t *s, char *mem, int total) | ^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_smb.o stream/stream_smb.c stream/stream_smb.c:144:9: warning: 'smbc_init' is deprecated [-Wdeprecated-declarations] 144 | err = smbc_init(smb_auth_fn, 1); | ^ /usr/local/include/samba4/libsmbclient.h:1286:1: note: 'smbc_init' has been explicitly marked deprecated here 1286 | DEPRECATED_SMBC_INTERFACE | ^ /usr/local/include/samba4/libsmbclient.h:30:57: note: expanded from macro 'DEPRECATED_SMBC_INTERFACE' 30 | # define DEPRECATED_SMBC_INTERFACE __attribute__ ((deprecated)) | ^ 1 warning generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_mng.o libmpdemux/demux_mng.c In file included from libmpdemux/demux_mng.c:33: libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_rtsp.o stream/stream_rtsp.c In file included from stream/stream_rtsp.c:41: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/freesdp/common.o stream/freesdp/common.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/freesdp/errorlist.o stream/freesdp/errorlist.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/freesdp/parser.o stream/freesdp/parser.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/librtsp/rtsp.o stream/librtsp/rtsp.c stream/librtsp/rtsp.c:593:11: warning: address of array 's->answers' will always evaluate to 'true' [-Wpointer-bool-conversion] 593 | if (!s->answers) return NULL; | ~~~~^~~~~~~ stream/librtsp/rtsp.c:705:11: warning: address of array 's->scheduled' will always evaluate to 'true' [-Wpointer-bool-conversion] 705 | if (!s->scheduled) return; | ~~~~^~~~~~~~~ stream/librtsp/rtsp.c:722:11: warning: address of array 's->answers' will always evaluate to 'true' [-Wpointer-bool-conversion] 722 | if (!s->answers) return; | ~~~~^~~~~~~ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_rtp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/librtsp/rtsp_session.o stream/librtsp/rtsp_session.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_netstream.o stream/stream_netstream.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/asf_mmst_streaming.o stream/asf_mmst_streaming.c In file included from stream/asf_mmst_streaming.c:43: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ stream/asf_mmst_streaming.c:185:23: warning: passing 'char[102400]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 185 | command = get_32 (data, 36) & 0xFFFF; | ^~~~ stream/asf_mmst_streaming.c:91:40: note: passing argument to parameter 'cmd' here 91 | static uint32_t get_32 (unsigned char *cmd, int offset) | ^ stream/asf_mmst_streaming.c:227:23: warning: passing 'unsigned char[8]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 227 | if (!get_data (s, pre_header, 8)) { | ^~~~~~~~~~ stream/asf_mmst_streaming.c:192:35: note: passing argument to parameter 'buf' here 192 | static int get_data (int s, char *buf, size_t count) | ^ stream/asf_mmst_streaming.c:244:25: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 244 | if (!get_data (s, &header[header_len], packet_len)) { | ^~~~~~~~~~~~~~~~~~~ stream/asf_mmst_streaming.c:192:35: note: passing argument to parameter 'buf' here 192 | static int get_data (int s, char *buf, size_t count) | ^ stream/asf_mmst_streaming.c:254:47: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 254 | if( streaming_bufferize( streaming_ctrl, header, header_len )<0 ) { | ^~~~~~ ./stream/network.h:76:66: note: passing argument to parameter 'buffer' here 76 | int streaming_bufferize( streaming_ctrl_t *streaming_ctrl, char *buffer, int size); | ^ stream/asf_mmst_streaming.c:290:25: warning: passing 'char[102400]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 290 | command = get_32 (data, 24) & 0xFFFF; | ^~~~ stream/asf_mmst_streaming.c:91:40: note: passing argument to parameter 'cmd' here 91 | static uint32_t get_32 (unsigned char *cmd, int offset) | ^ stream/asf_mmst_streaming.c:395:21: warning: passing 'unsigned char[8]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 395 | if (!get_data (s, pre_header, 8)) { | ^~~~~~~~~~ stream/asf_mmst_streaming.c:192:35: note: passing argument to parameter 'buf' here 192 | static int get_data (int s, char *buf, size_t count) | ^ stream/asf_mmst_streaming.c:454:23: warning: passing 'char[102400]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 454 | command = get_32 (data, 24) & 0xFFFF; | ^~~~ stream/asf_mmst_streaming.c:91:40: note: passing argument to parameter 'cmd' here 91 | static uint32_t get_32 (unsigned char *cmd, int offset) | ^ 10 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/asf_streaming.o stream/asf_streaming.c In file included from stream/asf_streaming.c:29: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ stream/asf_streaming.c:56:42: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 56 | int got = nop_streaming_read(fd, buf, len, stream_ctrl); | ^~~ ./stream/network.h:78:39: note: passing argument to parameter 'buffer' here 78 | int nop_streaming_read( int fd, char *buffer, int size, streaming_ctrl_t *stream_ctrl ); | ^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/cookies.o stream/cookies.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/http.o stream/http.c In file included from stream/http.c:41: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ stream/http.c:93:29: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 93 | info_read = my_read(fd, info, 1, sc); | ^~~~ stream/http.c:62:39: note: passing argument to parameter 'buffer' here 62 | static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) { | ^ stream/http.c:95:31: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 95 | info_read = my_read(fd, info, 6, sc); | ^~~~ stream/http.c:62:39: note: passing argument to parameter 'buffer' here 62 | static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) { | ^ stream/http.c:97:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 97 | info_read += my_read(fd, &info[1], 5, sc); | ^~~~~~~~ stream/http.c:62:39: note: passing argument to parameter 'buffer' here 62 | static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) { | ^ stream/http.c:125:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | my_read(fd, &tmp, 1, sc); | ^~~~ stream/http.c:62:39: note: passing argument to parameter 'buffer' here 62 | static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) { | ^ stream/http.c:130:33: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 130 | unsigned nlen = my_read(fd, info, metalen, sc); | ^~~~ stream/http.c:62:39: note: passing argument to parameter 'buffer' here 62 | static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) { | ^ stream/http.c:638:46: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 638 | av_base64_encode(b64_usr_pass, encoded_len, usr_pass, usr_pass_len); | ^~~~~~~~ /usr/local/include/libavutil/base64.h:60:64: note: passing argument to parameter 'in' here 60 | char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size); | ^ 9 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/network.o stream/network.c In file included from stream/network.c:42: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/pnm.o stream/pnm.c In file included from stream/pnm.c:49: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ stream/pnm.c:423:50: warning: passing 'const unsigned char[33]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 423 | c+=pnm_write_chunk(PNA_CLIENT_CHALLANGE,strlen(pnm_challenge), | ^~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ stream/pnm.c:424:11: warning: passing 'const unsigned char[33]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 424 | pnm_challenge,&p->buffer[c]); | ^~~~~~~~~~~~~ stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here 404 | const char *chunk, char *data) { | ^ stream/pnm.c:426:11: warning: passing 'const unsigned char[126]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 426 | pnm_client_caps,&p->buffer[c]); | ^~~~~~~~~~~~~~~ stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here 404 | const char *chunk, char *data) { | ^ stream/pnm.c:431:43: warning: passing 'const unsigned char[28]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 431 | c+=pnm_write_chunk(PNA_TIMESTAMP,strlen(pnm_timestamp), | ^~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ stream/pnm.c:432:11: warning: passing 'const unsigned char[28]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 432 | pnm_timestamp,&p->buffer[c]); | ^~~~~~~~~~~~~ stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here 404 | const char *chunk, char *data) { | ^ stream/pnm.c:442:38: warning: passing 'const unsigned char[37]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 442 | c+=pnm_write_chunk(PNA_GUID,strlen(pnm_guid), | ^~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ stream/pnm.c:443:11: warning: passing 'const unsigned char[37]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 443 | pnm_guid,&p->buffer[c]); | ^~~~~~~~ stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here 404 | const char *chunk, char *data) { | ^ stream/pnm.c:445:11: warning: passing 'const unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 445 | pnm_twentyfour,&p->buffer[c]); | ^~~~~~~~~~~~~~ stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here 404 | const char *chunk, char *data) { | ^ stream/pnm.c:453:35: warning: passing 'const unsigned char[42]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 453 | AV_WB16(&p->buffer[c+1], strlen(client_string)-1); /* don't know why do we have -1 here */ | ^~~~~~~~~~~~~ /usr/local/include/libavutil/intreadwrite.h:403:39: note: expanded from macro 'AV_WB16' 403 | # define AV_WB16(p, v) AV_WB(16, p, v) | ^ /usr/local/include/libavutil/intreadwrite.h:388:51: note: expanded from macro 'AV_WB' 388 | # define AV_WB(s, p, v) AV_WN##s(p, av_bswap##s(v)) | ^ /usr/local/include/libavutil/intreadwrite.h:370:39: note: expanded from macro 'AV_WN16' 370 | # define AV_WN16(p, v) AV_WN(16, p, v) | ^ /usr/local/include/libavutil/intreadwrite.h:223:66: note: expanded from macro 'AV_WN' 223 | # define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v)) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ stream/pnm.c:454:47: warning: passing 'const unsigned char[42]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 454 | memcpy(&p->buffer[c+3],client_string,strlen(client_string)+1); | ^~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ stream/pnm.c:455:16: warning: passing 'const unsigned char[42]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 455 | c=c+3+strlen(client_string)+1; | ^~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ stream/pnm.c:514:61: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 514 | chunk_size=pnm_get_chunk(p,HEADER_SIZE-size,&chunk_type,ptr,&nr); | ^~~ stream/pnm.c:295:32: note: passing argument to parameter 'data' here 295 | char *data, int *need_response) { | ^ stream/pnm.c:768:26: warning: passing 'const unsigned char[33]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 768 | pnm_send_response(p, pnm_response); | ^~~~~~~~~~~~ stream/pnm.c:475:53: note: passing argument to parameter 'response' here 475 | static void pnm_send_response(pnm_t *p, const char *response) { | ^ stream/pnm.c:785:9: warning: initializing 'char *' with an expression of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 785 | char *source=this->recv + this->recv_read; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream/pnm.c:806:12: warning: assigning to 'char *' from 'uint8_t[4096]' (aka 'unsigned char[4096]') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 806 | source = this->recv; | ^ ~~~~~~~~~~ 18 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/rtp.o stream/rtp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/udp.o stream/udp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/tcp.o stream/tcp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_rtp.o stream/stream_rtp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_udp.o stream/stream_udp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/realrtsp/asmrp.o stream/realrtsp/asmrp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/realrtsp/real.o stream/realrtsp/real.c stream/realrtsp/real.c:330:34: warning: passing 'uint8_t[8]' (aka 'unsigned char[8]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 330 | n=rtsp_read_data(rtsp_session, header, 8); | ^~~~~~ ./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here 114 | int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size); | ^ stream/realrtsp/real.c:347:36: warning: passing 'uint8_t[8]' (aka 'unsigned char[8]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 347 | rtsp_read_data(rtsp_session, header, 7); // Skip the rest of the eof packet | ^~~~~~ ./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here 114 | int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size); | ^ stream/realrtsp/real.c:361:36: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 361 | n=rtsp_read_data(rtsp_session, header+3, 5); | ^~~~~~~~ ./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here 114 | int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size); | ^ stream/realrtsp/real.c:367:36: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 367 | n=rtsp_read_data(rtsp_session, header+4, 4); | ^~~~~~~~ ./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here 114 | int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size); | ^ stream/realrtsp/real.c:375:34: warning: passing 'uint8_t[8]' (aka 'unsigned char[8]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 375 | n=rtsp_read_data(rtsp_session, header, 6); | ^~~~~~ ./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here 114 | int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size); | ^ stream/realrtsp/real.c:513:51: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 513 | av_base64_encode(authfield + 21, b64_authlen, authstr, authlen); | ^~~~~~~ /usr/local/include/libavutil/base64.h:60:64: note: passing argument to parameter 'in' here 60 | char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size); | ^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/realrtsp/rmff.o stream/realrtsp/rmff.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/realrtsp/sdpplin.o stream/realrtsp/sdpplin.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/realrtsp/xbuffer.o stream/realrtsp/xbuffer.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_mpng.o libmpcodecs/vd_mpng.c In file included from libmpcodecs/vd_mpng.c:31: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_pp.o libmpcodecs/vf_pp.c In file included from libmpcodecs/vf_pp.c:33: In file included from libmpcodecs/dec_video.h:22: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vf_pp.c:148:7: warning: passing 'char *' to parameter of type 'const int8_t *' (aka 'const signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 148 | mpi->qscale, mpi->qstride, | ^~~~~~~~~~~ /usr/local/include/libpostproc/postprocess.h:72:36: note: passing argument to parameter 'QP_store' here 72 | const int8_t *QP_store, int QP_stride, | ^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/cache2.o stream/cache2.c stream/cache2.c:280:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 280 | s->stream_time_pos = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ stream/cache2.c:294:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | s->stream_time_pos = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ stream/cache2.c:650:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 650 | return s->stream_time_pos != MP_NOPTS_VALUE ? STREAM_OK : STREAM_UNSUPPORTED; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/frequencies.o stream/frequencies.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_tv.o stream/stream_tv.c In file included from stream/stream_tv.c:29: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/tv.o stream/tv.c In file included from stream/tv.c:41: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ stream/tv.c:242:61: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 242 | dp->pts=tvh->functions->grab_audio_frame(tvh->priv, dp->buffer,len); | ^~~~~~~~~~ stream/tv.c:254:57: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 254 | dp->pts=tvh->functions->grab_video_frame(tvh->priv, dp->buffer, len); | ^~~~~~~~~~ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/tvi_dummy.o stream/tvi_dummy.c In file included from stream/tvi_dummy.c:25: In file included from stream/tv.h:29: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/unrar_exec.o sub/unrar_exec.c sub/unrar_exec.c:125:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | *output = p; | ^ ~ sub/unrar_exec.c:140:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | *output = p; | ^ ~ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_vcd.o stream/stream_vcd.c In file included from stream/stream_vcd.c:56: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_xanim.o libmpcodecs/vd_xanim.c In file included from libmpcodecs/vd_xanim.c:35: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:293:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ ./libmpdemux/demuxer.h:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ~~~~^ libmpcodecs/vd_xanim.c:707:27: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 707 | codec_hdr.description = codec_idx2str(sh->codec->info_idx); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -pthread -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/libpng16 -D_THREAD_SAFE -I/usr/local/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -D_THREAD_SAFE -c -o osdep/shmem.o osdep/shmem.c cc -o mplayer command.o m_property.o mixer.o mp_fifo.o mplayer.o parser-mpcmd.o pnm_loader.o input/input.o libao2/ao_mpegpes.o libao2/ao_null.o libao2/ao_pcm.o libao2/audio_out.o libvo/aspect.o libvo/geometry.o libvo/video_out.o libvo/vo_mpegpes.o libvo/vo_null.o sub/spuenc.o libvo/vo_dga.o libvo/vo_png.o libvo/gl_common.o libvo/vo_gl.o libvo/csputils.o libvo/x11_common.o libvo/vo_gl_tiled.o gui/util/bitmap.o gui/util/list.o gui/util/string.o gui/app/app.o gui/app/cfg.o gui/dialog/about.o gui/dialog/dialog.o gui/dialog/equalizer.o gui/dialog/fileselect.o gui/dialog/icons.o gui/dialog/menu.o gui/dialog/msgbox.o gui/dialog/playlist.o gui/dialog/preferences.o gui/dialog/skinbrowser.o gui/dialog/tools.o gui/dialog/url.o gui/interface.o gui/skin/font.o gui/skin/skin.o gui/ui/actions.o gui/ui/main.o gui/ui/menu.o gui/ui/playbar.o gui/ui/render.o gui/ui/video.o gui/util/misc.o gui/wm/ws.o gui/wm/wsxdnd.o libvo/vo_jpeg.o libvo/vo_matrixview.o libvo/matrixview.o libvo/vo_md5sum.o libvo/vo_mng.o udp_sync.o libao2/ao_oss.o libvo/vo_pnm.o libvo/vo_tga.o libvo/vo_vdpau.o libvo/vo_x11.o libvo/vo_xover.o libvo/vo_xv.o libvo/vo_yuv4mpeg.o asxparser.o bstr.o codec-cfg.o cpudetect.o edl.o fmt-conversion.o m_config.o m_option.o m_struct.o mp_msg.o mp_strings.o mpcommon.o parser-cfg.o path.o playtree.o playtreeparser.o subopt-helper.o libaf/af.o libaf/af_center.o libaf/af_channels.o libaf/af_comp.o libaf/af_delay.o libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o libaf/af_format.o libaf/af_gate.o libaf/af_hrtf.o libaf/af_karaoke.o libaf/af_pan.o libaf/af_resample.o libaf/af_scaletempo.o libaf/af_sinesuppress.o libaf/af_stats.o libaf/af_sub.o libaf/af_surround.o libaf/af_sweep.o libaf/af_tools.o libaf/af_volnorm.o libaf/af_volume.o libaf/filter.o libaf/format.o libaf/reorder_ch.o libaf/window.o libmpcodecs/ad.o libmpcodecs/ad_alaw.o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_pcm.o libmpcodecs/dec_audio.o libmpcodecs/dec_teletext.o libmpcodecs/dec_video.o libmpcodecs/img_format.o libmpcodecs/mp_image.o libmpcodecs/pullup.o libmpcodecs/vd.o libmpcodecs/vd_hmblck.o libmpcodecs/vd_lzo.o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mtga.o libmpcodecs/vd_null.o libmpcodecs/vd_raw.o libmpcodecs/vd_sgi.o libmpcodecs/vd_black.o libmpcodecs/vf.o libmpcodecs/vf_1bpp.o libmpcodecs/vf_2xsai.o libmpcodecs/vf_blackframe.o libmpcodecs/vf_boxblur.o libmpcodecs/vf_crop.o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_decimate.o libmpcodecs/vf_delogo.o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_detc.o libmpcodecs/vf_dint.o libmpcodecs/vf_divtc.o libmpcodecs/vf_down3dright.o libmpcodecs/vf_dsize.o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_eq.o libmpcodecs/vf_eq2.o libmpcodecs/vf_expand.o libmpcodecs/vf_field.o libmpcodecs/vf_fil.o libmpcodecs/vf_filmdint.o libmpcodecs/vf_fixpts.o libmpcodecs/vf_flip.o libmpcodecs/vf_format.o libmpcodecs/vf_framestep.o libmpcodecs/vf_gradfun.o libmpcodecs/vf_halfpack.o libmpcodecs/vf_harddup.o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hue.o libmpcodecs/vf_il.o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ivtc.o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_mirror.o libmpcodecs/vf_noformat.o libmpcodecs/vf_noise.o libmpcodecs/vf_ow.o libmpcodecs/vf_palette.o libmpcodecs/vf_perspective.o libmpcodecs/vf_phase.o libmpcodecs/vf_pp7.o libmpcodecs/vf_pullup.o libmpcodecs/vf_rectangle.o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rotate.o libmpcodecs/vf_sab.o libmpcodecs/vf_scale.o libmpcodecs/vf_smartblur.o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_softskip.o libmpcodecs/vf_swapuv.o libmpcodecs/vf_telecine.o libmpcodecs/vf_test.o libmpcodecs/vf_tfields.o libmpcodecs/vf_tile.o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_unsharp.o libmpcodecs/vf_vo.o libmpcodecs/vf_yadif.o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yvu9.o libmpdemux/aac_hdr.o libmpdemux/asfheader.o libmpdemux/aviheader.o libmpdemux/aviprint.o libmpdemux/demuxer.o libmpdemux/demux_aac.o libmpdemux/demux_asf.o libmpdemux/demux_audio.o libmpdemux/demux_avi.o libmpdemux/demux_demuxers.o libmpdemux/demux_film.o libmpdemux/demux_fli.o libmpdemux/demux_lmlm4.o libmpdemux/demux_mf.o libmpdemux/demux_mkv.o libmpdemux/demux_mov.o libmpdemux/demux_mpg.o libmpdemux/demux_nsv.o libmpdemux/demux_pva.o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawvideo.o libmpdemux/demux_realaud.o libmpdemux/demux_real.o libmpdemux/demux_roq.o libmpdemux/demux_smjpeg.o libmpdemux/demux_ts.o libmpdemux/demux_ty.o libmpdemux/demux_ty_osd.o libmpdemux/demux_viv.o libmpdemux/demux_vqf.o libmpdemux/demux_y4m.o libmpdemux/ebml.o libmpdemux/extension.o libmpdemux/mf.o libmpdemux/mp3_hdr.o libmpdemux/mp_taglists.o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_packetizer.o libmpdemux/parse_es.o libmpdemux/parse_mp4.o libmpdemux/video.o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o osdep/getch2.o osdep/timer-linux.o stream/open.o stream/stream.o stream/stream_bd.o stream/stream_cue.o stream/stream_file.o stream/stream_mf.o stream/stream_null.o stream/url.o sub/eosd.o sub/find_sub.o sub/osd.o sub/spudec.o sub/sub.o sub/sub_cc.o sub/subreader.o sub/vobsub.o stream/stream_dvdnav.o stream/stream_dvd.o stream/stream_dvd_common.o libvo/aclib.o av_helpers.o av_opts.o libaf/af_lavcac3enc.o libaf/af_lavcresample.o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o libmpcodecs/vd_ffmpeg.o libmpcodecs/vf_geq.o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_screenshot.o libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o sub/font_load_ft.o stream/stream_ftp.o libmpcodecs/vf_bmovl.o libaf/af_export.o osdep/mmap_anon.o libmpcodecs/vd_ijpg.o libmpcodecs/vf_ass.o sub/ass_mp.o sub/subassconvert.o stream/stream_bluray.o libmpcodecs/ad_libdv.o libmpcodecs/vd_libdv.o libmpdemux/demux_rawdv.o stream/stream_smb.o libmpdemux/demux_mng.o stream/stream_rtsp.o stream/freesdp/common.o stream/freesdp/errorlist.o stream/freesdp/parser.o stream/librtsp/rtsp.o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_session.o stream/stream_netstream.o stream/asf_mmst_streaming.o stream/asf_streaming.o stream/cookies.o stream/http.o stream/network.o stream/pnm.o stream/rtp.o stream/udp.o stream/tcp.o stream/stream_rtp.o stream/stream_udp.o stream/realrtsp/asmrp.o stream/realrtsp/real.o stream/realrtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs/vd_mpng.o libmpcodecs/vf_pp.o stream/cache2.o stream/frequencies.o stream/stream_tv.o stream/tv.o stream/tvi_dummy.o sub/unrar_exec.o stream/stream_vcd.o libmpcodecs/vd_xanim.o osdep/shmem.o -Wl,-z,noexecstack -L/usr/local/lib/samba4 -fstack-protector-strong -fpie -pie /usr/lib/libncurses.so -L/usr/local/lib -lgnutls -lsmbclient -lpng -lz -lmng -lz -ljpeg -lbluray -L/usr/local/lib -ldvdread -L/usr/local/lib -lfreetype -lfontconfig -lfribidi -lass -lz /usr/lib/libbz2.so -llzo2 -lgsm -L/usr/local/lib -lswscale -lswresample -lavformat -lavcodec -lavutil -L/usr/local/lib -lpostproc -ldv -lpthread -rdynamic -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -ldvdnav -pthread -lm -L/usr/local/lib -lXext -lX11 -lpthread -lXss -lXv -lvdpau -lXinerama -lXxf86vm -lXxf86dga -lGL -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lharfbuzz -lfontconfig -lfreetype -lglib-2.0 -lintl =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mplayer-1.5.0.20240928_2 depends on package: mplayer-skins>=0 - not found ===> Installing existing package /packages/All/mplayer-skins-1.1.5.pkg [pkg-builder.dan.net.uk] Installing mplayer-skins-1.1.5... [pkg-builder.dan.net.uk] Extracting mplayer-skins-1.1.5: .......... done ===> mplayer-1.5.0.20240928_2 depends on package: mplayer-skins>=0 - found ===> Returning to build of mplayer-1.5.0.20240928_2 ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xscrnsaver.pc - found ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xxf86dga.pc - found ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found ===> mplayer-1.5.0.20240928_2 depends on file: /usr/local/libdata/pkgconfig/xv.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for mplayer-1.5.0.20240928_2 ===> Generating temporary packing list cd /wrkdirs/usr/ports/multimedia/mplayer/work/stage/usr/local/share/man/man1/ && ln -sf mplayer.1 gmplayer.1 install -m 0644 /wrkdirs/usr/ports/multimedia/mplayer/work/mplayer-export-2024-09-28/etc/example.conf /wrkdirs/usr/ports/multimedia/mplayer/work/stage/usr/local/share/mplayer/examples/etc install -m 0644 /wrkdirs/usr/ports/multimedia/mplayer/work/mplayer-export-2024-09-28/etc/input.conf /wrkdirs/usr/ports/multimedia/mplayer/work/stage/usr/local/share/mplayer/examples/etc install -m 0644 /wrkdirs/usr/ports/multimedia/mplayer/work/mplayer-export-2024-09-28/etc/menu.conf /wrkdirs/usr/ports/multimedia/mplayer/work/stage/usr/local/share/mplayer/examples/etc install -m 0644 /wrkdirs/usr/ports/multimedia/mplayer/work/mplayer-export-2024-09-28/etc/dvb-menu.conf /wrkdirs/usr/ports/multimedia/mplayer/work/stage/usr/local/share/mplayer/examples/etc /bin/mkdir -p /wrkdirs/usr/ports/multimedia/mplayer/work/stage/usr/local/share/pixmaps cp -f /wrkdirs/usr/ports/multimedia/mplayer/work/mplayer-export-2024-09-28/etc/mplayer256x256.png /wrkdirs/usr/ports/multimedia/mplayer/work/stage/usr/local/share/pixmaps/mplayer.png ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-05-01T19:23:55+0000' 'PKG_NOTE_ports_top_git_hash=5529c5919b' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=64f3a6bf7e' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for mplayer-1.5.0.20240928_2 ===> Building mplayer-1.5.0.20240928_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for mplayer-1.5.0.20240928_2 build of multimedia/mplayer | mplayer-1.5.0.20240928_2 ended at Thu May 1 20:28:37 BST 2025 build time: 00:04:42