[Android] Sapphiress:
Can anyone help me with this. I keep getting this error even though I've manually removed -Werror and replaced it with -Wno-error in all of the make files.

[ 52% 14718/28091] target C++: hwcomp...ay/msm8994/libhwcomposer/hwc_utils.cpp
FAILED: out/target/product/angler/obj/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_utils.o
/bin/bash -c "PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-g++ -I hardware/qcom/display/msm8994/libhwcomposer/../libgralloc -I hardware/qcom/display/msm8994/libhwcomposer/../liboverlay -I hardware/qcom/display/msm8994/libhwcomposer/../libcopybit -I hardware/qcom/display/msm8994/libhwcomposer/../libqdutils -I hardware/qcom/display/msm8994/libhwcomposer/../libhwcomposer -I hardware/qcom/display/msm8994/libhwcomposer/../libhdmi -I hardware/qcom/display/msm8994/libhwcomposer/../libqservice -I ./external/skia/include/core -I ./external/skia/include/images -I hardware/qcom/display/msm8994/libhwcomposer -I out/target/product/angler/obj/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I out/target/product/angler/gen/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I libnativehelper/include_jni \$(cat out/target/product/angler/obj/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -isystem out/target/product/angler/obj/include -isystem device/huawei/angler/kernel-headers -isystem hardware/qcom/msm8994/kernel-headers -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -fno-canonical-system-headers -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -fdiagnostics-color -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -mcpu=cortex-a53 -Wsign-promo -fvisibility-inlines-hidden -std=gnu++11 -fno-rtti -DDEBUG_CALC_FPS -Wno-missing-field-initializers -Wconversion -Wall -Werror -D__ARM_HAVE_NEON -DVENUS_COLOR_FORMAT -DMDSS_TARGET -D__STDC_FORMAT_MACROS -DANDROID_JELLYBEAN_MR1=1 -DLOG_TAG=\\\"qdhwcomposer\\\" -std=c++11 -fPIC -D_USING_LIBCXX -Wno-attributes -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -MD -MF out/target/product/angler/obj/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_utils.d -o out/target/product/angler/obj/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_utils.o hardware/qcom/display/msm8994/libhwcomposer/hwc_utils.cpp"
In file included from frameworks/av/media/libmedia/include/media/IMediaPlayer.h:27:0,
from frameworks/av/media/libmedia/include/media/IMediaPlayerService.h:29,
from frameworks/av/media/libmedia/include/media/IMediaDeathNotifier.h:21,
from hardware/qcom/display/msm8994/libhwcomposer/hwc_qclient.h:37,
from hardware/qcom/display/msm8994/libhwcomposer/hwc_utils.cpp:41:
frameworks/av/include/media/VolumeShaper.h: In copy constructor 'android::media::VolumeShaper::Configuration::Configuration(const android::media::VolumeShaper::Configuration&)':
frameworks/av/include/media/VolumeShaper.h:135:18: error: base class 'class android::Parcelable' should be explicitly initialized in the copy constructor [-Werror=extra]
explicit Configuration(const Configuration &configuration)
^
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
16:22:13 ninja failed with: exit status 1

#### failed to build some targets (04:36 (mm:ss)) ####

Update: Fixed, I missed common.mk and It was still setting -Werror.