* Package: media-video/mpeg-tools-1.5b-r5:0 * Repository: gentoo * Maintainer: media-video@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking mpeg_encode-1.5b-src.tar.gz to /var/tmp/portage/media-video/mpeg-tools-1.5b-r5/work >>> Source unpacked in /var/tmp/portage/media-video/mpeg-tools-1.5b-r5/work >>> Preparing source in /var/tmp/portage/media-video/mpeg-tools-1.5b-r5/work/mpeg_encode ... * Applying mpeg-tools-1.5b-build.patch ... [ ok ] * Applying mpeg-tools-1.5b-64bit_fixes.patch ... [ ok ] * Applying mpeg-tools-1.5b-tempfile-convert.patch ... [ ok ] * Applying mpeg-tools-1.5b-as-needed.patch ... patching file convert/Makefile patching file convert/mtv/Makefile patching file mpeg_encode/Makefile Hunk #1 succeeded at 203 with fuzz 1. [ ok ] * Applying mpeg-tools-1.5b-powerpc.patch ... [ ok ] * Applying mpeg-tools-1.5b-jpeg.patch ... [ ok ] * Applying mpeg-tools-1.5b-tempfile-mpeg-encode.patch ... [ ok ] * Applying mpeg-tools-1.5b-tempfile-tests.patch ... [ ok ] >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>> Configuring source in /var/tmp/portage/media-video/mpeg-tools-1.5b-r5/work/mpeg_encode ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-video/mpeg-tools-1.5b-r5/work/mpeg_encode ... make -j4 CC=clang clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o main.o main.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o specifics.o specifics.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o mfwddct.o mfwddct.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o readframe.o readframe.c main.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ main.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfwddct.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mp_fwd_dct_block2(data, dest) ^ mfwddct.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mp_fwd_dct_fast(data2d, dest2d) ^ specifics.c:194:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Parse_Specifics_File(fp) ^ specifics.c:242:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Parse_Specifics_File_v1(fp) ^ mfwddct.c:343:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void reference_fwd_dct(block, dest) ^ specifics.c:249:7: warning: variable 'num_scanned' set but not used [-Wunused-but-set-variable] int num_scanned; ^ specifics.c:300:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Parse_Specifics_File_v2(fp) ^ specifics.c:452:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void AddSlc(c, snum, qs) ^ specifics.c:488:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Block_Specifics *AddBs(c,bnum,rel,qs) ^ specifics.c:533:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int SpecLookup(fn,typ,num,info,start_qs) ^ specifics.c:667:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int SpecTypeLookup(fn) ^ readframe.c:209:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void SetResize(set) ^ readframe.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _ReadFrame(frame, fileName, fileHook, conversion, addPath) ^ readframe.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFileType(conversion) ^ readframe.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFileFormat(format) ^ readframe.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadPNM(fp, mf) ^ readframe.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readframe.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadIOConvert(fileName) ^ readframe.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadPPM(mf, fpointer) ^ readframe.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readframe.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadEYUV(mf, fpointer, width, height) ^ readframe.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readframe.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadAYUV(mf, fpointer, width, height) ^ readframe.c:828:8: warning: assigning to 'int8 *' (aka 'char *') from 'uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cbptr = &(mf->orig_cb[y>>1][0]); ^ ~~~~~~~~~~~~~~~~~~~~~~~ readframe.c:829:8: warning: assigning to 'int8 *' (aka 'char *') from 'uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] crptr = &(mf->orig_cr[y>>1][0]); ^ ~~~~~~~~~~~~~~~~~~~~~~~ readframe.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadAYUV(mf, fpointer, width, height) ^ readframe.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SeparateLine(fpointer, lineptr, width) ^ readframe.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readframe.c:946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadY(mf, fpointer, width, height) ^ readframe.c:946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readframe.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadSub4(mf, fpointer, width, height) ^ readframe.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readframe.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScanNextString(inputLine, string) ^ readframe.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readframe.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoGamma(mf, w, h) ^ readframe.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readframe.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoKillDim(mf, w, h) ^ readframe.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 2 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o pframe.o pframe.c 3 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o mheaders.o mheaders.c 8 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o block.o block.c pframe.c:205:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenPFrame(bb, current, prev) ^ pframe.c:751:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetPQScale(qP) ^ pframe.c:788:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShowPFrameSummary(inputFrameBits, totalBits, fpointer) ^ pframe.c:875:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeHalfPixelData(frame) ^ pframe.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ZeroMotionBetter(currentBlock, prev, by, bx, my, mx) ^ pframe.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pframe.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoIntraCode(currentBlock, prev, by, bx, motionY, motionX) ^ pframe.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pframe.c:1051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ZeroMotionSufficient(currentBlock, prev, by, bx) ^ pframe.c:1051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] block.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeDiffDCTBlock(current, dest, motionBlock) ^ block.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeDiffDCTs(current, prev, by, bx, my, mx, pattern) ^ block.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeMotionBlock(prev, by, bx, my, mx, motionBlock) ^ block.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeMotionLumBlock(prevFrame, by, bx, my, mx, motionBlock) ^ block.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LumBlockMAD(currentBlock, motionBlock, bestSoFar) ^ block.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LumMotionError(currentBlock, prevFrame, by, bx, my, mx, bestSoFar) ^ block.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LumAddMotionError(currentBlock, blockSoFar, prevFrame, by, bx, my, mx, ^ block.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddMotionBlock(block, prev, by, bx, my, mx) ^ block.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddBMotionBlock(block, prev, next, by, bx, mode, fmy, fmx, bmy, bmx) ^ block.c:951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BlockToData(data, block, by, bx) ^ block.c:986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BlockifyFrame(framePtr) ^ mheaders.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetGOPStartTime(index) ^ mheaders.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mhead_GenPictureHeader(bbPtr, frameType, pictCount, f_code) ^ mheaders.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mhead_GenSequenceHeader(bbPtr, hsize, vsize, pratio, pict_rate, bit_rate, ^ mheaders.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mhead_GenSequenceEnder(bbPtr) ^ mheaders.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mhead_GenGOPHeader(bbPtr, drop_frame_flag, tc_hrs, tc_min, tc_sec, tc_pict, ^ mheaders.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mhead_GenSliceHeader(bbPtr, verticalPos, qscale, extra_info, extra_info_size) ^ mheaders.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mhead_GenSliceEnder(bbPtr) ^ mheaders.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mhead_GenMBHeader(bbPtr, pict_code_type, addr_incr, q_scale, ^ mheaders.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenMBType(bbPtr, pict_code_type, mb_quant, motion_forw, motion_back, ^ mheaders.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mheaders.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenMotionCode(bbPtr, vector) ^ mheaders.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mheaders.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenBlockPattern(bbPtr, mb_pattern) ^ mheaders.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mheaders.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenMBAddrIncr(bbPtr, addr_incr) ^ mheaders.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mheaders.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenPictHead(bbPtr, temp_ref, code_type, vbv_delay, full_pel_forw_flag, ^ mheaders.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 18 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o bitio.o bitio.c bitio.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bitio_New(filePtr) ^ bitio.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bitio_Free(bbPtr) ^ bitio.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bitio_Write(bbPtr, bits, nbits) ^ bitio.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bitio_Flush(bbPtr) ^ 10 warnings generated. bitio.c:306:13: warning: variable 'bitsWritten' set but not used [-Wunused-but-set-variable] int bitsWritten = 0; ^ bitio.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bitio_WriteToSocket(bbPtr, socket) ^ bitio.c:399:13: warning: variable 'bitsWritten' set but not used [-Wunused-but-set-variable] int bitsWritten = 0; ^ bitio.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bitio_BytePad(bbPtr) ^ bitio.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Dump(bbPtr) ^ bitio.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o opts.o opts.c 27 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o rgbtoycc.o rgbtoycc.c opts.c:161:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ParseTuneParam(charPtr) ^ opts.c:222:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void SetupCollectQuantStats(charPtr) ^ opts.c:266:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void SetupKillDimAreas(charPtr) ^ opts.c:308:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void SetupSquashSmall(charPtr) ^ opts.c:332:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void SetupLocalDCT(charPtr) ^ opts.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mpost_UnQuantZigBlockLaplace(in, out, qscale, iblock) ^ opts.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupWriteDistortions(charPtr) ^ opts.c:507:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int mse(blk1, blk2) ^ rgbtoycc.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PNMtoYUV(frame) ^ rgbtoycc.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PPMtoYUV(frame) ^ 10 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o jrevdct.o jrevdct.c 2 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o fsize.o fsize.c jrevdct.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mpeg_jrevdct(data) ^ jrevdct.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mpeg_jrevdct_quick(data) ^ jrevdct.c:1246:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void reference_rev_dct(block) ^ 8 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o bsearch.o bsearch.c fsize.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fsize_Validate(x, y) ^ fsize.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fsize_Note(id, width, height) ^ 2 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o iframe.o iframe.c bsearch.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBSearchAlg(alg) ^ bsearch.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BMotionSearch(currentBlock, prev, next, by, bx, fmy, fmx, bmy, bmx, oldMode) ^ bsearch.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BMotionSearchSimple(currentBlock, prev, next, by, bx, fmy, fmx, bmy, bmx, ^ bsearch.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bsearch.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BMotionSearchCross2(currentBlock, prev, next, by, bx, fmy, fmx, bmy, bmx, ^ bsearch.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bsearch.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BMotionSearchExhaust(currentBlock, prev, next, by, bx, fmy, fmx, bmy, bmx, ^ bsearch.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bsearch.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindBestMatch(block, currentBlock, prev, by, bx, motionY, motionX, bestS... ^ bsearch.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bsearch.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindBestMatchExhaust(block, currentBlock, prev, by, bx, motionY, motionX, ^ bsearch.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bsearch.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindBestMatchTwoLevel(block, currentBlock, prev, by, bx, motionY, motionX, ^ bsearch.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bsearch.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindBestMatchLogarithmic(block, currentBlock, prev, by, bx, motionY, motionX, ^ bsearch.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bsearch.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindBestMatchSubSample(block, currentBlock, prev, by, bx, motionY, motionX, ^ bsearch.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bsearch.c:1033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BMotionSearchNoInterp(currentBlock, prev, next, by, bx, fmy, fmx, forwardErr, ^ bsearch.c:1033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iframe.c:241:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFCodeHelper(SR) ^ iframe.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSlicesPerFrame(number) ^ iframe.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetIQScale(qI) ^ iframe.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenIFrame(bb, current) ^ iframe.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShowIFrameSummary(inputFrameBits, totalBits, fpointer) ^ iframe.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EncodeYDC(dc_term, pred_term, bb) ^ iframe.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EncodeCDC(dc_term, pred_term, bb) ^ iframe.c:837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BlockComputeSNR(current, snr, psnr) ^ iframe.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteDecodedFrame(frame) ^ iframe.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintItoIBitRate(numBits, frameNum) ^ iframe.c:1087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CalcDistortion(current, y, x) ^ 3 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o jpeg.o jpeg.c 20 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iheaders -Wall -Wmissing-prototypes -c -o mpeg.o mpeg.c jpeg.c:106:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JMovie2JPEG(infilename,obase,start,end) ^ jpeg.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadJPEG(mf, fp) ^ jpeg.c:586:7: error: call to undeclared function 'jcopy_sample_rows'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] jcopy_sample_rows(scanarray[ci],0,(JSAMPARRAY)(orig[ci]), ^ jpeg.c:610:16: warning: variable 'no_from_stdin' set but not used [-Wunused-but-set-variable] static int no_from_stdin = 0; ^ 3 warnings and 1 error generated. make: *** [: jpeg.o] Error 1 shuffle=4270849400 make: *** Waiting for unfinished jobs.... mpeg.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetReferenceFrameType(type) ^ mpeg.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBitRateFileName(fileName) ^ mpeg.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenMPEGStream(whichGOP, frameStart, frameEnd, qtable, niqtable, numFrames, ^ mpeg.c:604:17: warning: passing 'unsigned char[]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlen(userDataFileName) != 0) { ^~~~~~~~~~~~~~~~ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ mpeg.c:608:13: warning: passing 'unsigned char[]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stat(userDataFileName,&statbuf); ^~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:205:41: note: passing argument to parameter '__file' here extern int stat (const char *__restrict __file, ^ mpeg.c:611:24: warning: passing 'unsigned char[]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((fp = fopen(userDataFileName,"rb")) == NULL) { ^~~~~~~~~~~~~~~~ /usr/include/stdio.h:258:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ mpeg.c:641:53: warning: passing 'char *' to parameter of type 'uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] /* user_data */ userData, /* user_da... ^~~~~~~~ headers/mheaders.h:72:41: note: passing argument to parameter 'user_data' here int32 ext_data_size, uint8 *user_data, int32 user_data_size)); ^ mpeg.c:310:26: warning: variable 'res' set but not used [-Wunused-but-set-variable] int32 bitstreamMode, res; ^ mpeg.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetStatFileName(fileName) ^ mpeg.c:797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetGOPSize(size) ^ mpeg.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintStartStats(firstFrame, lastFrame) ^ mpeg.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NonLocalRefFrame(id) ^ mpeg.c:1031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeDHMSTime(someTime, timeText) ^ mpeg.c:1031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mpeg.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeGOPFrames(whichGOP, firstFrame, lastFrame, numFrames) ^ mpeg.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mpeg.c:1146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintEndStats(inputFrameBits, totalBits) ^ mpeg.c:1146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mpeg.c:1226:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ProcessRefFrame(frame, bb, lastFrame, outputFileName) ^ 11 warnings generated. mpeg.c:1226:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mpeg.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadDecodedRefFrame(frame, frameNumber) ^ 11 warnings generated. 21 warnings generated. * ERROR: media-video/mpeg-tools-1.5b-r5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-video/mpeg-tools-1.5b-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/mpeg-tools-1.5b-r5::gentoo'`. * The complete build log is located at '/var/log/portage/media-video:mpeg-tools-1.5b-r5:20221110-195330.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-video/mpeg-tools-1.5b-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/mpeg-tools-1.5b-r5/temp/environment'. * Working directory: '/var/tmp/portage/media-video/mpeg-tools-1.5b-r5/work/mpeg_encode' * S: '/var/tmp/portage/media-video/mpeg-tools-1.5b-r5/work/mpeg_encode'