While when compiling with gcc only warnings are shown... <code> libmpcodecs/ve_lavc.c: In function 'config': libmpcodecs/ve_lavc.c:444:39: warning: assignment to 'RcOverride *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 444 | lavc_venc_context->rc_override= | ^ </code> LLVM decided that this code is not acceptable: <code> libmpcodecs/ve_lavc.c:444:39: error: incompatible integer to pointer conversion assigning to 'RcOverride *' (aka 'struct RcOverride *') from 'int' [-Wint-conversion] clang -MMD -MP -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -march=native -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -DZLIB_CONST -I/usr/include/dvdcss -c -o codec-cfg.o codec-cfg.c lavc_venc_context->rc_override= </code> Reproducible: Always Steps to Reproduce: 1. Try to compile with clang/LLVM 15.0.6 2. 3. Actual Results: compilation fails Expected Results: compilation should succeed
Please always include the full build.log and emerge --info.
It's possible to emulate gcc's behaviour with "-Wno-error=int-conversion", but that's only a workaround, not a solution.