Diff of the two buildlogs: -- --- b1/build.log 2024-12-04 06:47:25.781435192 +0000 +++ b2/build.log 2024-12-04 06:50:58.599782356 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jan 6 01:09:51 -12 2026 -I: pbuilder-time-stamp: 1767704991 +I: Current time: Wed Dec 4 20:47:29 +14 2024 +I: pbuilder-time-stamp: 1733294849 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -34,52 +34,84 @@ 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/1353440/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1855506/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-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 Dec 4 06:47 /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/1855506/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1855506/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=42 ' - 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]="2" [2]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.32(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=20 ' + 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='4d6fb7915ff34d2695c4a31b9808b5fd' - 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='1353440' - PS1='# ' - PS2='> ' + INVOCATION_ID=56eddb0adb4647578eab65abd4df2b50 + 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=1855506 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.8K4D1Vfh/pbuilderrc_C7H2 --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.8K4D1Vfh/b1 --logfile b1/build.log ogmtools_1.5-6.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.8K4D1Vfh/pbuilderrc_97od --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.8K4D1Vfh/b2 --logfile b2/build.log ogmtools_1.5-6.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1353440/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1855506/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -165,7 +197,7 @@ Get: 38 http://deb.debian.org/debian unstable/main amd64 libvorbisenc2 amd64 1.3.7-2+b1 [76.1 kB] Get: 39 http://deb.debian.org/debian unstable/main amd64 libvorbisfile3 amd64 1.3.7-2+b1 [21.5 kB] Get: 40 http://deb.debian.org/debian unstable/main amd64 libvorbis-dev amd64 1.3.7-2+b1 [326 kB] -Fetched 20.9 MB in 2s (12.9 MB/s) +Fetched 20.9 MB in 1s (14.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19968 files and directories currently installed.) @@ -340,7 +372,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-6_source.changes +I: user script /srv/workspace/pbuilder/1855506/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1855506/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-6_source.changes dpkg-buildpackage: info: source package ogmtools dpkg-buildpackage: info: source version 1:1.5-6 dpkg-buildpackage: info: source distribution unstable @@ -449,7 +485,7 @@ config.status: creating avilib/Makefile config.status: executing depfiles commands dh_auto_build - make -j42 + make -j20 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' @@ -457,14 +493,6 @@ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -funroll-loops -ffast-math -DLINUX -Wall -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 -c -o avidump.o avidump.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -funroll-loops -ffast-math -DLINUX -Wall -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 -c -o avimisc.o avimisc.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -funroll-loops -ffast-math -DLINUX -Wall -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 -c -o xio.o xio.c -avidump.c: In function 'dump_vals': -avidump.c:336:39: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] - 336 | printf("\t%-12s = 0x%016llx\n",names[i].name,val64); - | ~~~~~~^ ~~~~~ - | | | - | | off_t {aka long int} - | long long unsigned int - | %016lx avilib.c: In function 'avi_ixnn_entry': avilib.c:213:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 @@ -488,7 +516,6 @@ avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ -avidump.c: 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 | ~~~~^~~ @@ -500,9 +527,6 @@ avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ -avidump.c: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); - | ^ 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 | ~~~~^~~ @@ -511,13 +535,9 @@ avilib.c:249:5: note: in expansion of macro 'OUTD' 249 | OUTD(ch->dwReserved3); | ^~~~ -avidump.c:595:49: 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: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 | ~~~~^~~ @@ -529,9 +549,6 @@ avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ -avidump.c: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: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 | ~~~~^~~ @@ -540,13 +557,9 @@ avilib.c:253:9: note: in expansion of macro 'OUTD' 253 | OUTD(ch->aIndex[k].dwSize); | ^~~~ -avidump.c:604:45: 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:209:12: note: array 'names_strf_auds' declared here - 209 | struct VAL names_strf_auds[] = { - | ^~~~~~~~~~~~~~~ avilib.c:256:27: warning: pointer targets in passing argument 2 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] 256 | avi_add_chunk (AVI, ch->fcc, ix00, max); | ~~^~~~~ @@ -563,27 +576,7 @@ 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:608:50: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] - 608 | long chunks=*chunksize-sizeof(names_indx)/sizeof(char*); - | ^ -avidump.c:608:50: note: add parentheses around the second 'sizeof' to silence this warning -avidump.c:237:12: note: array 'names_indx' declared here - 237 | struct VAL names_indx[] = { - | ^~~~~~~~~~ -avidump.c:613:40: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] - 613 | dump_vals(fd,sizeof(names_indx)/sizeof(char*),names_indx); - | ^ -avidump.c:613:40: note: add parentheses around the second 'sizeof' to silence this warning -avidump.c:237:12: note: array 'names_indx' declared here - 237 | struct VAL names_indx[] = { - | ^~~~~~~~~~ avilib.c: In function 'avi_add_odml_index_entry': -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:372:26: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 372 | int audio = (strchr (tag, 'w')?1:0); | ^~~ @@ -594,13 +587,6 @@ /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: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 -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; | ^~~~~~ @@ -609,13 +595,6 @@ 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: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:386:41: warning: pointer targets in passing argument 2 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 386 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ @@ -640,9 +619,6 @@ 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[ | ^~~ @@ -1002,6 +978,14 @@ avilib.c:816:4: note: in expansion of macro 'OUTLONG' 816 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ +avidump.c: In function 'dump_vals': +avidump.c:336:39: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] + 336 | printf("\t%-12s = 0x%016llx\n",names[i].name,val64); + | ~~~~~~^ ~~~~~ + | | | + | | off_t {aka long int} + | long long unsigned int + | %016lx avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ @@ -1020,12 +1004,37 @@ avilib.c:818:4: note: in expansion of macro 'OUT4CC' 818 | OUT4CC ("strl"); | ^~~~~~ +avidump.c: In function 'ProcessChunk': +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[] = { + | ^~~~~~~~~~~~~~~ +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 +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*); + | ^ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:822:4: note: in expansion of macro 'OUT4CC' 822 | OUT4CC ("strh"); | ^~~~~~ +avidump.c:608:50: note: add parentheses around the second 'sizeof' to silence this warning +avidump.c:237:12: note: array 'names_indx' declared here + 237 | struct VAL names_indx[] = { + | ^~~~~~~~~~ +avidump.c:613:40: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] + 613 | dump_vals(fd,sizeof(names_indx)/sizeof(char*),names_indx); + | ^ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ @@ -1038,12 +1047,39 @@ avilib.c:823:4: note: in expansion of macro 'OUTLONG' 823 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ +avidump.c:613:40: note: add parentheses around the second 'sizeof' to silence this warning +avidump.c:237:12: note: array 'names_indx' declared here + 237 | struct VAL names_indx[] = { + | ^~~~~~~~~~ +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 +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:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:823:4: note: in expansion of macro 'OUTLONG' 823 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ +avidump.c:474:11: warning: variable 'tt' set but not used [-Wunused-but-set-variable] + 474 | off_t tt; + | ^~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ @@ -3678,79 +3714,498 @@ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o p_textsubs.o p_textsubs.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o p_vobsub.o p_vobsub.cpp gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o ac3_common.o ac3_common.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 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 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 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); + | ^~~~~ +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); + | ^~~~~ +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); + | ^~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o mp3_common.o mp3_common.c +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 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_ogm.cpp:63:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 63 | char **ncomments, char *nfourcc) 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."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o subtitles.o subtitles.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o queue.o queue.cpp +In file included from r_ac3.cpp:25: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +In file included from r_ac3.h:26, + from r_ac3.cpp:26: +p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +r_ac3.h:39:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | char **ncomments) throw (error_c); + | ^~~~~ +r_ac3.cpp:58:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 58 | range_t *nrange, char **ncomments) throw (error_c) { + | ^~~~~ +r_ac3.cpp: In constructor 'ac3_reader_c::ac3_reader_c(char*, audio_sync_t*, range_t*, char**)': +r_ac3.cpp:64:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 64 | throw error_c("ac3_reader: Could not open source file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_ac3.cpp:66:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 66 | throw error_c("ac3_reader: Could not seek to end of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_ac3.cpp:69:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 69 | throw error_c("ac3_reader: Could not seek to beginning of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_ac3.cpp:74:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 74 | throw error_c("ac3_reader: Could not read 4096 bytes."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_ac3.cpp:76:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 76 | throw error_c("ac3_reader: Could not seek to beginning of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_ac3.cpp:79:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 79 | throw error_c("ac3_reader: No valid AC3 packet found in the first " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 80 | "4096 bytes.\n"); + | ~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o vorbis_header_utils.o vorbis_header_utils.c -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o generic.o generic.cpp -gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o common.o common.c -gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o ogmdemux.o ogmdemux.c -gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o ogminfo.o ogminfo.c -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o ogmsplit.o ogmsplit.cpp -g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o ogmcat.o ogmcat.cpp -gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o dvdxchap.o dvdxchap.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} +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); + | ^~~~~ mp3_common.c: In function 'find_mp3_header': 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_pcm.cpp:25: +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 p_pcm.cpp:26: +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 p_mp3.cpp:25: +r_wav.h:44:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 44 | char **ncomments) throw (error_c); + | ^~~~~ +r_wav.cpp:53:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 53 | range_t *nrange, char **ncomments) throw (error_c) { + | ^~~~~ +r_wav.cpp: In constructor 'wav_reader_c::wav_reader_c(char*, audio_sync_t*, range_t*, char**)': +r_wav.cpp:59:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 59 | throw error_c("wav_reader: Could not open source file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_wav.cpp:61:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 61 | throw error_c("wav_reader: Could not seek to end of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_wav.cpp:64:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 64 | throw error_c("wav_reader: Could not seek to beginning of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_wav.cpp:66:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 66 | throw error_c("wav_reader: Source is not a valid WAVE file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_wav.cpp:68:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 68 | throw error_c("wav_reader: could not read WAVE header."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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_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_mp3.cpp:27: +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_microdvd.h:27, + from r_microdvd.cpp:28: +p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 33 | char **ncomments) throw (error_c); + | ^~~~~ +In file included from 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_microdvd.h:38:41: 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 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); | ^~~~~ -p_mp3.cpp:33:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 33 | char **ncomments) throw (error_c) : q_c() { +r_mp3.h:43:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | 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 r_avi.cpp:32: +p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +In file included from r_avi.cpp:33: +p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +In file included from p_pcm.cpp:25: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +r_mp3.cpp:63:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 63 | range_t *nrange, char **ncomments) throw (error_c) { + | ^~~~~ +r_mp3.cpp: In constructor 'mp3_reader_c::mp3_reader_c(char*, audio_sync_t*, range_t*, char**)': +r_mp3.cpp:70:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 70 | throw error_c("mp3_reader: Could not open source file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_mp3.cpp:72:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 72 | throw error_c("mp3_reader: Could not seek to end of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_mp3.cpp:75:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 75 | throw error_c("mp3_reader: Could not seek to beginning of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_mp3.cpp:80:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 80 | throw error_c("mp3_reader: Could not read 4096 bytes."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_mp3.cpp:82:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 82 | throw error_c("mp3_reader: Could not seek to beginning of file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +r_microdvd.cpp:59:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 59 | throw (error_c) { + | ^~~~~ +r_microdvd.cpp: In constructor 'microdvd_reader_c::microdvd_reader_c(char*, audio_sync_t*, range_t*, char**)': +r_microdvd.cpp:61:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 61 | throw error_c("microdvd_reader: Could not open source file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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_mp3.cpp:85:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 85 | throw error_c("mp3_reader: No valid MP3 packet found in the first " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 86 | "4096 bytes.\n"); + | ~~~~~~~~~~~~~~~ +In file included from 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_textsubs.cpp:25: +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."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 queue.cpp:22: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +queue.cpp:24:12: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 24 | q_c::q_c() throw (error_c) : generic_packetizer_c() { + | ^~~~~ +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() { + | ^~~~~ 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_srt.cpp:27: +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 p_textsubs.cpp:27: +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 p_mp3.cpp:25: +queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 39 | q_c() throw (error_c); + | ^~~~~ +In file included from p_mp3.cpp:27: +p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | range_t *nrange, char **ncomments) throw (error_c); + | ^~~~~ +p_mp3.cpp:33:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 33 | char **ncomments) throw (error_c) : q_c() { + | ^~~~~ +In file included from r_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_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_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); + | ^~~~~ 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_mp3.h:43:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 43 | 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); + | ^~~~~ +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o generic.o generic.cpp In file included from p_textsubs.h:21, from subtitles.h:23, from subtitles.cpp:22: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ -r_srt.h:38:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 38 | 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() { - | ^~~~~ 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: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_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); + | ^~~~~ +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, ""}, + | ^~~~~ +ogmmerge.cpp:85:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 85 | {{"---", TYPEUNKNOWN, ""}, + | ^~~~~~~~~~~ +gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o common.o common.c +p_ac3.cpp:33:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 33 | char **ncomments) throw (error_c) : q_c() { + | ^~~~~ +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)"}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +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"}, + | ^~~~~~~~~~~ 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" @@ -3785,9 +4240,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -r_srt.cpp:65:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 65 | range_t *nrange, char **ncomments) throw (error_c) { - | ^~~~~ subtitles.cpp:78:75: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 78 | "the next one starts. This end: %02lld:%02lld:%02lld,%03lld" | ~~~~~^ @@ -3821,10 +4273,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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", | ~~~~~^ @@ -3847,9 +4295,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long 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: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:" | ~~~~~^ @@ -3861,13 +4306,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -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 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:" | ~~~~~^ @@ -3945,17 +4383,50 @@ | ~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -In file included from p_video.cpp:26: +r_srt.cpp:65:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 65 | range_t *nrange, char **ncomments) throw (error_c) { + | ^~~~~ +p_mp3.cpp: In member function 'virtual int mp3_packetizer_c::process(char*, int, int)': +p_mp3.cpp:236:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 236 | "packet number %lld)\n", packetno - 2); + | ~~~^ ~~~~~~~~~~~~ + | | | + | long long int u_int64_t {aka long unsigned int} + | %ld +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."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from p_textsubs.cpp:25: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ -In file included from p_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 p_textsubs.cpp:27: +p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 33 | char **ncomments) throw (error_c); + | ^~~~~ +p_textsubs.cpp:32:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + 32 | throw (error_c) : q_c() { + | ^~~~~ +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_vorbis.cpp:27: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); @@ -3971,18 +4442,7 @@ 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 ogmmerge.cpp:29: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -In file included from ogmmerge.cpp:30: -r_ogm.h:65:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 65 | char *nfourcc) throw (error_c); - | ^~~~~ -In file included from r_ac3.cpp:25: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ +gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o ogmdemux.o ogmdemux.c p_vorbis.cpp: In member function 'virtual int vorbis_packetizer_c::encode_silence(int)': p_vorbis.cpp:94:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | write(fd, log.header, log.header_len); @@ -3996,167 +4456,170 @@ p_vorbis.cpp:116:16: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 116 | write(fd, log.body, log.body_len); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from r_avi.cpp:28: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -In file included from r_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 r_ac3.h:26, - from r_ac3.cpp:26: -p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 43 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ -In file included from 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); - | ^~~~~ -In file included from r_ogm.cpp:27: -r_ogm.h:65:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 65 | char *nfourcc) throw (error_c); - | ^~~~~ -r_avi.h:70:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 70 | char* nav_seek) 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_avi.cpp:31: -p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 40 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ -In file included from r_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 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_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); - | ^~~~~ -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_ac3.cpp:58:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 58 | range_t *nrange, char **ncomments) throw (error_c) { - | ^~~~~ -r_ac3.cpp: In constructor 'ac3_reader_c::ac3_reader_c(char*, audio_sync_t*, range_t*, char**)': -r_ac3.cpp:64:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 64 | throw error_c("ac3_reader: Could not open source file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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_avi.cpp:58:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 58 | char* nav_seek) 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:31: -p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 33 | char **ncomments) 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_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_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_ac3.cpp:76:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 76 | throw error_c("ac3_reader: Could not seek to beginning of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_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_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); - | ^~~~~ -r_ac3.cpp:79:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 79 | throw error_c("ac3_reader: No valid AC3 packet found in the first " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 80 | "4096 bytes.\n"); - | ~~~~~~~~~~~~~~~ -In file included from r_avi.h:31, - from 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); - | ^~~~~ -In file included from r_microdvd.cpp:27: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ -In file included from r_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_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); - | ^~~~~ -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_wav.h:44:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 44 | char **ncomments) throw (error_c); - | ^~~~~ -r_microdvd.h:38:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 38 | char **ncomments) throw (error_c); - | ^~~~~ -In file included from 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_ogm.cpp:63:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 63 | char **ncomments, char *nfourcc) throw (error_c) { - | ^~~~~ -r_srt.h:38:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 38 | 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 * +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} +ogmdemux.c:413:27: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 413 | !strncmp(&pack.packet[1],"Direct Show Samples embedded in " + | ^~~~~~~~~~~~~~~ + | | + | unsigned char * +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +ogmdemux.c:460:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] + 460 | fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, + | ~^ + | | + | int + | %ld + 461 | strlen(basename) + 20); + | ~~~~~~~~~~~~~~~~~~~~~ + | | + | size_t {aka long unsigned int} +ogmdemux.c:502:29: warning: format '%lld' expects argument of type 'long long int', but argument 11 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 502 | fprintf(stdout, "(%s) (a%d/%d) codec: %d (0x%04x) (%s), bits per " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +...... + 510 | get_uint64(&sth.samples_per_unit)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | u_int64_t {aka long unsigned int} +ogmdemux.c:503:71: note: format string is defined here + 503 | "sample: %d channels: %hd samples per second: %lld", + | ~~~^ + | | + | long long int + | %ld +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:510, + 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} +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); + | ^ +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) + | ~~~~~~~~~~~~^~~ +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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~ +gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o ogminfo.o ogminfo.c +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o ogmsplit.o ogmsplit.cpp +g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o ogmcat.o ogmcat.cpp +gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -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 -c -o dvdxchap.o dvdxchap.c +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; + | ^~~~~ ogminfo.c: In function 'dump_streamheader': -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_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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~ 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: {" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4165,28 +4628,12 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} -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 * ogminfo.c:116:27: note: format string is defined here 116 | "time_unit = %lld, samples_per_unit = %lld, default_len = %d, " | ~~~^ | | | long long int | %ld -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.h:43:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 43 | char **ncomments) throw (error_c); - | ^~~~~ -In file included from p_ac3.cpp:25: -queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | q_c() throw (error_c); - | ^~~~~ ogminfo.c:114:19: warning: format '%lld' expects argument of type 'long long int', but argument 11 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 114 | fprintf(stdout, "(%s) (%c%d/serial %d) Full stream_header dump: {" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4195,72 +4642,13 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} -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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:116:52: note: format string is defined here 116 | "time_unit = %lld, samples_per_unit = %lld, default_len = %d, " | ~~~^ | | | long long int | %ld -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_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_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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_microdvd.cpp:59:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 59 | throw (error_c) { - | ^~~~~ -r_ac3.cpp:143:38: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] - 143 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", - | ~~~^ - | | - | long long int - | %ld - 144 | bytes_processed, size, - | ~~~~ - | | - | off_t {aka long int} -In file included from p_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); - | ^~~~~ -In file included from r_ac3.h:26, - from ogmmerge.cpp:35: -p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 43 | range_t *nrange, char **ncomments) throw (error_c); - | ^~~~~ -ogmdemux.c:384:55: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] - 384 | fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, - | ~^ - | | - | int - | %ld - 385 | strlen(basename) + 20); - | ~~~~~~~~~~~~~~~~~~~~~ - | | - | size_t {aka long unsigned int} ogminfo.c: In function 'handle_packet': -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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_ac3.h:39:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 39 | char **ncomments) throw (error_c); - | ^~~~~ 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) | ~~~~^~~~~~~~ @@ -4270,55 +4658,6 @@ 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 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_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."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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} -p_ac3.cpp:33:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 33 | char **ncomments) throw (error_c) : q_c() { - | ^~~~~ -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} -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) - | ~~~~~~~~~~~~^~~~ 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 ", | ~~~~~~^ @@ -4329,63 +4668,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -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, ""}, - | ^~~~~~~~~~~ -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} -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, ""}, - | ^~ -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} -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"}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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} -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)"}, - | ^~~~~ ogminfo.c:193:75: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 193 | fprintf(stdout, "(%s) a%d: % 7ld bytes granulepos: % 10lld pno: % 10lld ", | ~~~~~~^ @@ -4397,75 +4679,6 @@ | ~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -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: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: % " | ~~~~~~^ @@ -4477,16 +4690,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: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: % " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4502,21 +4705,7 @@ | ~~~~~^ | | | long 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} ogminfo.c: In function 'process_ogm': -ogmdemux.c:503:71: note: format string is defined here - 503 | "sample: %d channels: %hd samples per second: %lld", - | ~~~^ - | | - | long long int - | %ld 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: " | ~~~~~~^ @@ -4532,36 +4721,10 @@ | ^~~~~~~~~~~~~~~ | | | unsigned char * -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); - | ^~~~~ -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 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) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:510, - 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), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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() { - | ^~~~~ ogminfo.c:325:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 325 | !strncmp(&pack.packet[1],"Direct Show Samples embedded in Ogg", | ^~~~~~~~~~~~~~~ @@ -4570,32 +4733,6 @@ /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: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} 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 " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4610,61 +4747,6 @@ | | | long long int | %ld -ogmcat.cpp: In function 'void check_all_sources()': -ogmcat.cpp:636:68: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] - 636 | " serial %d, type audio, samples per second %lld != " - | ~~~^ - | | - | long long int - | %ld - 637 | "%lld\n", __FILE__, sources->name, src->name, str->serial, - 638 | get_uint64(&str->sth.samples_per_unit), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | u_int64_t {aka long unsigned int} -ogmcat.cpp:637:25: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] - 637 | "%lld\n", __FILE__, sources->name, src->name, str->serial, - | ~~~^ - | | - | long long int - | %ld - 638 | get_uint64(&str->sth.samples_per_unit), - 639 | get_uint64(&stream->sth.samples_per_unit)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | u_int64_t {aka long unsigned int} -ogmcat.cpp:671:58: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] - 671 | " serial %d, type text, time unit %lld != %lld\n", - | ~~~^ - | | - | long long int - | %ld - 672 | __FILE__, sources->name, src->name, str->serial, - 673 | get_uint64(&str->sth.time_unit), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | u_int64_t {aka long unsigned int} -ogmcat.cpp:671:66: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] - 671 | " serial %d, type text, time unit %lld != %lld\n", - | ~~~^ - | | - | long long int - | %ld -...... - 674 | get_uint64(&stream->sth.time_unit)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | u_int64_t {aka long unsigned int} -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} 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, " | ~~~~~~^ @@ -4676,42 +4758,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | long 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); - | ^~~~~ -ogmcat.cpp: In function 'void process_ogms()': -ogmcat.cpp:815:52: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 815 | fprintf(stdout, "len: %d at pno %lld p0 %d\n", lenbytes, - | ~~~^ - | | - | long long int - | %ld - 816 | stream->packetno, (int)pack.packet[0]); - | ~~~~~~~~~~~~~~~~ - | | - | ogg_int64_t {aka long int} -ogmcat.cpp:865:70: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 865 | fprintf(stdout, "Stream %d, type %s, current granulepos %lld", - | ~~~^ - | | - | long long int - | %ld -...... - 871 | stream->this_granulepos); - | ~~~~~~~~~~~~~~~~~~~~~~~ - | | - | ogg_int64_t {aka long int} -ogmcat.cpp:873:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 873 | fprintf(stdout, ", granulepos offset %lld (including manual sync " - | ~~~^ - | | - | long long int - | %ld - 874 | "%lld)", stream->granuleposadd, manual_sync_granule); - | ~~~~~~~~~~~~~~~~~~~~~ - | | - | ogg_int64_t {aka long int} 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 " | ~~~^ @@ -4723,16 +4769,6 @@ | ~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} -ogmdemux.c: In function 'main': -ogmcat.cpp:874:25: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] - 874 | "%lld)", stream->granuleposadd, manual_sync_granule); - | ~~~^ ~~~~~~~~~~~~~~~~~~~ - | | | - | long long int ogg_int64_t {aka long int} - | %ld -ogmdemux.c:713:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 713 | xaudio = (char *)malloc(1); - | ^ 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 " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4741,157 +4777,16 @@ | ~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} -ogmdemux.c:714:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 714 | xvideo = (char *)malloc(1); - | ^ 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 -ogmdemux.c:715:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 715 | xtext = (char *)malloc(1); - | ^ -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) - | ~~~~~~~~~~~~^~~ -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) - | ^~~~~~~~~~ -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) - | ~~~~~~~~~~~~^~~ -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; - | ^~~~ -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) - | ~~~~~~~~~~~~^~~ -ogmmerge.cpp:935:7: warning: ignoring return value of 'int nice(int)' declared with attribute 'warn_unused_result' [-Wunused-result] - 935 | nice(2); - | ~~~~^~~ 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); | ^~~~~~~ -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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~ -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); - | ^~~~~ -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_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_wav.cpp:53:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 53 | 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_wav.cpp: In constructor 'wav_reader_c::wav_reader_c(char*, audio_sync_t*, range_t*, char**)': -r_wav.cpp:59:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 59 | throw error_c("wav_reader: Could not open source file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_wav.cpp:61:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 61 | throw error_c("wav_reader: Could not seek to end of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_wav.cpp:64:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 64 | throw error_c("wav_reader: Could not seek to beginning of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_wav.cpp:66:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 66 | throw error_c("wav_reader: Source is not a valid WAVE file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_wav.cpp:68:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 68 | throw error_c("wav_reader: could not read WAVE header."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_mp3.cpp:63:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] - 63 | range_t *nrange, char **ncomments) throw (error_c) { - | ^~~~~ -r_mp3.cpp: In constructor 'mp3_reader_c::mp3_reader_c(char*, audio_sync_t*, range_t*, char**)': -r_mp3.cpp:70:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 70 | throw error_c("mp3_reader: Could not open source file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_mp3.cpp:72:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 72 | throw error_c("mp3_reader: Could not seek to end of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_mp3.cpp:75:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 75 | throw error_c("mp3_reader: Could not seek to beginning of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_mp3.cpp:80:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 80 | throw error_c("mp3_reader: Could not read 4096 bytes."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_mp3.cpp:82:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 82 | throw error_c("mp3_reader: Could not seek to beginning of file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -r_mp3.cpp:85:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 85 | throw error_c("mp3_reader: No valid MP3 packet found in the first " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 86 | "4096 bytes.\n"); - | ~~~~~~~~~~~~~~~ -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 ogmsplit.cpp:28: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); @@ -5042,10 +4937,75 @@ ogmsplit.cpp:924:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 924 | print_progress(file_size, file_size, "bytes"); | ^~~~~~~ +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); + | ^~~~~ ogmsplit.cpp: In function 'int main(int, char**)': ogmsplit.cpp:1141:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1141 | fout_ext = "ogm"; | ^~~~~ +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} ogmsplit.cpp:1162:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 1162 | fprintf(stdout, "%lldbytes.\n", split_bytes); | ~~~^ ~~~~~~~~~~~ @@ -5053,35 +5013,92 @@ | | ogg_int64_t {aka long int} | long long int | %ld +ogmcat.cpp: In function 'void check_all_sources()': +ogmcat.cpp:636:68: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 636 | " serial %d, type audio, samples per second %lld != " + | ~~~^ + | | + | long long int + | %ld + 637 | "%lld\n", __FILE__, sources->name, src->name, str->serial, + 638 | get_uint64(&str->sth.samples_per_unit), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | u_int64_t {aka long unsigned int} +ogmcat.cpp:637:25: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 637 | "%lld\n", __FILE__, sources->name, src->name, str->serial, + | ~~~^ + | | + | long long int + | %ld + 638 | get_uint64(&str->sth.samples_per_unit), + 639 | get_uint64(&stream->sth.samples_per_unit)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | u_int64_t {aka long unsigned int} +ogmcat.cpp:671:58: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 671 | " serial %d, type text, time unit %lld != %lld\n", + | ~~~^ + | | + | long long int + | %ld + 672 | __FILE__, sources->name, src->name, str->serial, + 673 | get_uint64(&str->sth.time_unit), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | u_int64_t {aka long unsigned int} +ogmcat.cpp:671:66: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] + 671 | " serial %d, type text, time unit %lld != %lld\n", + | ~~~^ + | | + | long long int + | %ld +...... + 674 | get_uint64(&stream->sth.time_unit)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | u_int64_t {aka long unsigned int} +ogmcat.cpp: In function 'void process_ogms()': +ogmcat.cpp:815:52: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 815 | fprintf(stdout, "len: %d at pno %lld p0 %d\n", lenbytes, + | ~~~^ + | | + | long long int + | %ld + 816 | stream->packetno, (int)pack.packet[0]); + | ~~~~~~~~~~~~~~~~ + | | + | ogg_int64_t {aka long int} +ogmcat.cpp:865:70: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 865 | fprintf(stdout, "Stream %d, type %s, current granulepos %lld", + | ~~~^ + | | + | long long int + | %ld +...... + 871 | stream->this_granulepos); + | ~~~~~~~~~~~~~~~~~~~~~~~ + | | + | ogg_int64_t {aka long int} +ogmcat.cpp:873:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 873 | fprintf(stdout, ", granulepos offset %lld (including manual sync " + | ~~~^ + | | + | long long int + | %ld + 874 | "%lld)", stream->granuleposadd, manual_sync_granule); + | ~~~~~~~~~~~~~~~~~~~~~ + | | + | ogg_int64_t {aka long int} +ogmcat.cpp:874:25: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] + 874 | "%lld)", stream->granuleposadd, manual_sync_granule); + | ~~~^ ~~~~~~~~~~~~~~~~~~~ + | | | + | long long int ogg_int64_t {aka long int} + | %ld 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)-> @@ -5093,6 +5110,7 @@ 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 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,7 +5124,25 @@ ogmdemux.c:542:11: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 542 | strncpy(stream->wh.data.id, "data", 4); | ^ -gcc -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ogmtools-1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o dvdxchap dvdxchap.o -L/usr/lib -ldvdread -lm +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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5118,6 +5154,8 @@ /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 +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 ogmcat.cpp:846:58: warning: 'vtime2' may be used uninitialized [-Wmaybe-uninitialized] 846 | stream->granuleposadd = (ogg_int64_t)(vtime2 * stream->sample_rate | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ @@ -5136,15 +5174,13 @@ ogmcat.cpp:700:37: note: 'vtime4' was declared here 700 | double vtime2, vtime3, vtime4; | ^~~~~~ -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 -j42 check "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 + make -j20 check "TESTSUITEFLAGS=-j20 --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' @@ -5158,7 +5194,7 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/ogmtools/ - make -j42 install DESTDIR=/build/reproducible-path/ogmtools-1.5/debian/ogmtools AM_UPDATE_INFO_DIR=no + make -j20 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' @@ -5193,8 +5229,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'ogmtools' in '../ogmtools_1.5-6_amd64.deb'. dpkg-deb: building package 'ogmtools-dbgsym' in '../ogmtools-dbgsym_1.5-6_amd64.deb'. +dpkg-deb: building package 'ogmtools' in '../ogmtools_1.5-6_amd64.deb'. dpkg-genbuildinfo --build=binary -O../ogmtools_1.5-6_amd64.buildinfo dpkg-genchanges --build=binary -O../ogmtools_1.5-6_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -5202,12 +5238,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/1855506/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1855506/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/1353440 and its subdirectories -I: Current time: Tue Jan 6 01:10:25 -12 2026 -I: pbuilder-time-stamp: 1767705025 +I: removing directory /srv/workspace/pbuilder/1855506 and its subdirectories +I: Current time: Wed Dec 4 20:50:57 +14 2024 +I: pbuilder-time-stamp: 1733295057