=> Bootstrap dependency digest>=20010302: found digest-20160304 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for mplayer-1.3.0 help/help_create.sh help/help_mp-en.h UTF-8 clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o command.o command.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o m_property.o m_property.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o mixer.o mixer.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o mp_fifo.o mp_fifo.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o mplayer.o mplayer.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o parser-mpcmd.o parser-mpcmd.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o pnm_loader.o pnm_loader.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o input/input.o input/input.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libao2/ao_mpegpes.o libao2/ao_mpegpes.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libao2/ao_null.o libao2/ao_null.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libao2/ao_pcm.o libao2/ao_pcm.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libao2/audio_out.o libao2/audio_out.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/aspect.o libvo/aspect.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/geometry.o libvo/geometry.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/video_out.o libvo/video_out.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_mpegpes.o libvo/vo_mpegpes.c libvo/video_out.c:376:12: warning: passing '__uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&d_width,&d_height,A_NOZOOM); ^~~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/video_out.c:376:21: warning: passing '__uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&d_width,&d_height,A_NOZOOM); ^~~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/video_out.c:379:30: warning: passing '__uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] geometry(&vo_dx, &vo_dy, &d_width, &d_height, ^~~~~~~~ libvo/geometry.h:27:41: note: passing argument to parameter 'widw' here int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh); ^ libvo/video_out.c:379:40: warning: passing '__uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] geometry(&vo_dx, &vo_dy, &d_width, &d_height, ^~~~~~~~~ libvo/geometry.h:27:52: note: passing argument to parameter 'widh' here int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh); ^ In file included from m_property.c:33: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:288:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:289:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ In file included from libao2/audio_out.c:28: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:288:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:289:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #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. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_null.o libvo/vo_null.c 4 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o sub/spuenc.o sub/spuenc.c In file included from command.c:31: ./libmpdemux/demuxer.h:288:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:289:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #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. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_dga.o libvo/vo_dga.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libao2/ao_esd.o libao2/ao_esd.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_png.o libvo/vo_png.c In file included from mplayer.c:75: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:288:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:289:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #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. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_gif89a.o libvo/vo_gif89a.c In file included from command.c:64: In file included from ./stream/stream_dvd.h:25: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:65:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED dvd_time_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:72:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vm_cmd_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:93:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED video_attr_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:113:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] struct ATTRIBUTE_PACKED { ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:120:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] struct ATTRIBUTE_PACKED { ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:125:5: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED app_info; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:126:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED audio_attr_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:157:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED multichannel_ext_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:181:input/input.c3::634 :warning14: :unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] warning: initializing 'void *' with an expression of type 'const m_option_t (*)[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] } ATTRIBUTE_PACKED subp_attr_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:196:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgc_command_tbl_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ { "input", &input_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:225:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED cell_playback_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:242:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED cell_position_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:277:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED user_ops_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:305:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgc_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:319:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgci_srp_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:331:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgcit_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:343:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgci_lu_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:354:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgci_ut_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:366:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED cell_adr_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:376:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED c_adt_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:385:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vobu_admap_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:438:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vmgi_mat_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:449:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED playback_type_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:462:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED title_info_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:472:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED tt_srpt_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:492:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED ptl_mait_country_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:503:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED ptl_mait_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:534:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_attributes_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:547:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_atrt_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:570:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED txtdt_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:580:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED txtdt_lu_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:591:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED txtdt_mgi_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:656:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vtsi_mat_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:664:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED ptt_info_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:672:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED ttu_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:683:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_ptt_srpt_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:701:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_tmap_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:713:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_tmapt_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from command.c:64: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:57:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pci_gi_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from command.c:64: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:64:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED nsml_agli_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from command.c:64: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:94:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED hl_gi_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from command.c:64: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:107:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED btn_colit_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from command.c:64: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:136:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED btni_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from command.c:64: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:145:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED hli_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from command.c:64: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:155:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pci_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from command.c:64: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:174:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED dsi_gi_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from command.c:64: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:192:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED sml_pbi_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from command.c:64: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:200:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED sml_agl_data_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from command.c:64: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:207:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED sml_agli_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from command.c:64: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:219:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vobu_sri_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from command.c:64: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:229:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED synci_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from command.c:64: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:241:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED dsi_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ command.c:377:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (!mpctx->demuxer || mpctx->demuxer->stream_pts == MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #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. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/gl_common.o libvo/gl_common.c 3 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_gl.o libvo/vo_gl.c command.c:2706:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (mpctx->begin_skip == MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ command.c:2717:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] mpctx->begin_skip = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #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. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/csputils.o libvo/csputils.c In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:25: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:65:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED dvd_time_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:72:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vm_cmd_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:93:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED video_attr_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:113:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] struct ATTRIBUTE_PACKED { ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:120:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] struct ATTRIBUTE_PACKED { ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:125:5: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED app_info; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:126:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED audio_attr_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:157:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED multichannel_ext_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:181:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED subp_attr_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:196:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgc_command_tbl_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:225:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED cell_playback_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:242:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED cell_position_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:277:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED user_ops_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:305:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgc_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:319:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgci_srp_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:331:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgcit_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:343:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgci_lu_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:354:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgci_ut_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:366:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED cell_adr_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:376:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED c_adt_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:385:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vobu_admap_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:438:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vmgi_mat_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:449:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED playback_type_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:462:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED title_info_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:472:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED tt_srpt_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:492:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED ptl_mait_country_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:503:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED ptl_mait_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:534:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_attributes_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:547:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_atrt_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:570:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED txtdt_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:580:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED txtdt_lu_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:591:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED txtdt_mgi_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:656:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vtsi_mat_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:664:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED ptt_info_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:672:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED ttu_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:683:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_ptt_srpt_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:701:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_tmap_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:713:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_tmapt_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:57:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pci_gi_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.hclang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/sdl_common.o libvo/sdl_common.c :35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:64:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED nsml_agli_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:94:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED hl_gi_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:107:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED btn_colit_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:136:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED btni_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:145:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED hli_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:155:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pci_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:174:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED dsi_gi_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:192:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED sml_pbi_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:200:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED sml_agl_data_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:207:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED sml_agli_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:219:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vobu_sri_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:229:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED synci_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ In file included from mplayer.c:139: In file included from ./stream/stream_dvd.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24: /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:241:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED dsi_t; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/dvdread/ifo_types.h:35:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^ mplayer.c:147:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] double start_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mplayer.c:158:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] .begin_skip = MP_NOPTS_VALUE, ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mplayer.c:208:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static double seek_to_sec = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #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. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/x11_common.o libvo/x11_common.c 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]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"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 []' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"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 (*)[]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] { "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 (*)[]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] { "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~~~~~~~~ ./cfg-common.h:435:15: warning: initializing 'void *' with an expression of type 'const m_option_t (*)[]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] { "cdda", &cdda_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]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"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 [42]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"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]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~ ./cfg-common.h:466:15: warning: initializing 'void *' with an expression of type 'const m_option_t []' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"dvbin", dvbin_opts_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]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"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] {"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] {"pphelp", pp_help, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, ^~~~~~~ ./cfg-common.h:524:13: warning: initializing 'void *' with an expression of type 'const m_option_t [7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~~~~~~ ./cfg-common.h:546:18: warning: initializing 'void *' with an expression of type 'const m_option_t []' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~~~~~~~~~ ./cfg-common.h:547:20: warning: initializing 'void *' with an expression of type 'const m_option_t []' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"lavfdopts", lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~~~ ./cfg-common.h:550:18: warning: initializing 'void *' with an expression of type 'const m_option_t []' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"xvidopts", xvid_dec_opts, CONF_TYPE_SUBCONFIG, 0, 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]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"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] {"-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] {"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] {"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]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"vd", vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~ clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_gl_tiled.o libvo/vo_gl_tiled.c mplayer.c:511:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] double video_start_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #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] if (video_start_pts != MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #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] if (start_pts == MP_NOPTS_VALUE || !mpctx->sh_audio || ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #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] if (start_pts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mplayer.c:1758:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 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' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mplayer.c:1807:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mplayer.c:1965:63: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] 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 int mp_dvdnav_sid_from_lang(stream_t *stream, const unsigned char *language); ^ mplayer.c:1953:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ctx->demuxer->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mplayer.c:2081:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (a_pts == MP_NOPTS_VALUE || v_pts == MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mplayer.c:2081:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (a_pts == MP_NOPTS_VALUE || v_pts == MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mplayer.c:2424:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] sh_video->last_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #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. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_jpeg.o libvo/vo_jpeg.c mplayer.c:2534:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (sh_video->pts == MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mplayer.c:2538:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (sh_video->last_pts == MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mplayer.c:3229:41: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] vobsub_set_from_lang(vo_vobsub, dvdsub_lang); ^~~~~~~~~~~ ./sub/vobsub.h:44:59: note: passing argument to parameter 'lang' here int vobsub_set_from_lang(void *vobhandle, unsigned char * lang); ^ mplayer.c:3309:46: warning: passing 'unsigned char [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = stream_read(mpctx->stream, buf, 4096); ^~~ ./stream/stream.h:283:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ mplayer.c:3353:57: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] audio_id = dvd_aid_from_lang(mpctx->stream, audio_lang); ^~~~~~~~~~ ./stream/stream_dvd.h:59:62: note: passing argument to parameter 'lang' here int dvd_aid_from_lang(stream_t *stream, const unsigned char* lang); ^ mplayer.c:3355:58: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] dvdsub_id = dvd_sid_from_lang(mpctx->stream, dvdsub_lang); ^~~~~~~~~~~ ./stream/stream_dvd.h:60:62: note: passing argument to parameter 'lang' here int dvd_sid_from_lang(stream_t *stream, const unsigned char* lang); ^ mplayer.c:3366:63: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] audio_id = mp_dvdnav_aid_from_lang(mpctx->stream, audio_lang); ^~~~~~~~~~ ./stream/stream_dvdnav.h:33:68: note: passing argument to parameter 'language' here int mp_dvdnav_aid_from_lang(stream_t *stream, const unsigned char *language); ^ mplayer.c:3369:81: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] 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 int mp_dvdnav_sid_from_lang(stream_t *stream, const unsigned char *language); ^ mplayer.c:3405:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] filename_recode(playlist_entry)); ^~~~~~~~~~~~~~ ./mp_msg.h:164:41: note: passing argument to parameter 'filename' here const char* filename_recode(const char* filename); ^ mplayer.c:3407:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] bname = mp_basename(playlist_entry); ^~~~~~~~~~~~~~ ./path.h:29:37: note: passing argument to parameter 'path' here const char *mp_basename(const char *path); ^ mplayer.c:3411:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(playlist_entry, filename)) // ignoring self-reference ^~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ mplayer.c:3416:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (filename && !strcmp(mp_basename(playlist_entry), playlist_entry)) { // add reference path of current file ^~~~~~~~~~~~~~ ./path.h:29:37: note: passing argument to parameter 'path' here const char *mp_basename(const char *path); ^ mplayer.c:3416:66: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (filename && !strcmp(mp_basename(playlist_entry), playlist_entry)) { // add reference path of current file ^~~~~~~~~~~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ mplayer.c:3417:90: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] temp = malloc((strlen(filename) - strlen(mp_basename(filename)) + strlen(playlist_entry) + 1)); ^~~~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ mplayer.c:3421:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(temp, playlist_entry); ^~~~~~~~~~~~~~ /usr/include/string.h:54:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ mplayer.c:3431:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] play_tree_add_file(entry, playlist_entry); ^~~~~~~~~~~~~~ ./playtree.h:182:48: note: passing argument to parameter 'file' here play_tree_add_file(play_tree_t* pt,const char* file); ^ mplayer.c:3306:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mplayer.c:3746:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (seek_to_sec != MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mplayer.c:4013:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (seek_to_sec == MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ sub/spuenc.c:132:5: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if(! i&1 ) { ^ ~ sub/spuenc.c:132:5: note: add parentheses after the '!' to evaluate the bitwise operator first if(! i&1 ) { ^ ( ) sub/spuenc.c:132:5: note: add parentheses around left hand side expression to silence this warning if(! i&1 ) { ^ ( ) sub/spuenc.c:223:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pb.pixels = inbuf; ^ ~~~~~ clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libmenu/menu.o libmenu/menu.c In file included from libvo/vo_png.c:35: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:288:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:289:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ In file included from libvo/vo_dga.c:39: /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/extensions/xf86dga.h:9:2: warning: "xf86dga.h is obsolete and may be removed in the future." [-W#warnings] #warning "xf86dga.h is obsolete and may be removed in the future." ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/extensions/xf86dga.h:10:2: warning: "include instead." [-W#warnings] #warning "include instead." ^ libvo/vo_png.c:184:11: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations] res = avcodec_encode_video2(avctx, &pkt, pic, &got_pkt); ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/ffmpeg3/libavcodec/avcodec.h:5507:1: note: 'avcodec_encode_video2' has been explicitly marked deprecated here attribute_deprecated ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/ffmpeg3/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ libvo/vo_png.c:194:5: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations] av_free_packet(&pkt); ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/ffmpeg3/libavcodec/avcodec.h:4649:1: note: 'av_free_packet' has been explicitly marked deprecated here attribute_deprecated ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/ffmpeg3/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ 2 warnings generated. libvo/vo_dga.c:254:7: warning: assigning to 'char *' from '__uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] d = CURRENT_VIDEO_BUFFER.data + vo_dga_vp_offset; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_dga.c:257clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libmenu/menu_chapsel.o libmenu/menu_chapsel.c :45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] 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 with different sign [-Wpointer-sign] s = *src; ^ ~~~~ libvo/vo_dga.c:290:7: warning: assigning to 'char *' from '__uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] d = CURRENT_VIDEO_BUFFER.data + vo_dga_vp_offset; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_dga.c:627:20: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&scale_dstW, &scale_dstH, A_ZOOM); ^~~~~~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/vo_dga.c:627:33: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&scale_dstW, &scale_dstH, A_ZOOM); ^~~~~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/vo_dga.c:629:20: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&scale_dstW, &scale_dstH, A_NOZOOM); ^~~~~~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/vo_dga.c:629:33: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&scale_dstW, &scale_dstH, A_NOZOOM); ^~~~~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here void aspect(int *srcw, int *srch, int zoom); ^ clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libmenu/menu_cmdlist.o libmenu/menu_cmdlist.c libvo/x11_common.c:744:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] wmClass.res_name = vo_winname ? vo_winname : name; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/x11_common.c:874:49: warning: passing '__uint8_t [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] XLookupString(&event->xkey, buf, sizeof(buf), &keySym, ^~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/Xutil.h:536:31: note: passing argument to parameter here 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 with different sign [-Wpointer-sign] 8, PropModeReplace, title, strlen(title)); ^~~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/Xlib.h:2075:38: note: passing argument to parameter here _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] &w, &h, &dummy_int, &depth); ^~~~~~~~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/Xlib.h:2628:44: note: passing argument to parameter here unsigned int* /* border_width_return */, ^ 5 warnings generated. 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 with different sign [-Wpointer-sign] mpglGetString = getProcAddress("glGetString"); ^~~~~~~~~~~~~ clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libmenu/menu_console.o libmenu/menu_console.c In file included from libvo/vo_gl.c:46: In file included from libvo/sdl_common.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL.h:30: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_main.h:26: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_stdinc.h:30: /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_config.h:140:9: warning: 'HAVE_MPROTECT' macro redefined [-Wmacro-redefined] #define HAVE_MPROTECT 1 ^ ./config.h:580:9: note: previous definition is here #define HAVE_MPROTECT 0 ^ 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 with different sign [-Wpointer-sign] 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 with different sign [-Wpointer-sign] const char *vendor = mpglGetString(GL_VENDOR); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libmenu/menu_filesel.o libmenu/menu_filesel.c libvo/gl_common.c:2343:16: warning: passing 'const GLubyte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strstr(mpglGetString(GL_EXTENSIONS), "GL_ARB_vertex_program")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:68:26: note: passing argument to parameter here char *strstr(const char *, const char *); ^ In file included from libvo/gl_common.c:2389: In file included from libvo/sdl_common.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL.h:30: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_main.h:26: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_stdinc.h:30: /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_config.h:140:9: warning: 'HAVE_MPROTECT' macro redefined [-Wmacro-redefined] #define HAVE_MPROTECT 1 ^ ./config.h:580:9: note: previous definition is here #define HAVE_MPROTECT 0 ^ libvo/gl_common.c:2396:32: warning: passing 'const GLubyte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return SDL_GL_GetProcAddress(name); ^~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_video.h:842:66: note: passing argument to parameter 'proc' here extern DECLSPEC void * SDLCALL SDL_GL_GetProcAddress(const char* proc); ^ 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 with different sign [-Wpointer-sign] libvo/gl_common.c:2445:33: warning: passing 'const GLubyte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] const char *renderer = mpglGetString(GL_RENDERER); void *res = eglGetProcAddress(name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/EGL/egl.h:135:92: note: passing argument to parameter 'procname' here EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress (const char *procname); ^ 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 with different sign [-Wpointer-sign] 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 with different sign [-Wpointer-sign] libvo/gl_common.c:2458:20: warning: const char *vendor = mpglGetString(GL_VENDOR);passing 'const GLubyte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^ ~~~~~~~~~~~~~~~~~~~~~~~~ res = dlsym(h, name); ^~~~ /usr/include/dlfcn.h:libvo/vo_gl.c61::52955::15 :note : warningpassing argument to parameter here: initializing 'const char *' with an expression of type 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] void *dlsym(void * __restrict, const char * __restrict); 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 with different sign [-Wpointer-sign] const char *renderer = mpglGetString(GL_RENDERER); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/gl_common.c:2782:50: warning: passing 'const int [10]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] vinfo = glXChooseVisual(mDisplay, mScreen, stereo_glx_attribs); ^~~~~~~~~~~~~~~~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/GL/glx.h:188:15: note: passing argument to parameter 'attribList' here int *attribList ); ^ libvo/gl_common.c:2809:11: warning: 6 enumeration values not handled in switch: 'GLTYPE_AUTO', 'GLTYPE_W32', 'GLTYPE_EGL_X11'... [-Wswitch] switch (ctx->type) { ^ 1 warning generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libmenu/menu_list.o libmenu/menu_list.c In file included from libvo/vo_jpeg.c:48: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:288:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:289:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #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. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libmenu/menu_param.o libmenu/menu_param.c libvo/vo_gl_tiled.c:106:11: warning: 7 enumeration values not handled in switch: 'GLTYPE_AUTO', 'GLTYPE_W32', 'GLTYPE_SDL'... [-Wswitch] switch (glctx.type) { ^ libvo/vo_gl_tiled.c:633:24: warning: passing '__uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 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 int glFindFormat(uint32_t format, int *bpp, GLint *gl_texfmt, ^ 10 warnings generated. libmenu/menu.c:752:20: warning: passing 'char [stride * h]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] draw_alpha(w,h,pic,pic_alpha,stride, ^~~ libmenu/menu.c:752:24: warning: passing 'char [stride * h]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] draw_alpha(w,h,pic,pic_alpha,stride, ^~~~~~~~~ clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libmenu/menu_pt.o libmenu/menu_pt.c In file included from libmenu/menu_chapsel.c:37: ./libmpdemux/demuxer.h:288:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:289:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ In file included from libvo/sdl_common.c:21: In file included from libvo/sdl_common.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL.h:30: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_main.h:26: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_stdinc.h:30: /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_config.h:140:9: warning: 'HAVE_MPROTECT' macro redefined [-Wmacro-redefined] #define HAVE_MPROTECT 1 ^ ./config.h:580:9: note: previous definition is here #define HAVE_MPROTECT 0 ^ 3 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libmenu/menu_txt.o libmenu/menu_txt.c 58 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libmenu/vf_menu.o libmenu/vf_menu.c 3 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libmenu/menu_dvbin.o libmenu/menu_dvbin.c In file included from libmenu/menu_filesel.c:41: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:288:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:289:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #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. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_matrixview.o libvo/vo_matrixview.c 1 warning generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/matrixview.o libvo/matrixview.c 2 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_md5sum.o libvo/vo_md5sum.c 4 warnings generated. 2 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libao2/ao_nas.o libao2/ao_nas.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o udp_sync.o udp_sync.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libao2/ao_oss.o libao2/ao_oss.c 3 warnings generated. 6 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_pnm.o libvo/vo_pnm.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libao2/ao_pulse.o libao2/ao_pulse.c In file included from libmenu/vf_menu.c:27: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:288:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE'10 warnings generated. #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:289:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #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. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libao2/ao_sdl.o libao2/ao_sdl.c libmenu/vf_menu.c:62:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value] put_image(vf,pause_mpi, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #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. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_sdl.o libvo/vo_sdl.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libao2/ao_sun.o libao2/ao_sun.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_tga.o libvo/vo_tga.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_vdpau.o libvo/vo_vdpau.c 4 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_x11.o libvo/vo_x11.c libvo/vo_matrixview.c:172:20: warning: passing '__uint8_t **' (aka 'unsigned char **') to parameter of type 'const __uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] sws_scale(sws, src, stride, y, h, map_image, map_stride); ^~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/ffmpeg3/libswscale/swscale.h:217:58: note: passing argument to parameter 'srcSlice' here int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], ^ 109 warnings generated. In file included from libvo/vo_md5sum.c:45: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:288:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:289:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #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. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_xover.o libvo/vo_xover.c clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_xv.o libvo/vo_xv.c In file included from udp_sync.c:44: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:288:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:289:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libao2/ao_nas.c:420:51: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char auformat = nas_aformat_to_auformat(&format); ^~~~~~~ libao2/ao_nas.c:346:59: note: passing argument to parameter 'format' here static unsigned int nas_aformat_to_auformat(unsigned int *format) ^ 1 warning generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_xvmc.o libvo/vo_xvmc.c 3 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o libvo/vo_yuv4mpeg.o libvo/vo_yuv4mpeg.c 1 warning generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o asxparser.o asxparser.c libao2/ao_pulse.c:65:13: warning: 4 enumeration values not handled in switch: 'PA_CONTEXT_UNCONNECTED', 'PA_CONTEXT_CONNECTING', 'PA_CONTEXT_AUTHORIZING'... [-Wswitch] switch (pa_context_get_state(c)) { ^ libao2/ao_pulse.c:75:13: warning: enumeration values 'PA_STREAM_UNCONNECTED' and 'PA_STREAM_CREATING' not handled in switch [-Wswitch] switch (pa_stream_get_state(s)) { ^ 3 warnings generated. In file included from libao2/ao_sdl.c:35: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL.h:30: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_main.h:26: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_stdinc.h:30: /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_config.h:140:9: warning: 'HAVE_MPROTECT' macro redefined [-Wmacro-redefined] #define HAVE_MPROTECT 1 ^ ./config.h:580:9: note: previous definition is here #define HAVE_MPROTECT 0 ^ clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o bstr.o bstr.c In file included from libvo/vo_pnm.c:44: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:288:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:289:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #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. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -D_ISOC99_SOURCE -I. -O3 -DCODECS2HTML -o codec-cfg codec-cfg.c In file included from libvo/vo_sdl.c:90: In file included from libvo/sdl_common.h:27: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL.h:30: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_main.h:26: In file included from /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_stdinc.h:30: /data/scratch/multimedia/mplayer/work/.buildlink/include/SDL/SDL_config.h:140:9: warning: 'HAVE_MPROTECT' macro redefined [-Wmacro-redefined] #define HAVE_MPROTECT 1 ^ ./config.h:580:9: note: previous definition is here #define HAVE_MPROTECT 0 ^ clang -MMD -MP -D_ISOC99_SOURCE -I. -O2 -I/usr/pkg/include/cdparanoia -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/pkg/include/ffmpeg3 -fpie -DPIC -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DZLIB_CONST -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include/ffmpeg3 -I/usr/pkg/include -c -o cpudetect.o cpudetect.c libvo/vo_x11.c:208:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] 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 with different sign [-Wpointer-sign] ImageData = myximage->data; ^ ~~~~~~~~~~~~~~ libvo/vo_x11.c:227:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] myximage->data = ImageDataOrig; ^ ~~~~~~~~~~~~~ libvo/vo_x11.c:495:27: warning: passing '__uint8_t **' (aka 'unsigned char **') to parameter of type 'const __uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] sws_scale(swsContext, src, stride, y, h, dst, dstStride); ^~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/ffmpeg3/libswscale/swscale.h:217:58: note: passing argument to parameter 'srcSlice' here int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], ^ libvo/vo_vdpau.c:131:8: error: unknown type name 'VdpPresentationQueueTargetCreateX11'; did you mean 'VdpPresentationQueueTargetDestroy'? static VdpPresentationQueueTargetCreateX11 *vdp_presentation_queue_target_create_x11; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VdpPresentationQueueTargetDestroy /data/scratch/multimedia/mplayer/work/.buildlink/include/vdpau/vdpau.h:4198:19: note: 'VdpPresentationQueueTargetDestroy' declared here typedef VdpStatus VdpPresentationQueueTargetDestroy( ^ libvo/vo_vdpau.c:394:10: error: use of undeclared identifier 'VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_CREATE_X11' {VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_CREATE_X11, ^ libvo/vo_vdpau.c:419:14: warning: implicit declaration of function 'vdp_device_create_x11' is invalid in C99 [-Wimplicit-function-declaration] vdp_st = vdp_device_create_x11(mDisplay, mScreen, ^ libvo/vo_vdpau.c:449:67: error: too many arguments to function call, expected 1, have 3 vdp_st = vdp_presentation_queue_target_create_x11(vdp_device, vo_window, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ libvo/vo_vdpau.c:864: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] &pitch, ^~~~~~ libvo/vo_vdpau.c:979: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] (const void *) &i->bitmap, &i->stride, &destRect); ^~~~~~~~~~ libvo/vo_vdpau.c:1108: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] mpi->stride, &r); ^~~~~~~~~~~ libvo/vo_vdpau.c:1121: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] mpi->stride); // pitch ^~~~~~~~~~~ 5 warnings and 3 errors generated. Makefile:726: recipe for target 'libvo/vo_vdpau.o' failed gmake: *** [libvo/vo_vdpau.o] Error 1 gmake: *** Waiting for unfinished jobs.... libvo/vo_xv.c:130:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] xvimage[current_buf]->data + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:390:9: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[0] + ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:400:9: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[1] + ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:409:9: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[2] + ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:480:24: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mpi->planes[0] = ^ libvo/vo_xv.c:489:32: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mpi->planes[1] = ^ libvo/vo_xv.c:492:32: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mpi->planes[2] = ^ libvo/vo_xv.c:500:32: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mpi->planes[1] = ^ libvo/vo_xv.c:503:32: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mpi->planes[2] = ^ 2 warnings generated. 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] XGetGeometry(mDisplay, vo_window, &mRoot, &drwX, &drwY, &drwWidth, ^~~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/Xlib.h:2624:25: note: passing argument to parameter here 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] XGetGeometry(mDisplay, vo_window, &mRoot, &drwX, &drwY, &drwWidth, ^~~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/Xlib.h:2625:25: note: passing argument to parameter here 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] &drwcX, &drwcY, &mRoot); ^~~~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/Xlib.h:3452:30: note: passing argument to parameter here 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] &drwcX, &drwcY, &mRoot); ^~~~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/Xlib.h:3453:30: note: passing argument to parameter here 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] aspect(&dwidth,&dheight,A_NOZOOM); ^~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here 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] aspect(&dwidth,&dheight,A_NOZOOM); ^~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here 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] aspect(&dwidth,&dheight,A_NOZOOM); ^~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here 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] aspect(&dwidth,&dheight,A_NOZOOM); ^~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here 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] aspect(&dwidth,&dheight,A_ZOOM); ^~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here 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] aspect(&dwidth,&dheight,A_ZOOM); ^~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here 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] aspect(&d_width, &d_height, A_NOZOOM); ^~~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here 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] aspect(&d_width, &d_height, A_NOZOOM); ^~~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here 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] 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 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] 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 void aspect(int *srcw, int *srch, int zoom); ^ 1 warning generated. libao2/ao_sun.c:318:8: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] err = abs(audiocs_rates[i] - sample_rate); ^ libao2/ao_sun.c:318:8: note: remove the call to 'abs' since unsigned values cannot be negative err = abs(audiocs_rates[i] - sample_rate); ^~~ 4 warnings generated. 3 warnings generated. bstr.c:43:27: warning: passing 'const __uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int ret = strncasecmp(str1.start, str2.start, FFMIN(str1.len, str2.len)); ^~~~~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t); ^ bstr.c:43:39: warning: passing 'const __uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int ret = strncasecmp(str1.start, str2.start, FFMIN(str1.len, str2.len)); ^~~~~~~~~~ /usr/include/strings.h:64:44: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t); ^ 14 warnings generated. 2 warnings generated. 1 warning generated. libvo/vo_xvmc.c:96:12: warning: 'xvmc_pix_fmt' is deprecated [-Wdeprecated-declarations] struct xvmc_pix_fmt shared; ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/ffmpeg3/libavcodec/xvmc.h:46:8: note: 'xvmc_pix_fmt' has been explicitly marked deprecated here struct attribute_deprecated xvmc_pix_fmt { ^ /data/scratch/multimedia/mplayer/work/.buildlink/include/ffmpeg3/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ In file included from asxparser.c:31: ./libmpdemux/demuxer.h:288:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:289:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libvo/vo_xvmc.c:349:64: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] rez = XvQueryAdaptors(mDisplay,DefaultRootWindow(mDisplay),&num_adaptors,&ai); ^~~~~~~~~~~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/extensions/Xvlib.h:178:50: note: passing argument to parameter here unsigned int * /* p_nAdaptors */, ^ libvo/vo_xvmc.c:455:46: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] if (Success != XvQueryExtension(mDisplay,&xv_version,&xv_release,&xv_request_base, ^~~~~~~~~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/extensions/Xvlib.h:168:48: note: passing argument to parameter here unsigned int * /* p_version */, ^ libvo/vo_xvmc.c:455:58: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] if (Success != XvQueryExtension(mDisplay,&xv_version,&xv_release,&xv_request_base, ^~~~~~~~~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/extensions/Xvlib.h:169:49: note: passing argument to parameter here unsigned int * /* p_revision */, ^ libvo/vo_xvmc.c:455:70: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] if (Success != XvQueryExtension(mDisplay,&xv_version,&xv_release,&xv_request_base, ^~~~~~~~~~~~~~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/extensions/Xvlib.h:170:52: note: passing argument to parameter here unsigned int * /* p_requestBase */, ^ libvo/vo_xvmc.c:456:37: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xv_event_base,&xv_error_base) ){ ^~~~~~~~~~~~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/extensions/Xvlib.h:171:50: note: passing argument to parameter here unsigned int * /* p_eventBase */, ^ libvo/vo_xvmc.c:456:52: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xv_event_base,&xv_error_base) ){ ^~~~~~~~~~~~~~ /data/scratch/multimedia/mplayer/work/.buildlink/include/X11/extensions/Xvlib.h:173:1: note: passing argument to parameter here ); ^ libvo/vo_xvmc.c:762:63: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] rez = XvMCSetSubpicturePalette(mDisplay, &subpicture, palette); ^~~~~~~ codec-cfg.c/data/scratch/multimedia/mplayer/work/.buildlink/include/X11/extensions/XvMClib.h::1027110::1218:: warningnote: : taking the absolute value of unsigned type 'const unsigned int' has no effect [-Wabsolute-value]passing argument to parameter 'palette' here unsigned char *palette ^ if(abs(*a)<256) ^ codec-cfg.c:1027:12: note: remove the call to 'abs' since unsigned values cannot be negative if(abs(*a)<256) ^~~ codec-cfg.c:1122:24: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] cod[i][j].guid.f1, ^~~~~~~~~~~~~~~~~ libvo/vo_xvmc.c:1304:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mpi->planes[0] = (char*)data_blocks.blocks; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xvmc.c:1305:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mpi->planes[1] = (char*)mv_blocks.macro_blocks; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xvmc.c:1307:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mpi->planes[2] = (char*)rndr; ^ ~~~~~~~~~~~ 9 warnings generated. 1 warning generated. 3 warnings generated. 11 warnings generated. 2 warnings generated. *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/multimedia/mplayer *** Error code 1 Stop. make: stopped in /data/pkgsrc/multimedia/mplayer