=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/mplayer", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for mplayer-1.5.0.38680nb4 help/help_create.sh help/help_mp-en.h UTF-8 clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o command.o command.c clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o m_property.o m_property.c clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o mixer.o mixer.c clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o mp_fifo.o mp_fifo.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 | ~~~~^ 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 | ~~~~^ 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 | ~~~~^ 3 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o mplayer.o mplayer.c 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 | ~~~~^ clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o parser-mpcmd.o parser-mpcmd.c 6 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o pnm_loader.o pnm_loader.c In file included from mplayer.c:69: In file included from /var/tmp/work/multimedia/mplayer/work/.buildlink/include/SDL/SDL.h:30: In file included from /var/tmp/work/multimedia/mplayer/work/.buildlink/include/SDL/SDL_main.h:26: In file included from /var/tmp/work/multimedia/mplayer/work/.buildlink/include/SDL/SDL_stdinc.h:30: /var/tmp/work/multimedia/mplayer/work/.buildlink/include/SDL/SDL_config.h:140:9: warning: 'HAVE_MPROTECT' macro redefined [-Wmacro-redefined] 140 | #define HAVE_MPROTECT 1 | ^ ./config.h:604:9: note: previous definition is here 604 | #define HAVE_MPROTECT 0 | ^ 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:336: 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:336: ./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[1763]' 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[1763]' 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[1763]' 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:511:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 511 | 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:539:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 539 | 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:540:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 540 | 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:544:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 544 | 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:1082:55: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1082 | asst = ass_read_stream(ass_library, filename, (enca_sub_cp ? enca_sub_cp : sub_cp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./sub/ass_mp.h:51:75: note: passing argument to parameter 'charset' here 51 | ASS_Track* ass_read_stream(ASS_Library* library, const char *fname, char *charset); | ^ mplayer.c:1750:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1750 | 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:1800:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1800 | 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:1958: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] 1958 | 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:1946:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1946 | 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:2074:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2074 | 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:2074:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2074 | 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:2421:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2421 | 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:2536:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2536 | 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:2540:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2540 | 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:3235: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] 3235 | 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:3315: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] 3315 | 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:3359: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] 3359 | 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:3361: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] 3361 | 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:3372: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] 3372 | 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:3375: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] 3375 | 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:3411: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] 3411 | 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:3413: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] 3413 | 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:3417: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] 3417 | if (!strcmp(playlist_entry, filename)) // ignoring self-reference | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ mplayer.c:3422: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] 3422 | 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:3422: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] 3422 | if (filename && !strcmp(mp_basename(playlist_entry), playlist_entry)) { // add reference path of current file | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ mplayer.c:3423: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] 3423 | temp = malloc((strlen(filename) - strlen(mp_basename(filename)) + strlen(playlist_entry) + 1)); | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ mplayer.c:3427: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] 3427 | strcat(temp, playlist_entry); | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat' 135 | __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ mplayer.c:3437: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] 3437 | 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:3312:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 3312 | 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:3752:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 3752 | 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:3842:71: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 3842 | 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:3843:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 3843 | 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:3851:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 3851 | 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:4032:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 4032 | 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 | ~~~~^ clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o input/input.o input/input.c clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o libao2/ao_mpegpes.o libao2/ao_mpegpes.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}, | ^~~~~~~~~~~ clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o libao2/ao_null.o libao2/ao_null.c 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; | ^~~~~~~~~~~~~~~~~ 59 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o libao2/ao_pcm.o libao2/ao_pcm.c 2 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o libao2/audio_out.o libao2/audio_out.c clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o libvo/aspect.o libvo/aspect.c clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o libvo/geometry.o libvo/geometry.c clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o libvo/video_out.o libvo/video_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. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o libvo/vo_mpegpes.o libvo/vo_mpegpes.c clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o libvo/vo_null.o libvo/vo_null.c 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); | ^ 4 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o sub/spuenc.o sub/spuenc.c clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o input/ar.o input/ar.c clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o libao2/ao_coreaudio.o libao2/ao_coreaudio.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. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include -c -o libvo/vo_corevideo.o libvo/vo_corevideo.m libao2/ao_coreaudio.c:121:3: error: unknown type name 'AVFifoBuffer'; did you mean 'AudioBuffer'? 121 | AVFifoBuffer *buffer; | ^~~~~~~~~~~~ | AudioBuffer /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioBaseTypes.h:150:29: note: 'AudioBuffer' declared here 150 | typedef struct AudioBuffer AudioBuffer; | ^ libao2/ao_coreaudio.c:133:31: warning: call to undeclared function 'av_fifo_size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | int free = ao->buffer_len - av_fifo_size(ao->buffer); | ^ libao2/ao_coreaudio.c:135:10: warning: call to undeclared function 'av_fifo_generic_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | return av_fifo_generic_write(ao->buffer, data, len, NULL); | ^ libao2/ao_coreaudio.c:142:18: warning: call to undeclared function 'av_fifo_size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | int buffered = av_fifo_size(ao->buffer); | ^ libao2/ao_coreaudio.c:145:5: warning: call to undeclared function 'av_fifo_generic_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | av_fifo_generic_read(ao->buffer, data, len, NULL); | ^ libao2/ao_coreaudio.c:147:5: warning: call to undeclared function 'av_fifo_drain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | av_fifo_drain(ao->buffer, len); | ^ libao2/ao_coreaudio.c:157:9: warning: call to undeclared function 'av_fifo_size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | int amt=av_fifo_size(ao->buffer); | ^ libao2/ao_coreaudio.c:265:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] 265 | property_address.mElement = kAudioObjectPropertyElementMaster; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | kAudioObjectPropertyElementMain /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here 208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain | ^ libao2/ao_coreaudio.c:281:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] 281 | property_address.mElement = kAudioObjectPropertyElementMaster; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | kAudioObjectPropertyElementMain /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here 208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain | ^ libao2/ao_coreaudio.c:320:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] 320 | property_address.mElement = kAudioObjectPropertyElementMaster; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | kAudioObjectPropertyElementMain /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here 208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain | ^ libao2/ao_coreaudio.c:345:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] 345 | property_address.mElement = kAudioObjectPropertyElementMaster; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | kAudioObjectPropertyElementMain /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here 208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain | ^ libao2/ao_coreaudio.c:358:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] 358 | property_address.mElement = kAudioObjectPropertyElementMaster; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | kAudioObjectPropertyElementMain /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here 208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain | ^ libao2/ao_coreaudio.c:625:18: warning: call to undeclared function 'av_fifo_alloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 625 | ao->buffer = av_fifo_alloc(ao->buffer_len); | ^ libao2/ao_coreaudio.c:625:16: warning: incompatible integer to pointer conversion assigning to 'AudioBuffer *' (aka 'struct AudioBuffer *') from 'int' [-Wint-conversion] 625 | ao->buffer = av_fifo_alloc(ao->buffer_len); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libao2/ao_coreaudio.c:646:5: warning: call to undeclared function 'av_fifo_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 646 | av_fifo_free(ao->buffer); | ^ libao2/ao_coreaudio.c:682:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] 682 | property_address.mElement = kAudioObjectPropertyElementMaster; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | kAudioObjectPropertyElementMain /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here 208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain | ^ libao2/ao_coreaudio.c:822:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] 822 | property_address.mElement = kAudioObjectPropertyElementMaster; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | kAudioObjectPropertyElementMain /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here 208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain | ^ libao2/ao_coreaudio.c:857:18: warning: call to undeclared function 'av_fifo_alloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 857 | ao->buffer = av_fifo_alloc(ao->buffer_len); | ^ libao2/ao_coreaudio.c:857:16: warning: incompatible integer to pointer conversion assigning to 'AudioBuffer *' (aka 'struct AudioBuffer *') from 'int' [-Wint-conversion] 857 | ao->buffer = av_fifo_alloc(ao->buffer_len); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libao2/ao_coreaudio.c:902:5: warning: call to undeclared function 'av_fifo_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 902 | av_fifo_free(ao->buffer); | ^ libao2/ao_coreaudio.c:994:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] 994 | property_address.mElement = kAudioObjectPropertyElementMaster; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | kAudioObjectPropertyElementMain /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here 208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain | ^ libao2/ao_coreaudio.c:1071:15: warning: call to undeclared function 'av_fifo_size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1071 | int amt = av_fifo_size(ao->buffer); | ^ libao2/ao_coreaudio.c:1127:3: warning: call to undeclared function 'av_fifo_reset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1127 | av_fifo_reset(ao->buffer); | ^ libao2/ao_coreaudio.c:1134:27: warning: call to undeclared function 'av_fifo_size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1134 | return ao->buffer_len - av_fifo_size(ao->buffer); | ^ libao2/ao_coreaudio.c:1142:17: warning: call to undeclared function 'av_fifo_size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1142 | return (float)av_fifo_size(ao->buffer)/(float)ao_data.bps; | ^ libao2/ao_coreaudio.c:1152:35: warning: call to undeclared function 'av_fifo_size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1152 | long long timeleft=(1000000LL*av_fifo_size(ao->buffer))/ao_data.bps; | ^ libao2/ao_coreaudio.c:1202:3: warning: call to undeclared function 'av_fifo_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1202 | av_fifo_free(ao->buffer); | ^ 26 warnings and 1 error generated. gmake: *** [Makefile:729: libao2/ao_coreaudio.o] Error 1 gmake: *** Waiting for unfinished jobs.... input/ar.c:235:24: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] 235 | if (FindHIDDevices(kIOMasterPortDefault, &hidObjectIterator)) | ^~~~~~~~~~~~~~~~~~~~ | kIOMainPortDefault /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:133:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here 133 | const mach_port_t kIOMasterPortDefault | ^ input/ar.c:309:9: warning: 'GetFrontProcess' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] 309 | if (GetFrontProcess(&frProc) == noErr | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:363:1: note: 'GetFrontProcess' has been explicitly marked deprecated here 363 | GetFrontProcess(ProcessSerialNumber * pPSN) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9; | ^ input/ar.c:310:16: warning: 'GetCurrentProcess' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] 310 | && GetCurrentProcess(&myProc) == noErr | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:351:1: note: 'GetCurrentProcess' has been explicitly marked deprecated here 351 | GetCurrentProcess(ProcessSerialNumber * pPSN) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9; | ^ input/ar.c:311:16: warning: 'SameProcess' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] 311 | && SameProcess(&frProc, &myProc, &sameProc) == noErr) { | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:576:1: note: 'SameProcess' has been explicitly marked deprecated here 576 | SameProcess( | ^ input/ar.c:315:27: warning: 'GetProcessPID' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] 315 | if (slave_mode && GetProcessPID(&frProc, &parentPID) == noErr) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:730:1: note: 'GetProcessPID' has been explicitly marked deprecated here 730 | GetProcessPID( | ^ 5 warnings generated. libvo/vo_corevideo.m:58:8: warning: 'NSDistantObject' is deprecated: first deprecated in macOS 10.13 - Use NSXPCConnection instead [-Wdeprecated-declarations] 58 | static NSDistantObject *mplayerosxProxy; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDistantObject.h:13:12: note: 'NSDistantObject' has been explicitly marked deprecated here 13 | @interface NSDistantObject : NSProxy { | ^ libvo/vo_corevideo.m:212:33: warning: 'NSConnection' is deprecated: first deprecated in macOS 10.13 - Use NSXPCConnection instead [-Wdeprecated-declarations] 212 | mplayerosxProxy=[NSConnection rootProxyForConnectionWithRegisteredName:[NSString stringWithUTF8String:buffer_name] host:nil]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSConnection.h:18:12: note: 'NSConnection' has been explicitly marked deprecated here 18 | @interface NSConnection : NSObject { | ^ libvo/vo_corevideo.m:320:38: warning: 'NSAnyEventMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] 320 | [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil inMode:NSDefaultRunLoopMode dequeue:YES]; | ^~~~~~~~~~~~~~ | NSEventMaskAny /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:158:26: note: 'NSAnyEventMask' has been explicitly marked deprecated here 158 | static const NSEventMask NSAnyEventMask API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskAny", macos(10.0,10.12)) = NSUIntegerMax; | ^ 3 warnings generated. *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/mplayer *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/mplayer