[Samsung Galaxy J1 ROMs, Kernels, Recoveries, & Oth] Iv4n_1976:
also this xml the final error is:

[ 54% 16634/30774] target thumb C++: libstagefright <= frameworks/av/media/libstagefright/ACodec.cpp

FAILED: /bin/bash -c "(PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I ./frameworks/av/include/media/ -I ./frameworks/av/media/libavextensions -I ./frameworks/av/media/libstagefright/mpeg2ts -I ./frameworks/av/include/media/stagefright/timedtext -I ./frameworks/native/include/media/hardware -I ./frameworks/native/include/media/openmax -I ./external/flac/include -I ./external/tremolo -I ./external/libvpx/libwebm -I ./system/netd/include -I system/media/audio_utils/include -I hardware/qcom/media/sc8830/mm-core/inc -I ./external/stagefright-plugins/include -I frameworks/av/media/libstagefright -I /home/ivan/Esperimenti/i9105/out/target/product/j13g/obj/SHARED_LIBRARIES/libstagefright_intermediates -I /home/ivan/Esperimenti/i9105/out/target/product/j13g/gen/SHARED_LIBRARIES/libstagefright_intermediates -I libnativehelper/include/nativehelper \$(cat /home/ivan/Esperimenti/i9105/out/target/product/j13g/obj/SHARED_LIBRARIES/libstagefright_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem hardware/ril/include -isystem /home/ivan/Esperimenti/i9105/out/target/product/j13g/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -c -fno-exceptions -Wno-multichar -DDISABLE_ASHMEM_TRACKING -msoft-float -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -mcpu=cortex-a7 -mfpu=neon-vfpv4 -D__ARM_FEATURE_LPAE=1 -mfloat-abi=softfp -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target arm-linux-androideabi -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -fvisibility-inlines-hidden -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -target arm-linux-androideabi -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -fno-rtti -DBOARD_CANT_REALLOCATE_OMX_BUFFERS -DCAMCORDER_GRALLOC_SOURCE -Wno-multichar -Werror -Wno-error=deprecated-declarations -Wall -DENABLE_STAGEFRIGHT_EXPERIMENTS -fPIC -D_USING_LIBCXX -fsanitize=unsigned-integer-overflow,signed-integer-overflow -fsanitize-trap=all -ftrap-function=abort -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/ivan/Esperimenti/i9105/out/target/product/j13g/obj/SHARED_LIBRARIES/libstagefright_intermediates/ACodec.d -o /home/ivan/Esperimenti/i9105/out/target/product/j13g/obj/SHARED_LIBRARIES/libstagefright_intermediates/ACodec.o frameworks/av/media/libstagefright/ACodec.cpp ) && (cp /home/ivan/Esperimenti/i9105/out/target/product/j13g/obj/SHARED_LIBRARIES/libstagefright_intermediates/ACodec.d /home/ivan/Esperimenti/i9105/out/target/product/j13g/obj/SHARED_LIBRARIES/libstagefright_intermediates/ACodec.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/ivan/Esperimenti/i9105/out/target/product/j13g/obj/SHARED_LIBRARIES/libstagefright_intermediates/ACodec.d >> /home/ivan/Esperimenti/i9105/out/target/product/j13g/obj/SHARED_LIBRARIES/libstagefright_intermediates/ACodec.P; rm -f /home/ivan/Esperimenti/i9105/out/target/product/j13g/obj/SHARED_LIBRARIES/libstagefright_intermediates/ACodec.d )"

frameworks/av/media/libstagefright/ACodec.cpp:4142:89: error: unused parameter 'name' [-Werror,-Wunused-parameter]

static OMX_VIDEO_CONTROLRATETYPE getBitrateMode(const sp<AMessage> &msg, const AString &name) {

^

1 error generated.