Diff of the two buildlogs: -- --- b1/build.log 2025-10-01 18:10:28.502786482 +0000 +++ b2/build.log 2025-10-01 18:15:00.351097599 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Oct 1 06:08:23 -12 2025 -I: pbuilder-time-stamp: 1759342103 +I: Current time: Wed Nov 4 14:33:29 +14 2026 +I: pbuilder-time-stamp: 1793752409 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/3708124/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3107467/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 Nov 4 00: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/3107467/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3107467/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='a3e132f1063b4d74af60cf557d4964c8' - 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='3708124' - PS1='# ' - PS2='> ' + INVOCATION_ID=110288dc4b7f45d4812355c684df056f + 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=3107467 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.fRgQVV6f/pbuilderrc_Om0v --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.fRgQVV6f/b1 --logfile b1/build.log ogmtools_1.5-7.dsc' - SUDO_GID='111' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='106' - 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.fRgQVV6f/pbuilderrc_koai --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.fRgQVV6f/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 ionos11-amd64 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) 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/3708124/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3107467/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 7s (1833 kB/s) +Fetched 12.2 MB in 10s (1209 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 ... 19856 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/3107467/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3107467/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' @@ -466,6 +502,7 @@ | long long unsigned int | %016lx avilib.c: In function 'avi_ixnn_entry': +avidump.c: In function 'ProcessChunk': 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 | ~~~~^~~ @@ -474,17 +511,13 @@ avilib.c:245:5: note: in expansion of macro 'OUTD' 245 | OUTD(ch->nEntriesInUse); | ^~~~ -avidump.c: In function 'ProcessChunk': -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:595:49: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] 595 | dump_vals(fd,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds); | ^ avidump.c:595:49: note: add parentheses around the second 'sizeof' to silence this warning -avidump.c:209:12: note: array 'names_strf_auds' declared here - 209 | struct VAL names_strf_auds[] = { - | ^~~~~~~~~~~~~~~ +avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' + 115 | static void long2str(unsigned char *dst, int32_t n) + | ~~~~~~~~~~~~~~~^~~ 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 | ~~~~^~~ @@ -493,13 +526,12 @@ avilib.c:247:5: note: in expansion of macro 'OUTD' 247 | OUTD(ch->qwBaseOffset&0xffffffff); | ^~~~ +avidump.c:209:12: note: array 'names_strf_auds' declared here + 209 | struct VAL names_strf_auds[] = { + | ^~~~~~~~~~~~~~~ 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:604:45: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] - 604 | dump_vals(fd,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds); - | ^ -avidump.c:604:45: 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 | ~~~~^~~ @@ -508,15 +540,13 @@ avilib.c:248:5: note: in expansion of macro 'OUTD' 248 | OUTD((ch->qwBaseOffset>>32)&0xffffffff); | ^~~~ +avidump.c:604:45: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] + 604 | dump_vals(fd,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds); + | ^ 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: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:604:45: 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 | ~~~~^~~ @@ -525,13 +555,12 @@ avilib.c:249:5: note: in expansion of macro 'OUTD' 249 | OUTD(ch->dwReserved3); | ^~~~ -avidump.c:608:50: 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:237:12: note: array 'names_indx' declared here - 237 | struct VAL names_indx[] = { - | ^~~~~~~~~~ +avidump.c:209:12: note: array 'names_strf_auds' declared here + 209 | struct VAL names_strf_auds[] = { + | ^~~~~~~~~~~~~~~ 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 | ~~~~^~~ @@ -543,10 +572,10 @@ 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 +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 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 | ~~~~^~~ @@ -555,9 +584,6 @@ avilib.c:253:9: note: in expansion of macro 'OUTD' 253 | OUTD(ch->aIndex[k].dwSize); | ^~~~ -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) | ~~~~~~~~~~~~~~~^~~ @@ -566,51 +592,58 @@ | ~~^~~~~ | | | char * +avidump.c:237:12: note: array 'names_indx' declared here + 237 | struct VAL names_indx[] = { + | ^~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~^~~ -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:256:34: warning: pointer targets in passing argument 3 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] 256 | avi_add_chunk (AVI, ch->fcc, ix00, max); | ^~~~ | | | char * +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:181:73: 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) | ~~~~~~~~~~~~~~~^~~~ +avidump.c:237:12: note: array 'names_indx' declared here + 237 | struct VAL names_indx[] = { + | ^~~~~~~~~~ +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: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: In function 'avi_add_odml_index_entry': 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 -avidump.c:248:12: note: array 'names_stdidx' declared here - 248 | struct VAL names_stdidx[] = { - | ^~~~~~~~~~~~ -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); | ^~~ | | | unsigned 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 In file included from avilib.h:38, from avilib.c:30: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ -avidump.c:474:11: warning: variable 'tt' set but not used [-Wunused-but-set-variable] - 474 | off_t tt; - | ^~ +avidump.c:248:12: note: array 'names_stdidx' declared here + 248 | struct VAL names_stdidx[] = { + | ^~~~~~~~~~~~ avilib.c:382:43: warning: pointer targets in passing argument 2 of 'avi_init_super_index' differ in signedness [-Wpointer-sign] 382 | if (avi_init_super_index(AVI, "ix00", &AVI->video_superindex) < 0) return -1; | ^~~~~~ @@ -643,6 +676,9 @@ avilib.c:268:60: note: expected 'unsigned char *' but argument is of type 'char *' 268 | static int avi_init_super_index(avi_t *AVI, unsigned char *idxtag, avisuperindex_chunk **si) | ~~~~~~~~~~~~~~~^~~~~~ +avidump.c:474:11: warning: variable 'tt' set but not used [-Wunused-but-set-variable] + 474 | off_t tt; + | ^~ avilib.c:406:41: warning: pointer targets in passing argument 2 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 406 | if (avi_add_std_index (AVI, fcc, tag, AVI->track[AVI->aptr].audio_superindex->stdindex[ | ^~~ @@ -3692,89 +3728,97 @@ 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() { - | ^~~~~ -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 p_video.cpp:26: +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 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); | ^~~~~ -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 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); | ^~~~~ -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 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); + | ^~~~~ 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); | ^~~~~ -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); - | ^~~~~ In file included from r_ogm.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); | ^~~~~ -p_vorbis.cpp:33:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 33 | 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) { + | ^~~~~ In file included from r_ogm.cpp:30: 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: 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."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~ +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."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from r_ogm.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 p_vobsub.cpp:25: +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); | ^~~~~ +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."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from r_ogm.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_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 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_ogm.cpp:63:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 63 | char **ncomments, char *nfourcc) throw (error_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); + | ^~~~~ +p_ac3.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.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: In constructor 'ogm_reader_c::ogm_reader_c(char*, unsigned char*, unsigned char*, unsigned char*, audio_sync_t*, range_t*, char**, char*)': 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."); @@ -3782,86 +3826,530 @@ 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_mp3.cpp:25: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +r_microdvd.h:38:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 38 | char **ncomments) 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."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: +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); + | ^~~~~ +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} +p_mp3.cpp:33:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 33 | char **ncomments) throw (error_c) : q_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); | ^~~~~ -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_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); + | ^~~~~ +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); | ^~~~~ -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_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_ac3.cpp:25: +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."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 p_vobsub.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_microdvd.cpp:27: +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_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); + | ^~~~~ +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_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) + | ^~~~~ +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); + | ^~~~~ +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_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 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 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); + | ^~~~~ +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); + | ^~~~~ +p_textsubs.cpp:32:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 32 | throw (error_c) : q_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."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 p_video.cpp:26: 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_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() { + | ^~~~~ +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 * +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) + | ~~~~~~~~~~~~^~~~ +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} 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) + | ~~~~~~~~~~~~^~~~ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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."); +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 +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_wav.cpp:31: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() 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), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~ +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} +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 ogmmerge.cpp:30: +r_ogm.h:65:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 65 | char *nfourcc) throw (error_c); + | ^~~~~ +r_wav.h:44:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 44 | 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} +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); + | ^~~~~ +r_wav.cpp:53:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 53 | range_t *nrange, char **ncomments) 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); + | ^ +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."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^ +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_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_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."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from r_microdvd.h:27, - from r_microdvd.cpp:28: +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."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) + | ~~~~~~~~~~~~^~~ +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 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_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); | ^~~~~ -In file included from p_ac3.cpp:27: +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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); | ^~~~~ -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.h:39:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | char **ncomments) throw (error_c); + | ^~~~~ +In file included from ogmmerge.cpp:36: r_microdvd.h:38:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 38 | char **ncomments) 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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogmmerge.cpp:85:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 85 | {{"---", TYPEUNKNOWN, ""}, + | ^~~~~ +ogmmerge.cpp:85:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 85 | {{"---", TYPEUNKNOWN, ""}, + | ^~~~~~~~~~~ +ogmmerge.cpp:86:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 86 | {"demultiplexers:", -1, ""}, + | ^~~~~~~~~~~~~~~~~ +ogmmerge.cpp:86:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 86 | {"demultiplexers:", -1, ""}, + | ^~ +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); + | ^~~~~~~ +ogmmerge.cpp:87:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 87 | {"ogg", TYPEOGM, "general OGG media stream, Vorbis audio embedded in OGG"}, + | ^~~~~ +ogmmerge.cpp:87:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 87 | {"ogg", TYPEOGM, "general OGG media stream, Vorbis audio embedded in OGG"}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogmmerge.cpp:88:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 88 | {"avi", TYPEAVI, "AVI (Audio/Video Interleaved)"}, + | ^~~~~ +ogmmerge.cpp:88:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 88 | {"avi", TYPEAVI, "AVI (Audio/Video Interleaved)"}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogmmerge.cpp:89:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 89 | {"wav", TYPEWAV, "WAVE (uncompressed PCM)"}, + | ^~~~~ +ogmmerge.cpp:89:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 89 | {"wav", TYPEWAV, "WAVE (uncompressed PCM)"}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +ogmmerge.cpp:90:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 90 | {"srt", TYPEWAV, "SRT text subtitles"}, + | ^~~~~ +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"}, + | ^~~~~ +ogmmerge.cpp:91:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 91 | {" ", TYPEMICRODVD, "MicroDVD text subtitles"}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +ogmmerge.cpp:95:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 95 | {"mp3", TYPEMP3, "MPEG1 layer III audio (CBR and VBR/ABR)"}, + | ^~~~~ +ogmmerge.cpp:95:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 95 | {"mp3", TYPEMP3, "MPEG1 layer III audio (CBR and VBR/ABR)"}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ogmmerge.cpp:96:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 96 | {"ac3", TYPEAC3, "A/52 (aka AC3)"}, + | ^~~~~ +ogmmerge.cpp:96:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 96 | {"ac3", TYPEAC3, "A/52 (aka AC3)"}, + | ^~~~~~~~~~~~~~~~ +ogmmerge.cpp:97:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 97 | {"output modules:", -1, ""}, + | ^~~~~~~~~~~~~~~~~ +ogmmerge.cpp:97:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 97 | {"output modules:", -1, ""}, + | ^~ +ogmmerge.cpp:98:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 98 | {" ", -1, "Vorbis audio"}, + | ^~~~~ +ogmmerge.cpp:98:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 98 | {" ", -1, "Vorbis audio"}, + | ^~~~~~~~~~~~~~ +ogmmerge.cpp:99:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 99 | {" ", -1, "Video (not MPEG1/2)"}, + | ^~~~~ +ogmmerge.cpp:99:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 99 | {" ", -1, "Video (not MPEG1/2)"}, + | ^~~~~~~~~~~~~~~~~~~~~ +ogmmerge.cpp:100:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 100 | {" ", -1, "uncompressed PCM audio"}, + | ^~~~~ +ogmmerge.cpp:100:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 100 | {" ", -1, "uncompressed PCM audio"}, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +ogmmerge.cpp:101:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 101 | {" ", -1, "text subtitles"}, + | ^~~~~ +ogmmerge.cpp:101:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 101 | {" ", -1, "text subtitles"}, + | ^~~~~~~~~~~~~~~~ +ogmmerge.cpp:105:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 105 | {" ", -1, "MP3 audio"}, + | ^~~~~ +ogmmerge.cpp:105:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 105 | {" ", -1, "MP3 audio"}, + | ^~~~~~~~~~~ +ogmmerge.cpp:106:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 106 | {" ", -1, "AC3 audio"}, + | ^~~~~ +ogmmerge.cpp:106:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 106 | {" ", -1, "AC3 audio"}, + | ^~~~~~~~~~~ ogminfo.c: In function 'dump_streamheader': -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_srt.cpp:27: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() 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: {" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3870,9 +4358,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} -p_ac3.cpp:33:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 33 | char **ncomments) throw (error_c) : q_c() { - | ^~~~~ ogminfo.c:116:27: note: format string is defined here 116 | "time_unit = %lld, samples_per_unit = %lld, default_len = %d, " | ~~~^ @@ -3893,31 +4378,16 @@ | | | long long int | %ld -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); - | ^~~~~ ogminfo.c: In function 'handle_packet': ogminfo.c:173:40: warning: pointer targets in passing argument 2 of 'vorbis_unpack_comment' differ in signedness [-Wpointer-sign] 173 | if (vorbis_unpack_comment(&vc, pack->packet, pack->bytes) != 0) | ~~~~^~~~~~~~ | | | unsigned char * -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 ogminfo.c:25: 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); | ~~~~~~^~~ -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); - | ^~~~~ -r_microdvd.cpp:59:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 59 | 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 ", | ~~~~~~^ @@ -3939,31 +4409,6 @@ | ~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -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: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 ogmcat.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: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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~ -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); - | ^~~~~ 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: % " | ~~~~~~^ @@ -3975,17 +4420,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -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} ogminfo.c:223:23: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 223 | fprintf(stdout, "(%s) %c%d: % 7ld bytes granulepos: % 10lld pno: % " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4001,62 +4435,7 @@ | ~~~~~^ | | | long long 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} -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_textsubs.cpp:25: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() 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_textsubs.cpp:27: -p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 33 | char **ncomments) 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} ogminfo.c: In function 'process_ogm': -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} 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: " | ~~~~~~^ @@ -4067,44 +4446,11 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | 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} 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)) { | ^~~~~~~~~~~~~~~ | | | unsigned char * -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} -p_textsubs.cpp:32:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 32 | throw (error_c) : q_c() { - | ^~~~~ -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 ogminfo.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) @@ -4117,23 +4463,145 @@ /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_srt.cpp:65:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 65 | range_t *nrange, char **ncomments) throw (error_c) { +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 " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +...... + 387 | get_uint64(&sth.samples_per_unit), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | u_int64_t {aka long unsigned int} +ogminfo.c:379:70: note: format string is defined here + 379 | "per sample: %d channels: %d samples per second: %lld" + | ~~~^ + | | + | 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_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) { | ^~~~~ -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_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_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."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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_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"); + | ~~~~~~~~~~~~~~~ +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} +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) + | ^~~~~~~~~ +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) + | ^~ +ogmmerge.cpp:930:13: warning: variable 'page' set but not used [-Wunused-but-set-variable] + 930 | ogg_page *page; + | ^~~~ +ogmmerge.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 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); + | ^~~~~ +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); + | ^~~~~ +p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 33 | char **ncomments) 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() { + | ^~~~~ 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" @@ -4146,17 +4614,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -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 " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -...... - 387 | get_uint64(&sth.samples_per_unit), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | u_int64_t {aka long unsigned int} -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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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" | ~~~~~^ @@ -4168,12 +4625,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -ogminfo.c:379:70: note: format string is defined here - 379 | "per sample: %d channels: %d samples per second: %lld" - | ~~~^ - | | - | long long int - | %ld 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" | ~~~~~^ @@ -4196,16 +4647,6 @@ | ~~~~~~~~~~~~~~~~~~~ | | | 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} 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", | ~~~~~^ @@ -4228,11 +4669,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 * subtitles.cpp:79:51: warning: format '%lld' expects argument of type 'long long int', but argument 9 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 79 | " next start: %02lld:%02lld:%02lld,%03lld (\"%s\"...)\n", | ~~~~~^ @@ -4244,9 +4680,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -/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: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", | ~~~~~^ @@ -4258,17 +4691,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long 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 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:" | ~~~~~^ @@ -4280,25 +4702,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka 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} 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:" | ~~~~~^ @@ -4310,22 +4713,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -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} -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:37: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 109 | "%02lld:%02lld:%02lld,%03lld this end: %02lld:%02lld:" | ~~~~~^ @@ -4381,14 +4768,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long 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} subtitles.cpp:110:30: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 110 | "%02lld,%03lld (\"%s\"...)\n", | ~~~~~^ @@ -4400,67 +4779,136 @@ | ~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -ogmdemux.c:503:71: note: format string is defined here - 503 | "sample: %d channels: %hd samples per second: %lld", - | ~~~^ - | | - | long long int - | %ld -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), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); + | ^~~~~ +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, + | ~~~^ + | | + | long long int + | %ld + 193 | current, num, current * 100 / num); + | ~~~~~~~ + | | + | ogg_int64_t {aka long 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, + | ~~~^ + | | + | long long int + | %ld + 193 | current, num, current * 100 / num); + | ~~~ + | | + | ogg_int64_t {aka long 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, + | ~~~^ + | | + | long long int + | %ld + 193 | current, num, current * 100 / num); + | ~~~~~~~~~~~~~~~~~~~ + | | + | ogg_int64_t {aka long int} +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, + | ~~~^ + | | + | long long int + | %ld + 196 | current, num, current * 100 / num); + | ~~~~~~~ + | | + | ogg_int64_t {aka long int} +ogmsplit.cpp:195:44: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 195 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, + | ~~~^ + | | + | long long int + | %ld + 196 | current, num, current * 100 / num); + | ~~~ + | | + | ogg_int64_t {aka long int} +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, + | ~~~^ + | | + | long long int + | %ld + 196 | 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 != " @@ -4484,16 +4932,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int64_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); - | ^ -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); - | ^ 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", | ~~~^ @@ -4516,34 +4954,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned 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 * -/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) - | ~~~~~~~~~~~~^~~ -ogminfo.c: In function 'main': -ogmdemux.c:774:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 774 | l = strlen(xvideo); - | ^~~~~~ - | | - | unsigned char * -ogminfo.c:525:3: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] - 525 | nice(2); - | ^~~~~~~ -/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) - | ~~~~~~~~~~~~^~~ 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, @@ -4582,271 +4992,6 @@ | | | | long long int ogg_int64_t {aka long int} | %ld -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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~ -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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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_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"); - | ~~~~~~~~~~~~~~~ -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() { - | ^~~~~ -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} -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 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 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_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_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_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 ogmsplit.cpp:28: -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); - | ^~~~~ -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_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_avi.cpp:58:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 58 | char* nav_seek) throw (error_c) { - | ^~~~~ -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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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, - | ~~~^ - | | - | long long int - | %ld - 193 | current, num, current * 100 / num); - | ~~~~~~~ - | | - | ogg_int64_t {aka long 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, - | ~~~^ - | | - | long long int - | %ld - 193 | current, num, current * 100 / num); - | ~~~ - | | - | ogg_int64_t {aka long 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, - | ~~~^ - | | - | long long int - | %ld - 193 | current, num, current * 100 / num); - | ~~~~~~~~~~~~~~~~~~~ - | | - | ogg_int64_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 !?"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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, - | ~~~^ - | | - | long long int - | %ld - 196 | current, num, current * 100 / num); - | ~~~~~~~ - | | - | ogg_int64_t {aka long int} -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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ogmsplit.cpp:195:44: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 195 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, - | ~~~^ - | | - | long long int - | %ld - 196 | current, num, current * 100 / num); - | ~~~ - | | - | ogg_int64_t {aka long int} -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, - | ~~~^ - | | - | long long int - | %ld - 196 | current, num, current * 100 / num); - | ~~~~~~~~~~~~~~~~~~~ - | | - | ogg_int64_t {aka long int} -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_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_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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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_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); - | ^~~~~ -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 ogmmerge.cpp:36: -r_microdvd.h:38:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 38 | char **ncomments) throw (error_c); - | ^~~~~ -ogmmerge.cpp:85:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 85 | {{"---", TYPEUNKNOWN, ""}, - | ^~~~~ 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"); @@ -4854,33 +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"); | ^~~~~~~ -ogmmerge.cpp:85:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 85 | {{"---", TYPEUNKNOWN, ""}, - | ^~~~~~~~~~~ -ogmmerge.cpp:86:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 86 | {"demultiplexers:", -1, ""}, - | ^~~~~~~~~~~~~~~~~ -ogmmerge.cpp:86:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 86 | {"demultiplexers:", -1, ""}, - | ^~ -ogmmerge.cpp:87:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 87 | {"ogg", TYPEOGM, "general OGG media stream, Vorbis audio embedded in OGG"}, - | ^~~~~ -ogmmerge.cpp:87:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 87 | {"ogg", TYPEOGM, "general OGG media stream, Vorbis audio embedded in OGG"}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ogmmerge.cpp:88:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 88 | {"avi", TYPEAVI, "AVI (Audio/Video Interleaved)"}, - | ^~~~~ -ogmmerge.cpp:88:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 88 | {"avi", TYPEAVI, "AVI (Audio/Video Interleaved)"}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ogmmerge.cpp:89:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 89 | {"wav", TYPEWAV, "WAVE (uncompressed PCM)"}, - | ^~~~~ -ogmmerge.cpp:89:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 89 | {"wav", TYPEWAV, "WAVE (uncompressed PCM)"}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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, " | ~~~^ @@ -4903,21 +5021,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -ogmmerge.cpp:90:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 90 | {"srt", TYPEWAV, "SRT text subtitles"}, - | ^~~~~ -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"}, - | ^~~~~ -ogmmerge.cpp:91:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 91 | {" ", TYPEMICRODVD, "MicroDVD text subtitles"}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -ogmmerge.cpp:95:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 95 | {"mp3", TYPEMP3, "MPEG1 layer III audio (CBR and VBR/ABR)"}, - | ^~~~~ 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 " | ~~~^ @@ -4940,48 +5043,12 @@ | ~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -ogmmerge.cpp:95:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 95 | {"mp3", TYPEMP3, "MPEG1 layer III audio (CBR and VBR/ABR)"}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ogmmerge.cpp:96:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 96 | {"ac3", TYPEAC3, "A/52 (aka AC3)"}, - | ^~~~~ -ogmmerge.cpp:96:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 96 | {"ac3", TYPEAC3, "A/52 (aka AC3)"}, - | ^~~~~~~~~~~~~~~~ -ogmmerge.cpp:97:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 97 | {"output modules:", -1, ""}, - | ^~~~~~~~~~~~~~~~~ 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:97:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 97 | {"output modules:", -1, ""}, - | ^~ -ogmmerge.cpp:98:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 98 | {" ", -1, "Vorbis audio"}, - | ^~~~~ -ogmmerge.cpp:98:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 98 | {" ", -1, "Vorbis audio"}, - | ^~~~~~~~~~~~~~ -ogmmerge.cpp:99:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 99 | {" ", -1, "Video (not MPEG1/2)"}, - | ^~~~~ -ogmmerge.cpp:99:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 99 | {" ", -1, "Video (not MPEG1/2)"}, - | ^~~~~~~~~~~~~~~~~~~~~ -ogmmerge.cpp:100:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 100 | {" ", -1, "uncompressed PCM audio"}, - | ^~~~~ ogmsplit.cpp:882:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 882 | print_progress(bread, file_size, "bytes"); | ^~~~~~~ -ogmmerge.cpp:100:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 100 | {" ", -1, "uncompressed PCM audio"}, - | ^~~~~~~~~~~~~~~~~~~~~~~~ -ogmmerge.cpp:101:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 101 | {" ", -1, "text subtitles"}, - | ^~~~~ ogmsplit.cpp:896:59: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 896 | fprintf(stdout, "(%s) Closing file after writing %lld bytes " | ~~~^ @@ -4993,21 +5060,6 @@ | ~~~~~~~~ | | | ogg_int64_t {aka long int} -ogmmerge.cpp:101:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 101 | {" ", -1, "text subtitles"}, - | ^~~~~~~~~~~~~~~~ -ogmmerge.cpp:105:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 105 | {" ", -1, "MP3 audio"}, - | ^~~~~ -ogmmerge.cpp:105:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 105 | {" ", -1, "MP3 audio"}, - | ^~~~~~~~~~~ -ogmmerge.cpp:106:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 106 | {" ", -1, "AC3 audio"}, - | ^~~~~ -ogmmerge.cpp:106:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 106 | {" ", -1, "AC3 audio"}, - | ^~~~~~~~~~~ ogmsplit.cpp:897:20: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 897 | "(%lld bytes written in all files), %02d:%02d:%02d.%03d " | ~~~^ @@ -5036,51 +5088,6 @@ | | ogg_int64_t {aka long int} | long long int | %ld -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) - | ^~~~~~~~~ -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) - | ^~ -ogmmerge.cpp:930:13: warning: variable 'page' set but not used [-Wunused-but-set-variable] - 930 | ogg_page *page; - | ^~~~ -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:935:7: warning: ignoring return value of 'int nice(int)' declared with attribute 'warn_unused_result' [-Wunused-result] - 935 | nice(2); - | ~~~~^~~ -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, - | ^~~~ -generic.cpp:231:30: note: directive argument in the range [-999, 999] - 231 | sprintf(new_chapter, "CHAPTER%02d=%02d:%02d:%02d.%03d", chapter, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from ogmmerge.h:20, - from generic.cpp:23: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'vorbis_comment* chapter_information_adjust(vorbis_comment*, double, double)' at generic.cpp:231:16: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 23 and 37 bytes into a destination of size 24 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 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; - | ^~~~~ 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)-> @@ -5092,7 +5099,16 @@ r_ogm.cpp:539:18: note: 'lenbytes' was declared here 539 | long lenbytes; | ^~~~~~~~ -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 +ogmsplit.cpp:935:7: warning: ignoring return value of 'int nice(int)' declared with attribute 'warn_unused_result' [-Wunused-result] + 935 | nice(2); + | ~~~~^~~ +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; + | ^~~~~ 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); @@ -5106,6 +5122,37 @@ 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); | ^ +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, + | ^~~~ +generic.cpp:231:30: note: directive argument in the range [-999, 999] + 231 | sprintf(new_chapter, "CHAPTER%02d=%02d:%02d:%02d.%03d", chapter, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from ogmmerge.h:20, + from generic.cpp:23: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'vorbis_comment* chapter_information_adjust(vorbis_comment*, double, double)' at generic.cpp:231:16: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 23 and 37 bytes into a destination of size 24 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ogmdemux.c:23: +avilib/avilib.h:406:11: note: source object 'id' of size 4 + 406 | uint8_t id[4]; /* RIFF */ + | ^~ +In file included from ogmdemux.c:18: +/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 dvdxchap dvdxchap.o -L/usr/lib -ldvdread -lm ogmcat.cpp:846:58: warning: 'vtime2' may be used uninitialized [-Wmaybe-uninitialized] 846 | stream->granuleposadd = (ogg_int64_t)(vtime2 * stream->sample_rate | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ @@ -5124,26 +5171,15 @@ ogmcat.cpp:700:37: note: 'vtime4' was declared here 700 | double vtime2, vtime3, vtime4; | ^~~~~~ -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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ogmdemux.c:23: -avilib/avilib.h:406:11: note: source object 'id' of size 4 - 406 | uint8_t id[4]; /* RIFF */ - | ^~ -In file included from ogmdemux.c:18: -/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 -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 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 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' @@ -5192,8 +5228,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'ogmtools' in '../ogmtools_1.5-7_amd64.deb'. dpkg-deb: building package 'ogmtools-dbgsym' in '../ogmtools-dbgsym_1.5-7_amd64.deb'. +dpkg-deb: building package 'ogmtools' in '../ogmtools_1.5-7_amd64.deb'. dpkg-genbuildinfo --build=binary -O../ogmtools_1.5-7_amd64.buildinfo dpkg-genchanges --build=binary -O../ogmtools_1.5-7_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -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/3107467/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3107467/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/3708124 and its subdirectories -I: Current time: Wed Oct 1 06:10:28 -12 2025 -I: pbuilder-time-stamp: 1759342228 +I: removing directory /srv/workspace/pbuilder/3107467 and its subdirectories +I: Current time: Wed Nov 4 14:37:59 +14 2026 +I: pbuilder-time-stamp: 1793752679