Diff of the two buildlogs: -- --- b1/build.log 2025-09-07 22:10:29.896422099 +0000 +++ b2/build.log 2025-09-07 22:12:32.872574870 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Sep 7 10:09:35 -12 2025 -I: pbuilder-time-stamp: 1757282975 +I: Current time: Sun Oct 11 18:33:30 +14 2026 +I: pbuilder-time-stamp: 1791693210 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -30,53 +30,85 @@ dpkg-source: info: applying 0007-cross.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/348817/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1199006/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 11 04:34 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1199006/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1199006/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='aef3868de5b14967b74956534968cf15' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='348817' - PS1='# ' - PS2='> ' + INVOCATION_ID=89101059c70249c8b2ea1bb9d9f657ce + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1199006 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.zz5MLrRg/pbuilderrc_SEYf --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.zz5MLrRg/b1 --logfile b1/build.log ogmtools_1.5-7.dsc' - SUDO_GID='110' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.zz5MLrRg/pbuilderrc_ZoHE --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.zz5MLrRg/b2 --logfile b2/build.log ogmtools_1.5-7.dsc' + SUDO_GID=110 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/348817/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1199006/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -162,7 +194,7 @@ Get: 38 http://deb.debian.org/debian unstable/main amd64 libvorbisenc2 amd64 1.3.7-3 [75.4 kB] Get: 39 http://deb.debian.org/debian unstable/main amd64 libvorbisfile3 amd64 1.3.7-3 [20.9 kB] Get: 40 http://deb.debian.org/debian unstable/main amd64 libvorbis-dev amd64 1.3.7-3 [325 kB] -Fetched 12.2 MB in 0s (124 MB/s) +Fetched 12.2 MB in 3s (4103 kB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19917 files and directories currently installed.) @@ -337,7 +369,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ogmtools-1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ogmtools_1.5-7_source.changes +I: user script /srv/workspace/pbuilder/1199006/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1199006/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ogmtools-1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ogmtools_1.5-7_source.changes dpkg-buildpackage: info: source package ogmtools dpkg-buildpackage: info: source version 1:1.5-7 dpkg-buildpackage: info: source distribution unstable @@ -449,7 +485,7 @@ config.status: creating avilib/Makefile config.status: executing depfiles commands dh_auto_build - make -j40 + make -j42 make[1]: Entering directory '/build/reproducible-path/ogmtools-1.5' Making all in avilib make[2]: Entering directory '/build/reproducible-path/ogmtools-1.5/avilib' @@ -480,6 +516,20 @@ avidump.c:209:12: note: array 'names_strf_auds' declared here 209 | struct VAL names_strf_auds[] = { | ^~~~~~~~~~~~~~~ +avidump.c:608:50: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] + 608 | long chunks=*chunksize-sizeof(names_indx)/sizeof(char*); + | ^ +avidump.c:608:50: note: add parentheses around the second 'sizeof' to silence this warning +avidump.c:237:12: note: array 'names_indx' declared here + 237 | struct VAL names_indx[] = { + | ^~~~~~~~~~ +avidump.c:613:40: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] + 613 | dump_vals(fd,sizeof(names_indx)/sizeof(char*),names_indx); + | ^ +avidump.c:613:40: note: add parentheses around the second 'sizeof' to silence this warning +avidump.c:237:12: note: array 'names_indx' declared here + 237 | struct VAL names_indx[] = { + | ^~~~~~~~~~ avilib.c: In function 'avi_ixnn_entry': avilib.c:213:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 @@ -489,16 +539,18 @@ avilib.c:245:5: note: in expansion of macro 'OUTD' 245 | OUTD(ch->nEntriesInUse); | ^~~~ -avidump.c:608:50: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] - 608 | long chunks=*chunksize-sizeof(names_indx)/sizeof(char*); - | ^ -avidump.c:608:50: note: add parentheses around the second 'sizeof' to silence this warning +avidump.c:623:41: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] + 623 | printf("\t\t [%6ld] 0x%016llx 0x%08lx %8d\n", u++, offset, size, + | ~~~~~~^ ~~~~~~ + | | | + | long long unsigned int off_t {aka long int} + | %016lx avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ -avidump.c:237:12: note: array 'names_indx' declared here - 237 | struct VAL names_indx[] = { - | ^~~~~~~~~~ +avidump.c:633:52: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] + 633 | long chunks=*chunksize-sizeof(names_stdidx)/sizeof(char*); + | ^ avilib.c:213:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ @@ -507,13 +559,10 @@ avilib.c:247:5: note: in expansion of macro 'OUTD' 247 | OUTD(ch->qwBaseOffset&0xffffffff); | ^~~~ +avidump.c:633:52: note: add parentheses around the second 'sizeof' to silence this warning avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ -avidump.c:613:40: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] - 613 | dump_vals(fd,sizeof(names_indx)/sizeof(char*),names_indx); - | ^ -avidump.c:613:40: note: add parentheses around the second 'sizeof' to silence this warning avilib.c:213:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ @@ -522,9 +571,6 @@ avilib.c:248:5: note: in expansion of macro 'OUTD' 248 | OUTD((ch->qwBaseOffset>>32)&0xffffffff); | ^~~~ -avidump.c:237:12: note: array 'names_indx' declared here - 237 | struct VAL names_indx[] = { - | ^~~~~~~~~~ avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ @@ -539,12 +585,9 @@ avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ -avidump.c:623:41: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] - 623 | printf("\t\t [%6ld] 0x%016llx 0x%08lx %8d\n", u++, offset, size, - | ~~~~~~^ ~~~~~~ - | | | - | long long unsigned int off_t {aka long int} - | %016lx +avidump.c:248:12: note: array 'names_stdidx' declared here + 248 | struct VAL names_stdidx[] = { + | ^~~~~~~~~~~~ avilib.c:213:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ @@ -556,10 +599,6 @@ avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ -avidump.c:633:52: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] - 633 | long chunks=*chunksize-sizeof(names_stdidx)/sizeof(char*); - | ^ -avidump.c:633:52: note: add parentheses around the second 'sizeof' to silence this warning avilib.c:213:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ @@ -571,18 +610,15 @@ avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ -avidump.c:248:12: note: array 'names_stdidx' declared here - 248 | struct VAL names_stdidx[] = { - | ^~~~~~~~~~~~ +avidump.c:637:42: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] + 637 | dump_vals(fd,sizeof(names_stdidx)/sizeof(char*),names_stdidx); + | ^ +avidump.c:637:42: note: add parentheses around the second 'sizeof' to silence this warning avilib.c:256:27: warning: pointer targets in passing argument 2 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] 256 | avi_add_chunk (AVI, ch->fcc, ix00, max); | ~~^~~~~ | | | char * -avidump.c:637:42: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] - 637 | dump_vals(fd,sizeof(names_stdidx)/sizeof(char*),names_stdidx); - | ^ -avidump.c:637:42: note: add parentheses around the second 'sizeof' to silence this warning avilib.c:181:53: note: expected 'unsigned char *' but argument is of type 'char *' 181 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~ @@ -597,10 +633,10 @@ avidump.c:248:12: note: array 'names_stdidx' declared here 248 | struct VAL names_stdidx[] = { | ^~~~~~~~~~~~ +avilib.c: In function 'avi_add_odml_index_entry': avidump.c:474:11: warning: variable 'tt' set but not used [-Wunused-but-set-variable] 474 | off_t tt; | ^~ -avilib.c: In function 'avi_add_odml_index_entry': avilib.c:372:26: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 372 | int audio = (strchr (tag, 'w')?1:0); | ^~~ @@ -3692,92 +3728,14 @@ mp3_common.c:42:32: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 42 | ((header & 0xffffff00) == FOURCC('I', 'D', '3', ' '))) | ^~ -In file included from p_mp3.cpp:25: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -In file included from p_mp3.cpp:27: -p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 43 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ -p_mp3.cpp:33:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 33 | char **ncomments) throw (error_c) : q_c() { - | ^~~~~ -In file included from r_microdvd.cpp:27: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -In file included from r_microdvd.h:27, - from r_microdvd.cpp:28: -p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 33 | char **ncomments) throw (error_c); - | ^~~~~ -In file included from p_pcm.cpp:25: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -In file included from p_textsubs.cpp:25: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -In file included from p_pcm.cpp:26: -p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 40 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ -r_microdvd.h:38:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 38 | char **ncomments) throw (error_c); - | ^~~~~ -In file included from p_textsubs.cpp:27: -p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 33 | char **ncomments) throw (error_c); - | ^~~~~ -p_pcm.cpp:32:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 32 | char **ncomments) throw (error_c) : q_c() { - | ^~~~~ -In file included from p_video.cpp:26: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -p_textsubs.cpp:32:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 32 | throw (error_c) : q_c() { - | ^~~~~ -In file included from p_video.cpp:27: -p_video.h:38:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 38 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ -p_video.cpp:34:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 34 | throw (error_c) : q_c() { - | ^~~~~ In file included from r_ogm.cpp:26: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ -r_microdvd.cpp:59:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 59 | throw (error_c) { - | ^~~~~ -In file included from r_srt.cpp:27: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -r_microdvd.cpp: In constructor 'microdvd_reader_c::microdvd_reader_c(char*, audio_sync_t*, range_t*, char**)': -r_microdvd.cpp:61:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 61 | throw error_c("microdvd_reader: Could not open source file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from r_srt.h:27, - from r_srt.cpp:28: -p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 33 | char **ncomments) throw (error_c); - | ^~~~~ In file included from r_ogm.cpp:27: r_ogm.h:65:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 65 | char *nfourcc) throw (error_c); | ^~~~~ -r_microdvd.cpp:63:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 63 | throw error_c("microdvd_reader: Source is not a valid MicroDVD file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_srt.h:38:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 38 | char **ncomments) throw (error_c); - | ^~~~~ In file included from r_ogm.cpp:28: p_vorbis.h:40:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 40 | throw (error_c); @@ -3790,13 +3748,6 @@ p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 40 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ -p_mp3.cpp: In member function 'virtual int mp3_packetizer_c::process(char*, int, int)': -p_mp3.cpp:236:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] - 236 | "packet number %lld)\n", packetno - 2); - | ~~~^ ~~~~~~~~~~~~ - | | | - | long long int u_int64_t {aka long unsigned int} - | %ld In file included from r_ogm.cpp:31: p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | char **ncomments) throw (error_c); @@ -3809,16 +3760,6 @@ p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ -r_srt.cpp:65:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 65 | range_t *nrange, char **ncomments) throw (error_c) { - | ^~~~~ -r_srt.cpp: In constructor 'srt_reader_c::srt_reader_c(char*, audio_sync_t*, range_t*, char**)': -r_srt.cpp:67:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 67 | throw error_c("srt_reader: Could not open source file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_srt.cpp:69:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 69 | throw error_c("srt_reader: Source is not a valid SRT file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ogm.cpp:63:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 63 | char **ncomments, char *nfourcc) throw (error_c) { | ^~~~~ @@ -3826,71 +3767,64 @@ r_ogm.cpp:67:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | throw error_c("ogm_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from r_microdvd.cpp:27: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ r_ogm.cpp:69:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | throw error_c("ogm_reader: Could not seek to end of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from p_video.cpp:26: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ r_ogm.cpp:72:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | throw error_c("ogm_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from r_microdvd.h:27, + from r_microdvd.cpp:28: +p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 33 | char **ncomments) throw (error_c); + | ^~~~~ r_ogm.cpp:74:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | throw error_c("ogm_reader: Source is not a valid OGG media file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from r_ac3.cpp:25: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -In file included from r_ac3.h:26, - from r_ac3.cpp:26: -p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 43 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ -In file included from p_ac3.cpp:25: +In file included from p_video.cpp:27: +p_video.h:38:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 38 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +r_microdvd.h:38:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 38 | char **ncomments) throw (error_c); + | ^~~~~ +p_video.cpp:34:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 34 | throw (error_c) : q_c() { + | ^~~~~ +In file included from p_pcm.cpp:25: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ -r_ac3.h:39:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | char **ncomments) throw (error_c); - | ^~~~~ -In file included from p_ac3.cpp:27: -p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 43 | range_t *nrange, char **ncomments) throw (error_c); +r_microdvd.cpp:59:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 59 | throw (error_c) { + | ^~~~~ +r_microdvd.cpp: In constructor 'microdvd_reader_c::microdvd_reader_c(char*, audio_sync_t*, range_t*, char**)': +r_microdvd.cpp:61:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 61 | throw error_c("microdvd_reader: Could not open source file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from p_pcm.cpp:26: +p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 40 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ -r_ac3.cpp:58:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 58 | range_t *nrange, char **ncomments) throw (error_c) { - | ^~~~~ -p_ac3.cpp:33:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 33 | char **ncomments) throw (error_c) : q_c() { - | ^~~~~ -r_ac3.cpp: In constructor 'ac3_reader_c::ac3_reader_c(char*, audio_sync_t*, range_t*, char**)': -r_ac3.cpp:64:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 64 | throw error_c("ac3_reader: Could not open source file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_ac3.cpp:66:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 66 | throw error_c("ac3_reader: Could not seek to end of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_ac3.cpp:69:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 69 | throw error_c("ac3_reader: Could not seek to beginning of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_ac3.cpp:74:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 74 | throw error_c("ac3_reader: Could not read 4096 bytes."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_ac3.cpp:76:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 76 | throw error_c("ac3_reader: Could not seek to beginning of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_ac3.cpp:79:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 79 | throw error_c("ac3_reader: No valid AC3 packet found in the first " \ +r_microdvd.cpp:63:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 63 | throw error_c("microdvd_reader: Source is not a valid MicroDVD file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 80 | "4096 bytes.\n"); - | ~~~~~~~~~~~~~~~ -In file included from ogmmerge.cpp:29: +p_pcm.cpp:32:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 32 | char **ncomments) throw (error_c) : q_c() { + | ^~~~~ +In file included from p_vobsub.cpp:25: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ ogminfo.c: In function 'dump_streamheader': -In file included from ogmmerge.cpp:30: -r_ogm.h:65:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 65 | char *nfourcc) throw (error_c); - | ^~~~~ ogminfo.c:114:19: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 114 | fprintf(stdout, "(%s) (%c%d/serial %d) Full stream_header dump: {" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3929,27 +3863,10 @@ vorbis_header_utils.h:11:53: note: expected 'char *' but argument is of type 'unsigned char *' 11 | int vorbis_unpack_comment(vorbis_comment *vc, char *buf, int len); | ~~~~~~^~~ -r_ac3.cpp: In member function 'virtual void ac3_reader_c::display_progress()': -r_ac3.cpp:143:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] - 143 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", - | ~~~^ - | | - | long long int - | %ld - 144 | bytes_processed, size, - | ~~~~~~~~~~~~~~~ - | | - | u_int64_t {aka long unsigned int} -r_ac3.cpp:143:38: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] - 143 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", - | ~~~^ - | | - | long long int - | %ld - 144 | bytes_processed, size, - | ~~~~ - | | - | off_t {aka long int} +In file included from p_textsubs.cpp:25: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ ogminfo.c:193:62: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 193 | fprintf(stdout, "(%s) a%d: % 7ld bytes granulepos: % 10lld pno: % 10lld ", | ~~~~~~^ @@ -3971,6 +3888,13 @@ | ~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} +In file included from p_textsubs.cpp:27: +p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 33 | char **ncomments) throw (error_c); + | ^~~~~ +p_textsubs.cpp:32:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 32 | throw (error_c) : q_c() { + | ^~~~~ ogminfo.c:223:65: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 223 | fprintf(stdout, "(%s) %c%d: % 7ld bytes granulepos: % 10lld pno: % " | ~~~~~~^ @@ -3997,12 +3921,6 @@ | ~~~~~^ | | | long long int -In file included from p_textsubs.h:21, - from subtitles.h:23, - from subtitles.cpp:22: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ ogminfo.c: In function 'process_ogm': ogminfo.c:287:49: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'long int' [-Wformat=] 287 | fprintf(stdout, "(%s) NEW PAGE pos: % 12lld, len: % 12ld, body_len: " @@ -4014,9 +3932,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int -p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 33 | char **ncomments) throw (error_c); - | ^~~~~ ogminfo.c:299:40: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 299 | if ((pack.bytes >= 7) && ! strncmp(&pack.packet[1], "vorbis", 6)) { | ^~~~~~~~~~~~~~~ @@ -4026,39 +3941,14 @@ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ -In file included from p_vobsub.cpp:25: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ ogminfo.c:325:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 325 | !strncmp(&pack.packet[1],"Direct Show Samples embedded in Ogg", | ^~~~~~~~~~~~~~~ | | | unsigned char * -In file included from r_avi.h:31, - from ogmmerge.cpp:31: -p_video.h:38:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 38 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ -In file included from queue.cpp:22: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -r_avi.h:70:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 70 | char* nav_seek) throw (error_c); - | ^~~~~ -queue.cpp:24:12: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 24 | q_c::q_c() throw (error_c) : generic_packetizer_c() { - | ^~~~~ -In file included from r_wav.h:31, - from ogmmerge.cpp:32: -p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 40 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ -ogmdemux.c: In function 'process_ogm': ogminfo.c:378:25: warning: format '%lld' expects argument of type 'long long int', but argument 11 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 378 | fprintf(stdout, "(%s) (a%d/serial %d) codec: %d (0x%04x) (%s) bits " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4073,11 +3963,390 @@ | | | long long int | %ld +ogminfo.c:468:57: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'long int' [-Wformat=] + 468 | fprintf(stdout, "(%s) %c%d: NEW PAGE pos: % 12lld, len: % 12ld, " + | ~~~~~~^ + | | + | long long int + | % 12ld + 469 | "body_len: % 12ld\n", + 470 | __FILE__, stream->stype, stream->sno, pagebytesread - pageseek, + | ~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | long int +ogminfo.c:510:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 510 | fprintf(stdout, "(%s) (%c%d/serial %d) stream size: %llu bytes (%.3f " + | ~~~^ + | | + | long long unsigned int + | %lu +...... + 513 | stream->serial, stream->size, + | ~~~~~~~~~~~~ + | | + | u_int64_t {aka long unsigned int} +ogminfo.c:510:23: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 510 | fprintf(stdout, "(%s) (%c%d/serial %d) stream size: %llu bytes (%.3f " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +...... + 516 | stream->num_packets, now); + | ~~~~~~~~~~~~~~~~~~~ + | | + | ogg_int64_t {aka long int} +ogminfo.c:511:58: note: format string is defined here + 511 | "kbit/s, %.3f KB/s), number of packets: %lld, length in " + | ~~~^ + | | + | long long int + | %ld +ogminfo.c: In function 'main': +ogminfo.c:525:3: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] + 525 | nice(2); + | ^~~~~~~ +In file included from r_ac3.cpp:25: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +In file included from r_ac3.h:26, + from r_ac3.cpp:26: +p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +r_ac3.h:39:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | char **ncomments) throw (error_c); + | ^~~~~ +r_ac3.cpp:58:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 58 | range_t *nrange, char **ncomments) throw (error_c) { + | ^~~~~ +r_ac3.cpp: In constructor 'ac3_reader_c::ac3_reader_c(char*, audio_sync_t*, range_t*, char**)': +r_ac3.cpp:64:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 64 | throw error_c("ac3_reader: Could not open source file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_ac3.cpp:66:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 66 | throw error_c("ac3_reader: Could not seek to end of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_ac3.cpp:69:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 69 | throw error_c("ac3_reader: Could not seek to beginning of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_ac3.cpp:74:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 74 | throw error_c("ac3_reader: Could not read 4096 bytes."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from r_avi.cpp:28: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +r_ac3.cpp:76:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 76 | throw error_c("ac3_reader: Could not seek to beginning of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_ac3.cpp:79:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 79 | throw error_c("ac3_reader: No valid AC3 packet found in the first " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 80 | "4096 bytes.\n"); + | ~~~~~~~~~~~~~~~ +In file included from r_avi.h:31, + from r_avi.cpp:29: +p_video.h:38:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 38 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +r_avi.h:70:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 70 | char* nav_seek) throw (error_c); + | ^~~~~ +In file included from r_avi.cpp:31: +p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 40 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +In file included from p_ac3.cpp:25: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +In file included from r_avi.cpp:32: +p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +In file included from r_avi.cpp:33: +p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +In file included from p_ac3.cpp:27: +p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +r_avi.cpp:58:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 58 | char* nav_seek) throw (error_c) { + | ^~~~~ +p_ac3.cpp:33:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 33 | char **ncomments) throw (error_c) : q_c() { + | ^~~~~ +r_ac3.cpp: In member function 'virtual void ac3_reader_c::display_progress()': +r_ac3.cpp:143:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 143 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", + | ~~~^ + | | + | long long int + | %ld + 144 | bytes_processed, size, + | ~~~~~~~~~~~~~~~ + | | + | u_int64_t {aka long unsigned int} +r_ac3.cpp:143:38: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] + 143 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", + | ~~~^ + | | + | long long int + | %ld + 144 | bytes_processed, size, + | ~~~~ + | | + | off_t {aka long int} +r_avi.cpp: In constructor 'avi_reader_c::avi_reader_c(char*, unsigned char*, unsigned char*, audio_sync_t*, range_t*, char**, char*, char*)': +r_avi.cpp:67:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 67 | throw error_c("avi_reader: fname == NULL !?"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_avi.cpp:70:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 70 | throw error_c("avi_reader: Could not open source file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogmdemux.c: In function 'process_ogm': ogmdemux.c:355:42: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 355 | if ((pack.bytes >= 7) && ! strncmp(&pack.packet[1], "vorbis", 6)) { | ^~~~~~~~~~~~~~~ | | | unsigned char * +r_avi.cpp:72:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 72 | throw error_c("avi_reader: Could not seek to end of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ogmdemux.c:15: +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +r_avi.cpp:75:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 75 | throw error_c("avi_reader: Could not seek to beginning of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_avi.cpp:77:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 77 | throw error_c("avi_reader: Source is not a valid AVI file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogmdemux.c:384:55: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] + 384 | fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, + | ~^ + | | + | int + | %ld + 385 | strlen(basename) + 20); + | ~~~~~~~~~~~~~~~~~~~~~ + | | + | size_t {aka long unsigned int} +ogmdemux.c:413:27: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 413 | !strncmp(&pack.packet[1],"Direct Show Samples embedded in " + | ^~~~~~~~~~~~~~~ + | | + | unsigned char * +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +ogmdemux.c:460:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] + 460 | fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, + | ~^ + | | + | int + | %ld + 461 | strlen(basename) + 20); + | ~~~~~~~~~~~~~~~~~~~~~ + | | + | size_t {aka long unsigned int} +ogmdemux.c:502:29: warning: format '%lld' expects argument of type 'long long int', but argument 11 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 502 | fprintf(stdout, "(%s) (a%d/%d) codec: %d (0x%04x) (%s), bits per " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +...... + 510 | get_uint64(&sth.samples_per_unit)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | u_int64_t {aka long unsigned int} +ogmdemux.c:503:71: note: format string is defined here + 503 | "sample: %d channels: %hd samples per second: %lld", + | ~~~^ + | | + | long long int + | %ld +In file included from r_srt.cpp:27: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +ogmdemux.c:526:34: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 526 | strncpy(stream->wh.riff.id, "RIFF", 4); + | ~~~~~~~~~~~~~~~^~~ + | | + | uint8_t * {aka unsigned char *} +In file included from /usr/include/features.h:523, + from /usr/include/errno.h:25, + from ogmdemux.c:11: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogmdemux.c:527:34: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 527 | strncpy(stream->wh.riff.wave_id, "WAVE", 4); + | ~~~~~~~~~~~~~~~^~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogmdemux.c:528:36: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 528 | strncpy(stream->wh.format.id, "fmt ", 4); + | ~~~~~~~~~~~~~~~~~^~~ + | | + | uint8_t * {aka unsigned char *} +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from r_srt.h:27, + from r_srt.cpp:28: +p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 33 | char **ncomments) throw (error_c); + | ^~~~~ +ogmdemux.c:542:34: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 542 | strncpy(stream->wh.data.id, "data", 4); + | ~~~~~~~~~~~~~~~^~~ + | | + | uint8_t * {aka unsigned char *} +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogmdemux.c:547:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] + 547 | fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, + | ~^ + | | + | int + | %ld + 548 | strlen(basename) + 30); + | ~~~~~~~~~~~~~~~~~~~~~ + | | + | size_t {aka long unsigned int} +r_srt.h:38:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 38 | char **ncomments) throw (error_c); + | ^~~~~ +ogmdemux.c:595:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] + 595 | fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, + | ~^ + | | + | int + | %ld + 596 | strlen(basename) + 10); + | ~~~~~~~~~~~~~~~~~~~~~ + | | + | size_t {aka long unsigned int} +ogmdemux.c: In function 'main': +ogmdemux.c:713:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 713 | xaudio = (char *)malloc(1); + | ^ +In file included from p_vorbis.cpp:27: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +ogmdemux.c:714:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 714 | xvideo = (char *)malloc(1); + | ^ +ogmdemux.c:715:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 715 | xtext = (char *)malloc(1); + | ^ +In file included from p_vorbis.cpp:28: +r_ogm.h:65:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 65 | char *nfourcc) throw (error_c); + | ^~~~~ +ogmdemux.c:755:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 755 | l = strlen(xaudio); + | ^~~~~~ + | | + | unsigned char * +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +ogmdemux.c:774:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 774 | l = strlen(xvideo); + | ^~~~~~ + | | + | unsigned char * +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +In file included from p_mp3.cpp:25: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +r_srt.cpp:65:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 65 | range_t *nrange, char **ncomments) throw (error_c) { + | ^~~~~ +In file included from p_vorbis.cpp:29: +p_vorbis.h:40:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 40 | throw (error_c); + | ^~~~~ +ogmdemux.c:793:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 793 | l = strlen(xtext); + | ^~~~~ + | | + | unsigned char * +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +r_srt.cpp: In constructor 'srt_reader_c::srt_reader_c(char*, audio_sync_t*, range_t*, char**)': +r_srt.cpp:67:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 67 | throw error_c("srt_reader: Could not open source file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +p_vorbis.cpp:33:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 33 | char **ncomments) throw (error_c) + | ^~~~~ +r_srt.cpp:69:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 69 | throw error_c("srt_reader: Source is not a valid SRT file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from p_mp3.cpp:27: +p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +In file included from r_wav.cpp:31: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +In file included from r_wav.h:31, + from r_wav.cpp:32: +p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 40 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +In file included from r_mp3.cpp:26: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +p_mp3.cpp:33:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 33 | char **ncomments) throw (error_c) : q_c() { + | ^~~~~ +In file included from p_textsubs.h:21, + from subtitles.h:23, + from subtitles.cpp:22: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +r_wav.h:44:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 44 | char **ncomments) throw (error_c); + | ^~~~~ +p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 33 | char **ncomments) throw (error_c); + | ^~~~~ +r_wav.cpp:53:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 53 | range_t *nrange, char **ncomments) throw (error_c) { + | ^~~~~ +r_wav.cpp: In constructor 'wav_reader_c::wav_reader_c(char*, audio_sync_t*, range_t*, char**)': +r_wav.cpp:59:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 59 | throw error_c("wav_reader: Could not open source file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_wav.cpp:61:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 61 | throw error_c("wav_reader: Could not seek to end of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_wav.cpp:64:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 64 | throw error_c("wav_reader: Could not seek to beginning of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_wav.cpp:66:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 66 | throw error_c("wav_reader: Source is not a valid WAVE file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_wav.cpp:68:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 68 | throw error_c("wav_reader: could not read WAVE header."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp: In member function 'int subtitles_c::check()': subtitles.cpp:78:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 78 | "the next one starts. This end: %02lld:%02lld:%02lld,%03lld" @@ -4090,9 +4359,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -r_wav.h:44:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 44 | char **ncomments) throw (error_c); - | ^~~~~ subtitles.cpp:78:61: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 78 | "the next one starts. This end: %02lld:%02lld:%02lld,%03lld" | ~~~~~^ @@ -4104,10 +4370,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -In file included from ogmdemux.c:15: -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ subtitles.cpp:78:68: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 78 | "the next one starts. This end: %02lld:%02lld:%02lld,%03lld" | ~~~~~^ @@ -4130,11 +4392,6 @@ | ~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -In file included from r_srt.h:27, - from ogmmerge.cpp:33: -p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 33 | char **ncomments) throw (error_c); - | ^~~~~ subtitles.cpp:79:37: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 79 | " next start: %02lld:%02lld:%02lld,%03lld (\"%s\"...)\n", | ~~~~~^ @@ -4168,9 +4425,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -r_srt.h:38:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 38 | char **ncomments) throw (error_c); - | ^~~~~ subtitles.cpp:79:58: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 79 | " next start: %02lld:%02lld:%02lld,%03lld (\"%s\"...)\n", | ~~~~~^ @@ -4182,32 +4436,13 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -ogmdemux.c:384:55: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] - 384 | fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, - | ~^ - | | - | int - | %ld - 385 | strlen(basename) + 20); - | ~~~~~~~~~~~~~~~~~~~~~ - | | - | size_t {aka long unsigned int} -ogminfo.c:468:57: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'long int' [-Wformat=] - 468 | fprintf(stdout, "(%s) %c%d: NEW PAGE pos: % 12lld, len: % 12ld, " - | ~~~~~~^ - | | - | long long int - | % 12ld - 469 | "body_len: % 12ld\n", - 470 | __FILE__, stream->stype, stream->sno, pagebytesread - pageseek, - | ~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | long int -In file included from r_mp3.h:31, - from ogmmerge.cpp:34: -p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 43 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ +ogmdemux.c: In function 'process_ogm': +ogmdemux.c:566:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 566 | write(stream->fd, &stream->wh, sizeof(stream->wh)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogmdemux.c:688:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 688 | write(stream->fd, &stream->wh, sizeof(stream->wh)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:109:23: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 109 | "%02lld:%02lld:%02lld,%03lld this end: %02lld:%02lld:" | ~~~~~^ @@ -4219,29 +4454,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -ogmdemux.c:413:27: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 413 | !strncmp(&pack.packet[1],"Direct Show Samples embedded in " - | ^~~~~~~~~~~~~~~ - | | - | unsigned char * -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -In file included from r_mp3.cpp:26: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -ogminfo.c:510:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] - 510 | fprintf(stdout, "(%s) (%c%d/serial %d) stream size: %llu bytes (%.3f " - | ~~~^ - | | - | long long unsigned int - | %lu -...... - 513 | stream->serial, stream->size, - | ~~~~~~~~~~~~ - | | - | u_int64_t {aka long unsigned int} subtitles.cpp:109:30: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 109 | "%02lld:%02lld:%02lld,%03lld this end: %02lld:%02lld:" | ~~~~~^ @@ -4264,23 +4476,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -r_mp3.h:43:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 43 | char **ncomments) throw (error_c); - | ^~~~~ -ogminfo.c:510:23: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 510 | fprintf(stdout, "(%s) (%c%d/serial %d) stream size: %llu bytes (%.3f " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -...... - 516 | stream->num_packets, now); - | ~~~~~~~~~~~~~~~~~~~ - | | - | ogg_int64_t {aka long int} -ogminfo.c:511:58: note: format string is defined here - 511 | "kbit/s, %.3f KB/s), number of packets: %lld, length in " - | ~~~^ - | | - | long long int - | %ld subtitles.cpp:109:44: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 109 | "%02lld:%02lld:%02lld,%03lld this end: %02lld:%02lld:" | ~~~~~^ @@ -4336,21 +4531,135 @@ | ~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} +In file included from queue.cpp:22: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +queue.cpp:24:12: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 24 | q_c::q_c() throw (error_c) : generic_packetizer_c() { + | ^~~~~ +p_vorbis.cpp: In member function 'virtual int vorbis_packetizer_c::encode_silence(int)': +p_vorbis.cpp:94:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 94 | write(fd, log.header, log.header_len); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +p_vorbis.cpp:95:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 95 | write(fd, log.body, log.body_len); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +p_vorbis.cpp:115:16: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 115 | write(fd, log.header, log.header_len); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +p_vorbis.cpp:116:16: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 116 | write(fd, log.body, log.body_len); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogmdemux.c: In function 'main': +ogmdemux.c:711:3: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] + 711 | nice(2); + | ^~~~~~~ +p_mp3.cpp: In member function 'virtual int mp3_packetizer_c::process(char*, int, int)': +p_mp3.cpp:236:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 236 | "packet number %lld)\n", packetno - 2); + | ~~~^ ~~~~~~~~~~~~ + | | | + | long long int u_int64_t {aka long unsigned int} + | %ld +In file included from ogmmerge.cpp:29: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +In file included from ogmmerge.cpp:30: +r_ogm.h:65:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 65 | char *nfourcc) throw (error_c); + | ^~~~~ +In file included from r_mp3.h:31, + from r_mp3.cpp:27: +p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +r_mp3.h:43:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | char **ncomments) throw (error_c); + | ^~~~~ +r_mp3.cpp:63:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 63 | range_t *nrange, char **ncomments) throw (error_c) { + | ^~~~~ +r_mp3.cpp: In constructor 'mp3_reader_c::mp3_reader_c(char*, audio_sync_t*, range_t*, char**)': +r_mp3.cpp:70:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 70 | throw error_c("mp3_reader: Could not open source file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_mp3.cpp:72:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 72 | throw error_c("mp3_reader: Could not seek to end of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_mp3.cpp:75:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 75 | throw error_c("mp3_reader: Could not seek to beginning of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_mp3.cpp:80:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 80 | throw error_c("mp3_reader: Could not read 4096 bytes."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_mp3.cpp:82:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 82 | throw error_c("mp3_reader: Could not seek to beginning of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_mp3.cpp:85:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 85 | throw error_c("mp3_reader: No valid MP3 packet found in the first " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 86 | "4096 bytes.\n"); + | ~~~~~~~~~~~~~~~ +In file included from r_avi.h:31, + from ogmmerge.cpp:31: +p_video.h:38:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 38 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +r_mp3.cpp: In member function 'virtual void mp3_reader_c::display_progress()': +r_mp3.cpp:152:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 152 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", + | ~~~^ + | | + | long long int + | %ld + 153 | bytes_processed, size, + | ~~~~~~~~~~~~~~~ + | | + | u_int64_t {aka long unsigned int} +r_mp3.cpp:152:38: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] + 152 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", + | ~~~^ + | | + | long long int + | %ld + 153 | bytes_processed, size, + | ~~~~ + | | + | off_t {aka long int} +r_avi.h:70:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 70 | char* nav_seek) throw (error_c); + | ^~~~~ +In file included from r_wav.h:31, + from ogmmerge.cpp:32: +p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 40 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +r_wav.h:44:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 44 | char **ncomments) throw (error_c); + | ^~~~~ +In file included from r_srt.h:27, + from ogmmerge.cpp:33: +p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 33 | char **ncomments) throw (error_c); + | ^~~~~ +r_srt.h:38:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 38 | char **ncomments) throw (error_c); + | ^~~~~ +In file included from r_mp3.h:31, + from ogmmerge.cpp:34: +p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +r_mp3.h:43:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | char **ncomments) throw (error_c); + | ^~~~~ In file included from r_ac3.h:26, from ogmmerge.cpp:35: p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ -ogmdemux.c:460:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] - 460 | fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, - | ~^ - | | - | int - | %ld - 461 | strlen(basename) + 20); - | ~~~~~~~~~~~~~~~~~~~~~ - | | - | size_t {aka long unsigned int} r_ac3.h:39:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | char **ncomments) throw (error_c); | ^~~~~ @@ -4358,23 +4667,9 @@ r_microdvd.h:38:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 38 | char **ncomments) throw (error_c); | ^~~~~ -ogmdemux.c:502:29: warning: format '%lld' expects argument of type 'long long int', but argument 11 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] - 502 | fprintf(stdout, "(%s) (a%d/%d) codec: %d (0x%04x) (%s), bits per " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -...... - 510 | get_uint64(&sth.samples_per_unit)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | u_int64_t {aka long unsigned int} ogmmerge.cpp:85:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | {{"---", TYPEUNKNOWN, ""}, | ^~~~~ -ogmdemux.c:503:71: note: format string is defined here - 503 | "sample: %d channels: %hd samples per second: %lld", - | ~~~^ - | | - | long long int - | %ld ogmmerge.cpp:85:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | {{"---", TYPEUNKNOWN, ""}, | ^~~~~~~~~~~ @@ -4405,23 +4700,12 @@ ogmmerge.cpp:90:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | {"srt", TYPEWAV, "SRT text subtitles"}, | ^~~~~ -ogmdemux.c:526:34: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 526 | strncpy(stream->wh.riff.id, "RIFF", 4); - | ~~~~~~~~~~~~~~~^~~ - | | - | uint8_t * {aka unsigned char *} ogmmerge.cpp:90:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | {"srt", TYPEWAV, "SRT text subtitles"}, | ^~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:91:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | {" ", TYPEMICRODVD, "MicroDVD text subtitles"}, | ^~~~~ -In file included from /usr/include/features.h:523, - from /usr/include/errno.h:25, - from ogmdemux.c:11: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:91:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | {" ", TYPEMICRODVD, "MicroDVD text subtitles"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4434,17 +4718,9 @@ ogmmerge.cpp:96:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | {"ac3", TYPEAC3, "A/52 (aka AC3)"}, | ^~~~~ -ogmdemux.c:527:34: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 527 | strncpy(stream->wh.riff.wave_id, "WAVE", 4); - | ~~~~~~~~~~~~~~~^~~~~~~~ - | | - | uint8_t * {aka unsigned char *} ogmmerge.cpp:96:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | {"ac3", TYPEAC3, "A/52 (aka AC3)"}, | ^~~~~~~~~~~~~~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:97:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 97 | {"output modules:", -1, ""}, | ^~~~~~~~~~~~~~~~~ @@ -4457,17 +4733,9 @@ ogmmerge.cpp:98:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 98 | {" ", -1, "Vorbis audio"}, | ^~~~~~~~~~~~~~ -ogmdemux.c:528:36: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 528 | strncpy(stream->wh.format.id, "fmt ", 4); - | ~~~~~~~~~~~~~~~~~^~~ - | | - | uint8_t * {aka unsigned char *} ogmmerge.cpp:99:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | {" ", -1, "Video (not MPEG1/2)"}, | ^~~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:99:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | {" ", -1, "Video (not MPEG1/2)"}, | ^~~~~~~~~~~~~~~~~~~~~ @@ -4495,49 +4763,108 @@ ogmmerge.cpp:106:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | {" ", -1, "AC3 audio"}, | ^~~~~~~~~~~ -ogmdemux.c:542:34: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 542 | strncpy(stream->wh.data.id, "data", 4); - | ~~~~~~~~~~~~~~~^~~ - | | - | uint8_t * {aka unsigned char *} -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ogmdemux.c:547:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] - 547 | fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, - | ~^ - | | - | int - | %ld - 548 | strlen(basename) + 30); - | ~~~~~~~~~~~~~~~~~~~~~ - | | - | size_t {aka long unsigned int} -ogmdemux.c:595:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] - 595 | fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, - | ~^ - | | - | int - | %ld - 596 | strlen(basename) + 10); - | ~~~~~~~~~~~~~~~~~~~~~ - | | - | size_t {aka long unsigned int} +In file included from ogmcat.cpp:27: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +ogmcat.cpp: In function 'void print_progress(ogg_int64_t, ogg_int64_t, char*)': +ogmcat.cpp:162:39: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 162 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, + | ~~~^ + | | + | long long int + | %ld + 163 | current, num, current * 100 / num); + | ~~~~~~~ + | | + | ogg_int64_t {aka long int} +ogmcat.cpp:162:44: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 162 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, + | ~~~^ + | | + | long long int + | %ld + 163 | current, num, current * 100 / num); + | ~~~ + | | + | ogg_int64_t {aka long int} +ogmcat.cpp:162:50: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 162 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, + | ~~~^ + | | + | long long int + | %ld + 163 | current, num, current * 100 / num); + | ~~~~~~~~~~~~~~~~~~~ + | | + | ogg_int64_t {aka long int} +ogmcat.cpp:165:39: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 165 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, + | ~~~^ + | | + | long long int + | %ld + 166 | current, num, current * 100 / num); + | ~~~~~~~ + | | + | ogg_int64_t {aka long int} +ogmcat.cpp:165:44: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 165 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, + | ~~~^ + | | + | long long int + | %ld + 166 | current, num, current * 100 / num); + | ~~~ + | | + | ogg_int64_t {aka long int} +ogmcat.cpp:165:50: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 165 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, + | ~~~^ + | | + | long long int + | %ld + 166 | current, num, current * 100 / num); + | ~~~~~~~~~~~~~~~~~~~ + | | + | ogg_int64_t {aka long int} In file included from ogmsplit.cpp:28: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ -ogmdemux.c: In function 'main': -ogmdemux.c:713:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 713 | xaudio = (char *)malloc(1); - | ^ -ogmdemux.c:714:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 714 | xvideo = (char *)malloc(1); - | ^ -ogmdemux.c:715:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 715 | xtext = (char *)malloc(1); - | ^ -ogminfo.c: In function 'main': +ogmmerge.cpp: In function 'int main(int, char**)': +ogmmerge.cpp:973:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 973 | if ((result = write_ogg_page(mpage, "header ", file)) != 0) + | ^~~~~~~~~ +ogmcat.cpp: In function 'void check_all_sources()': +ogmcat.cpp:636:68: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 636 | " serial %d, type audio, samples per second %lld != " + | ~~~^ + | | + | long long int + | %ld + 637 | "%lld\n", __FILE__, sources->name, src->name, str->serial, + 638 | get_uint64(&str->sth.samples_per_unit), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | u_int64_t {aka long unsigned int} +ogmcat.cpp:637:25: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 637 | "%lld\n", __FILE__, sources->name, src->name, str->serial, + | ~~~^ + | | + | long long int + | %ld + 638 | get_uint64(&str->sth.samples_per_unit), + 639 | get_uint64(&stream->sth.samples_per_unit)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | u_int64_t {aka long unsigned int} +ogmmerge.cpp:1009:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1009 | if ((result = write_ogg_page(mpage, "comment ", file)) != 0) + | ^~~~~~~~~~ +ogmmerge.cpp:1071:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1071 | if ((result = write_ogg_page(mpage, "", winner)) != 0) + | ^~ ogmsplit.cpp: In function 'void print_progress(ogg_int64_t, ogg_int64_t, char*)': ogmsplit.cpp:192:39: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 192 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, @@ -4549,9 +4876,17 @@ | ~~~~~~~ | | | ogg_int64_t {aka long int} -ogminfo.c:525:3: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] - 525 | nice(2); - | ^~~~~~~ +ogmcat.cpp:671:58: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 671 | " serial %d, type text, time unit %lld != %lld\n", + | ~~~^ + | | + | long long int + | %ld + 672 | __FILE__, sources->name, src->name, str->serial, + 673 | get_uint64(&str->sth.time_unit), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | u_int64_t {aka long unsigned int} ogmsplit.cpp:192:44: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 192 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, | ~~~^ @@ -4562,6 +4897,17 @@ | ~~~ | | | ogg_int64_t {aka long int} +ogmcat.cpp:671:66: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 671 | " serial %d, type text, time unit %lld != %lld\n", + | ~~~^ + | | + | long long int + | %ld +...... + 674 | get_uint64(&stream->sth.time_unit)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | u_int64_t {aka long unsigned int} ogmsplit.cpp:192:50: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 192 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, | ~~~^ @@ -4572,6 +4918,9 @@ | ~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} +ogmmerge.cpp:930:13: warning: variable 'page' set but not used [-Wunused-but-set-variable] + 930 | ogg_page *page; + | ^~~~ ogmsplit.cpp:195:39: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 195 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, | ~~~^ @@ -4592,11 +4941,6 @@ | ~~~ | | | ogg_int64_t {aka long int} -ogmdemux.c:755:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 755 | l = strlen(xaudio); - | ^~~~~~ - | | - | unsigned char * ogmsplit.cpp:195:50: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 195 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, | ~~~^ @@ -4607,40 +4951,47 @@ | ~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -ogmdemux.c:774:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 774 | l = strlen(xvideo); - | ^~~~~~ - | | - | unsigned char * -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -ogmdemux.c:793:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 793 | l = strlen(xtext); - | ^~~~~ - | | - | unsigned char * -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -In file included from p_vorbis.cpp:27: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -In file included from p_vorbis.cpp:28: -r_ogm.h:65:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 65 | char *nfourcc) throw (error_c); - | ^~~~~ -In file included from p_vorbis.cpp:29: -p_vorbis.h:40:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 40 | throw (error_c); - | ^~~~~ -p_vorbis.cpp:33:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 33 | char **ncomments) throw (error_c) - | ^~~~~ +ogmmerge.cpp:935:7: warning: ignoring return value of 'int nice(int)' declared with attribute 'warn_unused_result' [-Wunused-result] + 935 | nice(2); + | ~~~~^~~ +ogmcat.cpp: In function 'void process_ogms()': +ogmcat.cpp:815:52: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 815 | fprintf(stdout, "len: %d at pno %lld p0 %d\n", lenbytes, + | ~~~^ + | | + | long long int + | %ld + 816 | stream->packetno, (int)pack.packet[0]); + | ~~~~~~~~~~~~~~~~ + | | + | ogg_int64_t {aka long int} +ogmcat.cpp:865:70: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 865 | fprintf(stdout, "Stream %d, type %s, current granulepos %lld", + | ~~~^ + | | + | long long int + | %ld +...... + 871 | stream->this_granulepos); + | ~~~~~~~~~~~~~~~~~~~~~~~ + | | + | ogg_int64_t {aka long int} +ogmcat.cpp:873:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 873 | fprintf(stdout, ", granulepos offset %lld (including manual sync " + | ~~~^ + | | + | long long int + | %ld + 874 | "%lld)", stream->granuleposadd, manual_sync_granule); + | ~~~~~~~~~~~~~~~~~~~~~ + | | + | ogg_int64_t {aka long int} +ogmcat.cpp:874:25: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 874 | "%lld)", stream->granuleposadd, manual_sync_granule); + | ~~~^ ~~~~~~~~~~~~~~~~~~~ + | | | + | long long int ogg_int64_t {aka long int} + | %ld ogmsplit.cpp: In function 'void process_ogm(int)': ogmsplit.cpp:675:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | print_progress(0, file_size, "bytes"); @@ -4648,13 +4999,6 @@ ogmsplit.cpp:677:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 677 | print_progress(0, vstream->num_frames, "frame"); | ^~~~~~~ -ogmdemux.c: In function 'process_ogm': -ogmdemux.c:566:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 566 | write(stream->fd, &stream->wh, sizeof(stream->wh)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ogmdemux.c:688:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 688 | write(stream->fd, &stream->wh, sizeof(stream->wh)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmsplit.cpp:752:66: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 752 | fprintf(stdout, "(%s) Split point: %d, frameno: %lld, " | ~~~^ @@ -4677,10 +5021,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -ogmmerge.cpp: In function 'int main(int, char**)': -ogmmerge.cpp:973:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 973 | if ((result = write_ogg_page(mpage, "header ", file)) != 0) - | ^~~~~~~~~ ogmsplit.cpp:792:69: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 792 | fprintf(stdout, "\n(%s) Closing file after writing %lld bytes " | ~~~^ @@ -4703,18 +5043,9 @@ | ~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -ogmmerge.cpp:1009:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1009 | if ((result = write_ogg_page(mpage, "comment ", file)) != 0) - | ^~~~~~~~~~ -ogmmerge.cpp:1071:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1071 | if ((result = write_ogg_page(mpage, "", winner)) != 0) - | ^~ ogmsplit.cpp:847:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 847 | print_progress(stream->cur_frame, stream->num_frames, "frame"); | ^~~~~~~ -ogmmerge.cpp:930:13: warning: variable 'page' set but not used [-Wunused-but-set-variable] - 930 | ogg_page *page; - | ^~~~ ogmsplit.cpp:882:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 882 | print_progress(bread, file_size, "bytes"); | ^~~~~~~ @@ -4740,73 +5071,12 @@ | ~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -ogmmerge.cpp:935:7: warning: ignoring return value of 'int nice(int)' declared with attribute 'warn_unused_result' [-Wunused-result] - 935 | nice(2); - | ~~~~^~~ ogmsplit.cpp:920:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 920 | print_progress(vstream->cur_frame, vstream->num_frames, "frame"); | ^~~~~~~ -In file included from r_mp3.h:31, - from r_mp3.cpp:27: -p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 43 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ ogmsplit.cpp:924:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 924 | print_progress(file_size, file_size, "bytes"); | ^~~~~~~ -r_mp3.h:43:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 43 | char **ncomments) throw (error_c); - | ^~~~~ -ogmdemux.c: In function 'main': -ogmdemux.c:711:3: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] - 711 | nice(2); - | ^~~~~~~ -r_mp3.cpp:63:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 63 | range_t *nrange, char **ncomments) throw (error_c) { - | ^~~~~ -r_mp3.cpp: In constructor 'mp3_reader_c::mp3_reader_c(char*, audio_sync_t*, range_t*, char**)': -r_mp3.cpp:70:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 70 | throw error_c("mp3_reader: Could not open source file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_mp3.cpp:72:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 72 | throw error_c("mp3_reader: Could not seek to end of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_mp3.cpp:75:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 75 | throw error_c("mp3_reader: Could not seek to beginning of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_mp3.cpp:80:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 80 | throw error_c("mp3_reader: Could not read 4096 bytes."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_mp3.cpp:82:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 82 | throw error_c("mp3_reader: Could not seek to beginning of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_mp3.cpp:85:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 85 | throw error_c("mp3_reader: No valid MP3 packet found in the first " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 86 | "4096 bytes.\n"); - | ~~~~~~~~~~~~~~~ -p_vorbis.cpp: In member function 'virtual int vorbis_packetizer_c::encode_silence(int)': -p_vorbis.cpp:94:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 94 | write(fd, log.header, log.header_len); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -p_vorbis.cpp:95:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 95 | write(fd, log.body, log.body_len); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -p_vorbis.cpp:115:16: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 115 | write(fd, log.header, log.header_len); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -p_vorbis.cpp:116:16: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 116 | write(fd, log.body, log.body_len); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from r_avi.cpp:28: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -In file included from r_avi.h:31, - from r_avi.cpp:29: -p_video.h:38:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 38 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ ogmsplit.cpp: In function 'int main(int, char**)': ogmsplit.cpp:1141:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1141 | fout_ext = "ogm"; @@ -4818,243 +5088,9 @@ | | ogg_int64_t {aka long int} | long long int | %ld -r_mp3.cpp: In member function 'virtual void mp3_reader_c::display_progress()': -r_mp3.cpp:152:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] - 152 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", - | ~~~^ - | | - | long long int - | %ld - 153 | bytes_processed, size, - | ~~~~~~~~~~~~~~~ - | | - | u_int64_t {aka long unsigned int} -r_avi.h:70:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 70 | char* nav_seek) throw (error_c); - | ^~~~~ -r_mp3.cpp:152:38: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] - 152 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", - | ~~~^ - | | - | long long int - | %ld - 153 | bytes_processed, size, - | ~~~~ - | | - | off_t {aka long int} -In file included from r_avi.cpp:31: -p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 40 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ -In file included from r_avi.cpp:32: -p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 43 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ -In file included from r_avi.cpp:33: -p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 43 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ -r_avi.cpp:58:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 58 | char* nav_seek) throw (error_c) { - | ^~~~~ -r_avi.cpp: In constructor 'avi_reader_c::avi_reader_c(char*, unsigned char*, unsigned char*, audio_sync_t*, range_t*, char**, char*, char*)': -r_avi.cpp:67:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 67 | throw error_c("avi_reader: fname == NULL !?"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_avi.cpp:70:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 70 | throw error_c("avi_reader: Could not open source file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_avi.cpp:72:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 72 | throw error_c("avi_reader: Could not seek to end of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_avi.cpp:75:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 75 | throw error_c("avi_reader: Could not seek to beginning of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from r_wav.cpp:31: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -r_avi.cpp:77:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 77 | throw error_c("avi_reader: Source is not a valid AVI file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from r_wav.h:31, - from r_wav.cpp:32: -p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 40 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ -r_wav.h:44:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 44 | char **ncomments) throw (error_c); - | ^~~~~ -r_wav.cpp:53:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 53 | range_t *nrange, char **ncomments) throw (error_c) { - | ^~~~~ -r_wav.cpp: In constructor 'wav_reader_c::wav_reader_c(char*, audio_sync_t*, range_t*, char**)': -r_wav.cpp:59:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 59 | throw error_c("wav_reader: Could not open source file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_wav.cpp:61:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 61 | throw error_c("wav_reader: Could not seek to end of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_wav.cpp:64:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 64 | throw error_c("wav_reader: Could not seek to beginning of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_wav.cpp:66:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 66 | throw error_c("wav_reader: Source is not a valid WAVE file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_wav.cpp:68:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 68 | throw error_c("wav_reader: could not read WAVE header."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmsplit.cpp:935:7: warning: ignoring return value of 'int nice(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 935 | nice(2); | ~~~~^~~ -In file included from ogmcat.cpp:27: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -ogmcat.cpp: In function 'void print_progress(ogg_int64_t, ogg_int64_t, char*)': -ogmcat.cpp:162:39: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 162 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, - | ~~~^ - | | - | long long int - | %ld - 163 | current, num, current * 100 / num); - | ~~~~~~~ - | | - | ogg_int64_t {aka long int} -ogmcat.cpp:162:44: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 162 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, - | ~~~^ - | | - | long long int - | %ld - 163 | current, num, current * 100 / num); - | ~~~ - | | - | ogg_int64_t {aka long int} -ogmcat.cpp:162:50: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 162 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, - | ~~~^ - | | - | long long int - | %ld - 163 | current, num, current * 100 / num); - | ~~~~~~~~~~~~~~~~~~~ - | | - | ogg_int64_t {aka long int} -ogmcat.cpp:165:39: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 165 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, - | ~~~^ - | | - | long long int - | %ld - 166 | current, num, current * 100 / num); - | ~~~~~~~ - | | - | ogg_int64_t {aka long int} -ogmcat.cpp:165:44: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 165 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, - | ~~~^ - | | - | long long int - | %ld - 166 | current, num, current * 100 / num); - | ~~~ - | | - | ogg_int64_t {aka long int} -ogmcat.cpp:165:50: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 165 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, - | ~~~^ - | | - | long long int - | %ld - 166 | current, num, current * 100 / num); - | ~~~~~~~~~~~~~~~~~~~ - | | - | ogg_int64_t {aka long int} -ogmcat.cpp: In function 'void check_all_sources()': -ogmcat.cpp:636:68: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] - 636 | " serial %d, type audio, samples per second %lld != " - | ~~~^ - | | - | long long int - | %ld - 637 | "%lld\n", __FILE__, sources->name, src->name, str->serial, - 638 | get_uint64(&str->sth.samples_per_unit), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | u_int64_t {aka long unsigned int} -ogmcat.cpp:637:25: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] - 637 | "%lld\n", __FILE__, sources->name, src->name, str->serial, - | ~~~^ - | | - | long long int - | %ld - 638 | get_uint64(&str->sth.samples_per_unit), - 639 | get_uint64(&stream->sth.samples_per_unit)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | u_int64_t {aka long unsigned int} -ogmcat.cpp:671:58: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] - 671 | " serial %d, type text, time unit %lld != %lld\n", - | ~~~^ - | | - | long long int - | %ld - 672 | __FILE__, sources->name, src->name, str->serial, - 673 | get_uint64(&str->sth.time_unit), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | u_int64_t {aka long unsigned int} -ogmcat.cpp:671:66: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] - 671 | " serial %d, type text, time unit %lld != %lld\n", - | ~~~^ - | | - | long long int - | %ld -...... - 674 | get_uint64(&stream->sth.time_unit)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | u_int64_t {aka long unsigned int} -ogmcat.cpp: In function 'void process_ogms()': -ogmcat.cpp:815:52: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 815 | fprintf(stdout, "len: %d at pno %lld p0 %d\n", lenbytes, - | ~~~^ - | | - | long long int - | %ld - 816 | stream->packetno, (int)pack.packet[0]); - | ~~~~~~~~~~~~~~~~ - | | - | ogg_int64_t {aka long int} -ogmcat.cpp:865:70: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 865 | fprintf(stdout, "Stream %d, type %s, current granulepos %lld", - | ~~~^ - | | - | long long int - | %ld -...... - 871 | stream->this_granulepos); - | ~~~~~~~~~~~~~~~~~~~~~~~ - | | - | ogg_int64_t {aka long int} -ogmcat.cpp:873:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 873 | fprintf(stdout, ", granulepos offset %lld (including manual sync " - | ~~~^ - | | - | long long int - | %ld - 874 | "%lld)", stream->granuleposadd, manual_sync_granule); - | ~~~~~~~~~~~~~~~~~~~~~ - | | - | ogg_int64_t {aka long int} -ogmcat.cpp:874:25: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 874 | "%lld)", stream->granuleposadd, manual_sync_granule); - | ~~~^ ~~~~~~~~~~~~~~~~~~~ - | | | - | long long int ogg_int64_t {aka long int} - | %ld r_ogm.cpp: In member function 'virtual void ogm_reader_c::process_page(ogg_page*)': r_ogm.cpp:651:22: warning: 'lenbytes' may be used uninitialized [-Wmaybe-uninitialized] 650 | ((textsubs_packetizer_c *)dmx->packetizer)-> @@ -5066,6 +5102,13 @@ r_ogm.cpp:539:18: note: 'lenbytes' was declared here 539 | long lenbytes; | ^~~~~~~~ +r_avi.cpp: In member function 'virtual int avi_reader_c::read()': +r_avi.cpp:400:7: warning: 'nread' may be used uninitialized [-Wmaybe-uninitialized] + 400 | if (nread > 0) { + | ^~ +r_avi.cpp:339:7: note: 'nread' was declared here + 339 | int nread, key, last_frame; + | ^~~~~ generic.cpp: In function 'vorbis_comment* chapter_information_adjust(vorbis_comment*, double, double)': generic.cpp:231:58: warning: '%03d' directive writing between 3 and 4 bytes into a region of size between 0 and 5 [-Wformat-overflow=] 231 | sprintf(new_chapter, "CHAPTER%02d=%02d:%02d:%02d.%03d", chapter, @@ -5085,13 +5128,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -r_avi.cpp: In member function 'virtual int avi_reader_c::read()': -r_avi.cpp:400:7: warning: 'nread' may be used uninitialized [-Wmaybe-uninitialized] - 400 | if (nread > 0) { - | ^~ -r_avi.cpp:339:7: note: 'nread' was declared here - 339 | int nread, key, last_frame; - | ^~~~~ +gcc -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ogmtools-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o dvdxchap dvdxchap.o -L/usr/lib -ldvdread -lm ogmdemux.c: In function 'process_ogm': ogmdemux.c:526:11: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 526 | strncpy(stream->wh.riff.id, "RIFF", 4); @@ -5105,7 +5142,7 @@ ogmdemux.c:542:11: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 542 | strncpy(stream->wh.data.id, "data", 4); | ^ -gcc -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ogmtools-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o dvdxchap dvdxchap.o -L/usr/lib -ldvdread -lm +gcc -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ogmtools-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o ogminfo ogminfo.o vorbis_header_utils.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm ogmdemux.c:566:15: warning: 'write' reading 44 bytes from a region of size 4 [-Wstringop-overread] 566 | write(stream->fd, &stream->wh, sizeof(stream->wh)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5117,7 +5154,6 @@ /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ -gcc -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ogmtools-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o ogminfo ogminfo.o vorbis_header_utils.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm ogmcat.cpp:846:58: warning: 'vtime2' may be used uninitialized [-Wmaybe-uninitialized] 846 | stream->granuleposadd = (ogg_int64_t)(vtime2 * stream->sample_rate | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ @@ -5137,13 +5173,13 @@ 700 | double vtime2, vtime3, vtime4; | ^~~~~~ g++ -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/reproducible-path/ogmtools-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o ogmmerge ogmmerge.o r_avi.o r_ogm.o r_ac3.o r_mp3.o r_wav.o r_microdvd.o r_srt.o r_vobsub.o p_video.o p_index.o p_ac3.o p_mp3.o p_pcm.o p_vorbis.o p_textsubs.o p_vobsub.o ac3_common.o mp3_common.o subtitles.o queue.o vorbis_header_utils.o generic.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm -lvorbisenc -Lavilib -lavi -gcc -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ogmtools-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o ogmdemux ogmdemux.o vorbis_header_utils.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm -Lavilib -lavi g++ -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/reproducible-path/ogmtools-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o ogmcat ogmcat.o queue.o generic.o vorbis_header_utils.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm +gcc -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ogmtools-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o ogmdemux ogmdemux.o vorbis_header_utils.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm -Lavilib -lavi g++ -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/reproducible-path/ogmtools-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o ogmsplit ogmsplit.o queue.o generic.o vorbis_header_utils.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm make[2]: Leaving directory '/build/reproducible-path/ogmtools-1.5' make[1]: Leaving directory '/build/reproducible-path/ogmtools-1.5' dh_auto_test - make -j40 check "TESTSUITEFLAGS=-j40 --verbose" VERBOSE=1 + make -j42 check "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/ogmtools-1.5' Making check in avilib make[2]: Entering directory '/build/reproducible-path/ogmtools-1.5/avilib' @@ -5157,7 +5193,7 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/ogmtools/ - make -j40 install DESTDIR=/build/reproducible-path/ogmtools-1.5/debian/ogmtools AM_UPDATE_INFO_DIR=no + make -j42 install DESTDIR=/build/reproducible-path/ogmtools-1.5/debian/ogmtools AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/ogmtools-1.5' Making install in avilib make[2]: Entering directory '/build/reproducible-path/ogmtools-1.5/avilib' @@ -5201,12 +5237,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1199006/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1199006/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/348817 and its subdirectories -I: Current time: Sun Sep 7 10:10:29 -12 2025 -I: pbuilder-time-stamp: 1757283029 +I: removing directory /srv/workspace/pbuilder/1199006 and its subdirectories +I: Current time: Sun Oct 11 18:35:32 +14 2026 +I: pbuilder-time-stamp: 1791693332