From Buff Agouti, 5 Years ago, written in Plain Text.
Embed
  1. [ 67% 30703/45799] target thumb C++: libsdmcore_32 <= hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp
  2. FAILED: /bin/bash -c "(prebuilts/misc/darwin-x86/ccache/ccache prebuilts/clang/host/darwin-x86/clang-2690385/bin/clang++ -I device/zte/ailsa_ii/include -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libqdutils -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libqservice -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libcopybit -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../sdm/include -I /Volumes/android/CM14/out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include -I hardware/qcom/display-caf/msm8996/sdm/libs/core -I /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates -I /Volumes/android/CM14/out/target/product/ailsa_ii/gen/SHARED_LIBRARIES/libsdmcore_intermediates -I libnativehelper/include/nativehelper \$(cat /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_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-caf/include -isystem /Volumes/android/CM14/out/target/product/ailsa_ii/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 -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 -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -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/darwin-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin    -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo  -Wno-inconsistent-missing-override -nostdlibinc  -target arm-linux-androideabi   -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing  -fno-rtti -Wno-unused-parameter -DLOG_TAG=\\\"SDM\\\" -DDEBUG_CALC_FPS -Wno-missing-field-initializers -Wconversion -Wall -Werror -std=c++11 -isystem hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libgralloc -D__ARM_HAVE_NEON -DVENUS_COLOR_FORMAT -DQTI_BSP -fPIC -D_USING_LIBCXX -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 /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_info.d -o /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_info.o hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp ) && (cp /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_info.d /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_info.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_info.d >> /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_info.P; rm -f /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_info.d )"
  3. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:452:8: error: use of undeclared identifier 'MDP_RGBA_1010102'; did you mean 'MDP_RGBA_5551'?
  4.   case MDP_RGBA_1010102:           return kFormatRGBA1010102;
  5.        ^~~~~~~~~~~~~~~~
  6.        MDP_RGBA_5551
  7. out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include/linux/msm_mdp.h:173:2: note: 'MDP_RGBA_5551' declared here
  8.         MDP_RGBA_5551,  /*RGBA 5551*/
  9.         ^
  10. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:453:8: error: use of undeclared identifier 'MDP_ARGB_2101010'; did you mean 'MDP_ARGB_1555'?
  11.   case MDP_ARGB_2101010:           return kFormatARGB2101010;
  12.        ^~~~~~~~~~~~~~~~
  13.        MDP_ARGB_1555
  14. out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include/linux/msm_mdp.h:172:2: note: 'MDP_ARGB_1555' declared here
  15.         MDP_ARGB_1555,  /*ARGB 1555*/
  16.         ^
  17. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:454:8: error: use of undeclared identifier 'MDP_RGBX_1010102'
  18.   case MDP_RGBX_1010102:           return kFormatRGBX1010102;
  19.        ^
  20. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:455:8: error: use of undeclared identifier 'MDP_XRGB_2101010'
  21.   case MDP_XRGB_2101010:           return kFormatXRGB2101010;
  22.        ^
  23. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:456:8: error: use of undeclared identifier 'MDP_BGRA_1010102'
  24.   case MDP_BGRA_1010102:           return kFormatBGRA1010102;
  25.        ^
  26. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:457:8: error: use of undeclared identifier 'MDP_ABGR_2101010'
  27.   case MDP_ABGR_2101010:           return kFormatABGR2101010;
  28.        ^
  29. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:458:8: error: use of undeclared identifier 'MDP_BGRX_1010102'
  30.   case MDP_BGRX_1010102:           return kFormatBGRX1010102;
  31.        ^
  32. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:459:8: error: use of undeclared identifier 'MDP_XBGR_2101010'
  33.   case MDP_XBGR_2101010:           return kFormatXBGR2101010;
  34.        ^
  35. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:460:8: error: use of undeclared identifier 'MDP_RGBA_1010102_UBWC'; did you mean 'MDP_RGBA_8888_UBWC'?
  36.   case MDP_RGBA_1010102_UBWC:      return kFormatRGBA1010102Ubwc;
  37.        ^~~~~~~~~~~~~~~~~~~~~
  38.        MDP_RGBA_8888_UBWC
  39. out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include/linux/msm_mdp.h:177:2: note: 'MDP_RGBA_8888_UBWC' declared here
  40.         MDP_RGBA_8888_UBWC,
  41.         ^
  42. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:461:8: error: use of undeclared identifier 'MDP_RGBX_1010102_UBWC'; did you mean 'MDP_RGBX_8888_UBWC'?
  43.   case MDP_RGBX_1010102_UBWC:      return kFormatRGBX1010102Ubwc;
  44.        ^~~~~~~~~~~~~~~~~~~~~
  45.        MDP_RGBX_8888_UBWC
  46. out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include/linux/msm_mdp.h:179:2: note: 'MDP_RGBX_8888_UBWC' declared here
  47.         MDP_RGBX_8888_UBWC,
  48.         ^
  49. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:462:8: error: use of undeclared identifier 'MDP_Y_CBCR_H2V2_P010'
  50.   case MDP_Y_CBCR_H2V2_P010:       return kFormatYCbCr420P010;
  51.        ^
  52. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:463:8: error: use of undeclared identifier 'MDP_Y_CBCR_H2V2_TP10_UBWC'; did you mean 'MDP_Y_CBCR_H2V2_UBWC'?
  53.   case MDP_Y_CBCR_H2V2_TP10_UBWC:  return kFormatYCbCr420TP10Ubwc;
  54.        ^~~~~~~~~~~~~~~~~~~~~~~~~
  55.        MDP_Y_CBCR_H2V2_UBWC
  56. out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include/linux/msm_mdp.h:178:2: note: 'MDP_Y_CBCR_H2V2_UBWC' declared here
  57.         MDP_Y_CBCR_H2V2_UBWC,
  58.         ^
  59. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:452:8: error: duplicate case value 'MDP_RGBA_5551'
  60.   case MDP_RGBA_1010102:           return kFormatRGBA1010102;
  61.        ^
  62. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:430:8: note: previous case defined here
  63.   case MDP_RGBA_5551:              return kFormatRGBA5551;
  64.        ^
  65. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:460:8: error: duplicate case value 'MDP_RGBA_8888_UBWC'
  66.   case MDP_RGBA_1010102_UBWC:      return kFormatRGBA1010102Ubwc;
  67.        ^
  68. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:436:8: note: previous case defined here
  69.   case MDP_RGBA_8888_UBWC:         return kFormatRGBA8888Ubwc;
  70.        ^
  71. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:463:8: error: duplicate case value 'MDP_Y_CBCR_H2V2_UBWC'
  72.   case MDP_Y_CBCR_H2V2_TP10_UBWC:  return kFormatYCbCr420TP10Ubwc;
  73.        ^
  74. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:449:8: note: previous case defined here
  75.   case MDP_Y_CBCR_H2V2_UBWC:       return kFormatYCbCr420SPVenusUbwc;
  76.        ^
  77. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:461:8: error: duplicate case value 'MDP_RGBX_8888_UBWC'
  78.   case MDP_RGBX_1010102_UBWC:      return kFormatRGBX1010102Ubwc;
  79.        ^
  80. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_info.cpp:437:8: note: previous case defined here
  81.   case MDP_RGBX_8888_UBWC:         return kFormatRGBX8888Ubwc;
  82.        ^
  83. 16 errors generated.
  84. [ 67% 30703/45799] target thumb C++: libsdmcore_32 <= hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_virtual.cpp
  85. FAILED: /bin/bash -c "(prebuilts/misc/darwin-x86/ccache/ccache prebuilts/clang/host/darwin-x86/clang-2690385/bin/clang++ -I device/zte/ailsa_ii/include -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libqdutils -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libqservice -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libcopybit -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../sdm/include -I /Volumes/android/CM14/out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include -I hardware/qcom/display-caf/msm8996/sdm/libs/core -I /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates -I /Volumes/android/CM14/out/target/product/ailsa_ii/gen/SHARED_LIBRARIES/libsdmcore_intermediates -I libnativehelper/include/nativehelper \$(cat /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_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-caf/include -isystem /Volumes/android/CM14/out/target/product/ailsa_ii/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 -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 -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -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/darwin-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin    -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo  -Wno-inconsistent-missing-override -nostdlibinc  -target arm-linux-androideabi   -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing  -fno-rtti -Wno-unused-parameter -DLOG_TAG=\\\"SDM\\\" -DDEBUG_CALC_FPS -Wno-missing-field-initializers -Wconversion -Wall -Werror -std=c++11 -isystem hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libgralloc -D__ARM_HAVE_NEON -DVENUS_COLOR_FORMAT -DQTI_BSP -fPIC -D_USING_LIBCXX -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 /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_virtual.d -o /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_virtual.o hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_virtual.cpp ) && (cp /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_virtual.d /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_virtual.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_virtual.d >> /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_virtual.P; rm -f /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_virtual.d )"
  86. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_virtual.cpp:31:
  87. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_virtual.h:28:
  88. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:35:
  89. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.h:74:14: error: use of undeclared identifier 'mdp_scale_data_v2'
  90.   std::array<mdp_scale_data_v2, (kMaxSDELayers * 2)> scale_data_v2_ = {};
  91.              ^
  92. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.h:75:22: error: unknown type name 'mdp_scale_data_v2'; did you mean 'mdp_scale_data'?
  93.   std::map<uint32_t, mdp_scale_data_v2> dest_scale_data_v2_ = {};
  94.                      ^~~~~~~~~~~~~~~~~
  95.                      mdp_scale_data
  96. out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include/linux/msm_mdp.h:681:8: note: 'mdp_scale_data' declared here
  97. struct mdp_scale_data {
  98.        ^
  99. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_virtual.cpp:31:
  100. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_virtual.h:28:
  101. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:149:15: error: use of undeclared identifier 'mdp_destination_scaler_data'
  102.   std::vector<mdp_destination_scaler_data> mdp_dest_scalar_data_;
  103.               ^
  104. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_virtual.cpp:31:
  105. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_virtual.h:32:7: error: 'sdm::HWVirtual' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
  106. class HWVirtual : public HWDevice {
  107.       ^
  108. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_virtual.cpp:45:20: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWVirtual'
  109.   return HWDevice::Init();
  110.                    ^~~~
  111. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_virtual.cpp:49:13: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWVirtual'
  112.   HWDevice::ResetDisplayParams();
  113.             ^~~~~~~~~~~~~~~~~~
  114. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_virtual.cpp:50:20: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWVirtual'
  115.   return HWDevice::Validate(hw_layers);
  116.                    ^~~~~~~~
  117. 7 errors generated.
  118. [ 67% 30703/45799] target thumb C++: libsdmcore_32 <= hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp
  119. FAILED: /bin/bash -c "(prebuilts/misc/darwin-x86/ccache/ccache prebuilts/clang/host/darwin-x86/clang-2690385/bin/clang++ -I device/zte/ailsa_ii/include -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libqdutils -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libqservice -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libcopybit -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../sdm/include -I /Volumes/android/CM14/out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include -I hardware/qcom/display-caf/msm8996/sdm/libs/core -I /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates -I /Volumes/android/CM14/out/target/product/ailsa_ii/gen/SHARED_LIBRARIES/libsdmcore_intermediates -I libnativehelper/include/nativehelper \$(cat /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_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-caf/include -isystem /Volumes/android/CM14/out/target/product/ailsa_ii/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 -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 -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -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/darwin-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin    -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo  -Wno-inconsistent-missing-override -nostdlibinc  -target arm-linux-androideabi   -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing  -fno-rtti -Wno-unused-parameter -DLOG_TAG=\\\"SDM\\\" -DDEBUG_CALC_FPS -Wno-missing-field-initializers -Wconversion -Wall -Werror -std=c++11 -isystem hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libgralloc -D__ARM_HAVE_NEON -DVENUS_COLOR_FORMAT -DQTI_BSP -fPIC -D_USING_LIBCXX -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 /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_primary.d -o /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_primary.o hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp ) && (cp /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_primary.d /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_primary.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_primary.d >> /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_primary.P; rm -f /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_primary.d )"
  120. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:47:
  121. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.h:32:
  122. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:35:
  123. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.h:74:14: error: use of undeclared identifier 'mdp_scale_data_v2'
  124.   std::array<mdp_scale_data_v2, (kMaxSDELayers * 2)> scale_data_v2_ = {};
  125.              ^
  126. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.h:75:22: error: unknown type name 'mdp_scale_data_v2'; did you mean 'mdp_scale_data'?
  127.   std::map<uint32_t, mdp_scale_data_v2> dest_scale_data_v2_ = {};
  128.                      ^~~~~~~~~~~~~~~~~
  129.                      mdp_scale_data
  130. out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include/linux/msm_mdp.h:681:8: note: 'mdp_scale_data' declared here
  131. struct mdp_scale_data {
  132.        ^
  133. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:47:
  134. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.h:32:
  135. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:149:15: error: use of undeclared identifier 'mdp_destination_scaler_data'
  136.   std::vector<mdp_destination_scaler_data> mdp_dest_scalar_data_;
  137.               ^
  138. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:47:
  139. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.h:36:7: error: 'sdm::HWPrimary' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
  140. class HWPrimary : public HWDevice {
  141.       ^
  142. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:84:21: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWPrimary'
  143.   error = HWDevice::Init();
  144.                     ^~~~
  145. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:100:3: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWPrimary'
  146.   EnableHotPlugDetection(0);
  147.   ^~~~~~~~~~~~~~~~~~~~~~
  148. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:101:3: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWPrimary'
  149.   EnableHotPlugDetection(1);
  150.   ^~~~~~~~~~~~~~~~~~~~~~
  151. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:276:5: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWPrimary'
  152.     PopulateHWPanelInfo();
  153.     ^~~~~~~~~~~~~~~~~~~
  154. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:325:20: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWPrimary'
  155.   return HWDevice::GetConfigIndex(mode, index);
  156.                    ^~~~~~~~~~~~~~
  157. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:359:13: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWPrimary'
  158.   HWDevice::ResetDisplayParams();
  159.             ^~~~~~~~~~~~~~~~~~
  160. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:391:5: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWPrimary'
  161.     SetFormat(output_buffer->format, &mdp_out_layer_.buffer.format);
  162.     ^~~~~~~~~
  163. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:406:20: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWPrimary'
  164.   return HWDevice::Validate(hw_layers);
  165.                    ^~~~~~~~
  166. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:416:7: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWPrimary'
  167.       SetStride(device_type_, output_buffer->format, output_buffer->planes[0].stride,
  168.       ^~~~~~~~~
  169. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:432:32: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWPrimary'
  170.   DisplayError ret = HWDevice::Commit(hw_layers);
  171.                                ^~~~~~
  172. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:469:20: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWPrimary'
  173.   return HWDevice::SetVSyncState(enable);
  174.                    ^~~~~~~~~~~~~
  175. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:562:17: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWPrimary'
  176.   if (HWDevice::SysFsWrite(kAutoRefreshNode, buffer, bytes) <= 0) {  // Returns bytes written
  177.                 ^~~~~~~~~~
  178. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.cpp:632:20: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWPrimary'
  179.   return HWDevice::SetMixerAttributes(mixer_attributes);
  180.                    ^~~~~~~~~~~~~~~~~~
  181. 17 errors generated.
  182. [ 67% 30703/45799] target thumb C++: libsdmcore_32 <= hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp
  183. FAILED: /bin/bash -c "(prebuilts/misc/darwin-x86/ccache/ccache prebuilts/clang/host/darwin-x86/clang-2690385/bin/clang++ -I device/zte/ailsa_ii/include -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libqdutils -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libqservice -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libcopybit -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../sdm/include -I /Volumes/android/CM14/out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include -I hardware/qcom/display-caf/msm8996/sdm/libs/core -I /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates -I /Volumes/android/CM14/out/target/product/ailsa_ii/gen/SHARED_LIBRARIES/libsdmcore_intermediates -I libnativehelper/include/nativehelper \$(cat /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_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-caf/include -isystem /Volumes/android/CM14/out/target/product/ailsa_ii/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 -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 -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -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/darwin-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin    -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo  -Wno-inconsistent-missing-override -nostdlibinc  -target arm-linux-androideabi   -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing  -fno-rtti -Wno-unused-parameter -DLOG_TAG=\\\"SDM\\\" -DDEBUG_CALC_FPS -Wno-missing-field-initializers -Wconversion -Wall -Werror -std=c++11 -isystem hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libgralloc -D__ARM_HAVE_NEON -DVENUS_COLOR_FORMAT -DQTI_BSP -fPIC -D_USING_LIBCXX -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 /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_device.d -o /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_device.o hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp ) && (cp /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_device.d /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_device.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_device.d >> /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_device.P; rm -f /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_device.d )"
  184. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:50:
  185. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:35:
  186. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.h:74:14: error: use of undeclared identifier 'mdp_scale_data_v2'
  187.   std::array<mdp_scale_data_v2, (kMaxSDELayers * 2)> scale_data_v2_ = {};
  188.              ^
  189. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.h:75:22: error: unknown type name 'mdp_scale_data_v2'; did you mean 'mdp_scale_data'?
  190.   std::map<uint32_t, mdp_scale_data_v2> dest_scale_data_v2_ = {};
  191.                      ^~~~~~~~~~~~~~~~~
  192.                      mdp_scale_data
  193. out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include/linux/msm_mdp.h:681:8: note: 'mdp_scale_data' declared here
  194. struct mdp_scale_data {
  195.        ^
  196. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:50:
  197. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:149:15: error: use of undeclared identifier 'mdp_destination_scaler_data'
  198.   std::vector<mdp_destination_scaler_data> mdp_dest_scalar_data_;
  199.               ^
  200. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:51:
  201. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_primary.h:36:7: error: 'sdm::HWPrimary' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
  202. class HWPrimary : public HWDevice {
  203.       ^
  204. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:52:
  205. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.h:38:7: error: 'sdm::HWHDMI' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
  206. class HWHDMI : public HWDevice {
  207.       ^
  208. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:53:
  209. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_virtual.h:32:7: error: 'sdm::HWVirtual' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
  210. class HWVirtual : public HWDevice {
  211.       ^
  212. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:72:10: error: assigning to 'sdm::HWDevice *' from incompatible type 'sdm::HWPrimary *'
  213.       hw = new HWPrimary(buffer_sync_handler, hw_info_intf);
  214.          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  215. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:75:10: error: assigning to 'sdm::HWDevice *' from incompatible type 'sdm::HWHDMI *'
  216.       hw = new HWHDMI(buffer_sync_handler, hw_info_intf);
  217.          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  218. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:78:10: error: assigning to 'sdm::HWDevice *' from incompatible type 'sdm::HWVirtual *'
  219.       hw = new HWVirtual(buffer_sync_handler, hw_info_intf);
  220.          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  221. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:91:9: error: assigning to 'sdm::HWInterface *' from incompatible type 'sdm::HWDevice *'
  222.   *intf = hw;
  223.         ^ ~~
  224. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:290:25: error: assigning to 'struct mdp_scale_data *' from incompatible type 'void *'
  225.         mdp_layer.scale = hw_scale_->GetScaleDataRef(mdp_layer_count, pipe_info->sub_block_type);
  226.                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  227. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:345:5: error: use of undeclared identifier 'mdp_destination_scaler_data'; did you mean 'mdp_dest_scalar_data_'?
  228.     mdp_destination_scaler_data *dest_scalar_data = &mdp_dest_scalar_data_[index];
  229.     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  230.     mdp_dest_scalar_data_
  231. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:149:44: note: 'mdp_dest_scalar_data_' declared here
  232.   std::vector<mdp_destination_scaler_data> mdp_dest_scalar_data_;
  233.                                            ^
  234. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:345:34: error: use of undeclared identifier 'dest_scalar_data'; did you mean 'dest_scale_info'?
  235.     mdp_destination_scaler_data *dest_scalar_data = &mdp_dest_scalar_data_[index];
  236.                                  ^~~~~~~~~~~~~~~~
  237.                                  dest_scale_info
  238. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:343:22: note: 'dest_scale_info' declared here
  239.     HWDestScaleInfo *dest_scale_info = it->second;
  240.                      ^
  241. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:350:7: error: use of undeclared identifier 'dest_scalar_data'; did you mean 'mdp_dest_scalar_data_'?
  242.       dest_scalar_data->flags |= MDP_DESTSCALER_SCALE_UPDATE;
  243.       ^~~~~~~~~~~~~~~~
  244.       mdp_dest_scalar_data_
  245. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:149:44: note: 'mdp_dest_scalar_data_' declared here
  246.   std::vector<mdp_destination_scaler_data> mdp_dest_scalar_data_;
  247.                                            ^
  248. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:350:34: error: use of undeclared identifier 'MDP_DESTSCALER_SCALE_UPDATE'
  249.       dest_scalar_data->flags |= MDP_DESTSCALER_SCALE_UPDATE;
  250.                                  ^
  251. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:353:5: error: use of undeclared identifier 'dest_scalar_data'; did you mean 'mdp_dest_scalar_data_'?
  252.     dest_scalar_data->dest_scaler_ndx = i;
  253.     ^~~~~~~~~~~~~~~~
  254.     mdp_dest_scalar_data_
  255. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:149:44: note: 'mdp_dest_scalar_data_' declared here
  256.   std::vector<mdp_destination_scaler_data> mdp_dest_scalar_data_;
  257.                                            ^
  258. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:354:5: error: use of undeclared identifier 'dest_scalar_data'; did you mean 'mdp_dest_scalar_data_'?
  259.     dest_scalar_data->lm_width = dest_scale_info->mixer_width;
  260.     ^~~~~~~~~~~~~~~~
  261.     mdp_dest_scalar_data_
  262. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:149:44: note: 'mdp_dest_scalar_data_' declared here
  263.   std::vector<mdp_destination_scaler_data> mdp_dest_scalar_data_;
  264.                                            ^
  265. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:355:5: error: use of undeclared identifier 'dest_scalar_data'; did you mean 'mdp_dest_scalar_data_'?
  266.     dest_scalar_data->lm_height = dest_scale_info->mixer_height;
  267.     ^~~~~~~~~~~~~~~~
  268.     mdp_dest_scalar_data_
  269. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:149:44: note: 'mdp_dest_scalar_data_' declared here
  270.   std::vector<mdp_destination_scaler_data> mdp_dest_scalar_data_;
  271.                                            ^
  272. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.cpp:356:5: error: use of undeclared identifier 'dest_scalar_data'; did you mean 'mdp_dest_scalar_data_'?
  273.     dest_scalar_data->scale = reinterpret_cast <uint64_t>
  274.     ^~~~~~~~~~~~~~~~
  275.     mdp_dest_scalar_data_
  276. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:149:44: note: 'mdp_dest_scalar_data_' declared here
  277.   std::vector<mdp_destination_scaler_data> mdp_dest_scalar_data_;
  278.                                            ^
  279. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  280. 20 errors generated.
  281. [ 67% 30703/45799] target thumb C++: libsdmcore_32 <= hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp
  282. FAILED: /bin/bash -c "(prebuilts/misc/darwin-x86/ccache/ccache prebuilts/clang/host/darwin-x86/clang-2690385/bin/clang++ -I device/zte/ailsa_ii/include -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libqdutils -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libqservice -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libcopybit -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../sdm/include -I /Volumes/android/CM14/out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include -I hardware/qcom/display-caf/msm8996/sdm/libs/core -I /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates -I /Volumes/android/CM14/out/target/product/ailsa_ii/gen/SHARED_LIBRARIES/libsdmcore_intermediates -I libnativehelper/include/nativehelper \$(cat /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_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-caf/include -isystem /Volumes/android/CM14/out/target/product/ailsa_ii/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 -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 -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -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/darwin-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin    -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo  -Wno-inconsistent-missing-override -nostdlibinc  -target arm-linux-androideabi   -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing  -fno-rtti -Wno-unused-parameter -DLOG_TAG=\\\"SDM\\\" -DDEBUG_CALC_FPS -Wno-missing-field-initializers -Wconversion -Wall -Werror -std=c++11 -isystem hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libgralloc -D__ARM_HAVE_NEON -DVENUS_COLOR_FORMAT -DQTI_BSP -fPIC -D_USING_LIBCXX -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 /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_hdmi.d -o /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_hdmi.o hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp ) && (cp /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_hdmi.d /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_hdmi.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_hdmi.d >> /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_hdmi.P; rm -f /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_hdmi.d )"
  283. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp:43:
  284. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.h:32:
  285. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:35:
  286. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.h:74:14: error: use of undeclared identifier 'mdp_scale_data_v2'
  287.   std::array<mdp_scale_data_v2, (kMaxSDELayers * 2)> scale_data_v2_ = {};
  288.              ^
  289. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.h:75:22: error: unknown type name 'mdp_scale_data_v2'; did you mean 'mdp_scale_data'?
  290.   std::map<uint32_t, mdp_scale_data_v2> dest_scale_data_v2_ = {};
  291.                      ^~~~~~~~~~~~~~~~~
  292.                      mdp_scale_data
  293. out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include/linux/msm_mdp.h:681:8: note: 'mdp_scale_data' declared here
  294. struct mdp_scale_data {
  295.        ^
  296. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp:43:
  297. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.h:32:
  298. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:149:15: error: use of undeclared identifier 'mdp_destination_scaler_data'
  299.   std::vector<mdp_destination_scaler_data> mdp_dest_scalar_data_;
  300.               ^
  301. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp:43:
  302. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.h:38:7: error: 'sdm::HWHDMI' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
  303. class HWHDMI : public HWDevice {
  304.       ^
  305. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp:95:21: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWHDMI'
  306.   error = HWDevice::Init();
  307.                     ^~~~
  308. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp:104:5: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWHDMI'
  309.     Deinit();
  310.     ^~~~~~
  311. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp:109:5: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWHDMI'
  312.     Deinit();
  313.     ^~~~~~
  314. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp:115:5: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWHDMI'
  315.     Deinit();
  316.     ^~~~~~
  317. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp:180:5: error: no matching member function for call to 'ParseLine'
  318.     ParseLine(ptr, tokens, edid_count_max, &hdmi_mode_count);
  319.     ^~~~~~~~~
  320. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:121:7: note: candidate function not viable: no known conversion from 'sdm::HWHDMI' to 'sdm::HWDevice' for object argument
  321.   int ParseLine(const char *input, char *tokens[], const uint32_t max_token, uint32_t *count);
  322.       ^
  323. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:122:7: note: candidate function not viable: requires 5 arguments, but 4 were provided
  324.   int ParseLine(const char *input, const char *delim, char *tokens[],
  325.       ^
  326. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp:323:13: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWHDMI'
  327.   HWDevice::ResetDisplayParams();
  328.             ^~~~~~~~~~~~~~~~~~
  329. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp:324:20: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWHDMI'
  330.   return HWDevice::Validate(hw_layers);
  331.                    ^~~~~~~~
  332. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp:419:3: error: no matching member function for call to 'ParseLine'
  333.   ParseLine(data, tokens, scan_info_max_count, &scan_info_count);
  334.   ^~~~~~~~~
  335. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:121:7: note: candidate function not viable: no known conversion from 'sdm::HWHDMI' to 'sdm::HWDevice' for object argument
  336.   int ParseLine(const char *input, char *tokens[], const uint32_t max_token, uint32_t *count);
  337.       ^
  338. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_device.h:122:7: note: candidate function not viable: requires 5 arguments, but 4 were provided
  339.   int ParseLine(const char *input, const char *delim, char *tokens[],
  340.       ^
  341. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp:540:25: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWHDMI'
  342.   int hdmi_node_index = GetFBNodeIndex(kDeviceHDMI);
  343.                         ^~~~~~~~~~~~~~
  344. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_hdmi.cpp:552:22: error: cannot initialize object parameter of type 'sdm::HWDevice' with an expression of type 'sdm::HWHDMI'
  345.   length = HWDevice::SysFsWrite(sys_fs_path, property_value,
  346.                      ^~~~~~~~~~
  347. 14 errors generated.
  348. [ 67% 30703/45799] target thumb C++: libsdmcore_32 <= hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp
  349. FAILED: /bin/bash -c "(prebuilts/misc/darwin-x86/ccache/ccache prebuilts/clang/host/darwin-x86/clang-2690385/bin/clang++ -I device/zte/ailsa_ii/include -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libqdutils -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libqservice -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libcopybit -I hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../sdm/include -I /Volumes/android/CM14/out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include -I hardware/qcom/display-caf/msm8996/sdm/libs/core -I /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates -I /Volumes/android/CM14/out/target/product/ailsa_ii/gen/SHARED_LIBRARIES/libsdmcore_intermediates -I libnativehelper/include/nativehelper \$(cat /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_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-caf/include -isystem /Volumes/android/CM14/out/target/product/ailsa_ii/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 -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 -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -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/darwin-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin    -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo  -Wno-inconsistent-missing-override -nostdlibinc  -target arm-linux-androideabi   -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing  -fno-rtti -Wno-unused-parameter -DLOG_TAG=\\\"SDM\\\" -DDEBUG_CALC_FPS -Wno-missing-field-initializers -Wconversion -Wall -Werror -std=c++11 -isystem hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../libgralloc -D__ARM_HAVE_NEON -DVENUS_COLOR_FORMAT -DQTI_BSP -fPIC -D_USING_LIBCXX -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 /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_scale.d -o /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_scale.o hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp ) && (cp /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_scale.d /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_scale.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_scale.d >> /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_scale.P; rm -f /Volumes/android/CM14/out/target/product/ailsa_ii/obj_arm/SHARED_LIBRARIES/libsdmcore_intermediates/fb/hw_scale.d )"
  350. In file included from hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:27:
  351. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.h:74:14: error: use of undeclared identifier 'mdp_scale_data_v2'
  352.   std::array<mdp_scale_data_v2, (kMaxSDELayers * 2)> scale_data_v2_ = {};
  353.              ^
  354. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.h:75:22: error: unknown type name 'mdp_scale_data_v2'; did you mean 'mdp_scale_data'?
  355.   std::map<uint32_t, mdp_scale_data_v2> dest_scale_data_v2_ = {};
  356.                      ^~~~~~~~~~~~~~~~~
  357.                      mdp_scale_data
  358. out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include/linux/msm_mdp.h:681:8: note: 'mdp_scale_data' declared here
  359. struct mdp_scale_data {
  360.        ^
  361. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:35:11: error: assigning to 'sdm::HWScale *' from incompatible type 'sdm::HWScaleV2 *'
  362.     *intf = new HWScaleV2();
  363.           ^ ~~~~~~~~~~~~~~~
  364. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:130:3: error: unknown type name 'mdp_scale_data_v2'; did you mean 'mdp_scale_data'?
  365.   mdp_scale_data_v2 *mdp_scale;
  366.   ^~~~~~~~~~~~~~~~~
  367.   mdp_scale_data
  368. out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include/linux/msm_mdp.h:681:8: note: 'mdp_scale_data' declared here
  369. struct mdp_scale_data {
  370.        ^
  371. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:133:25: error: use of undeclared identifier 'MDP_LAYER_ENABLE_QSEED3_SCALE'
  372.     mdp_layer->flags |= MDP_LAYER_ENABLE_QSEED3_SCALE;
  373.                         ^
  374. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:136:5: error: unknown type name 'mdp_scale_data_v2'; did you mean 'mdp_scale_data'?
  375.     mdp_scale_data_v2 mdp_dest_scale;
  376.     ^~~~~~~~~~~~~~~~~
  377.     mdp_scale_data
  378. out/target/product/ailsa_ii/obj/KERNEL_OBJ/usr/include/linux/msm_mdp.h:681:8: note: 'mdp_scale_data' declared here
  379. struct mdp_scale_data {
  380.        ^
  381. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:137:5: error: unknown type name 'mdp_destination_scaler_data'
  382.     mdp_destination_scaler_data *dest_scalar =
  383.     ^
  384. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:138:24: error: unknown type name 'mdp_destination_scaler_data'
  385.       reinterpret_cast<mdp_destination_scaler_data *>(mdp_commit->dest_scaler);
  386.                        ^
  387. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:138:67: error: no member named 'dest_scaler' in 'mdp_layer_commit_v1'
  388.       reinterpret_cast<mdp_destination_scaler_data *>(mdp_commit->dest_scaler);
  389.                                                       ~~~~~~~~~~  ^
  390. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:140:32: error: use of undeclared identifier 'MDP_DESTSCALER_ENABLE'
  391.     dest_scalar[index].flags = MDP_DESTSCALER_ENABLE;
  392.                                ^
  393. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:143:35: error: use of undeclared identifier 'MDP_DESTSCALER_ENHANCER_UPDATE'
  394.       dest_scalar[index].flags |= MDP_DESTSCALER_ENHANCER_UPDATE;
  395.                                   ^
  396. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:150:14: error: no member named 'enable' in 'mdp_scale_data'
  397.   mdp_scale->enable = (scale_data.enable.scale ? ENABLE_SCALE : 0) |
  398.   ~~~~~~~~~  ^
  399. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:150:50: error: use of undeclared identifier 'ENABLE_SCALE'
  400.   mdp_scale->enable = (scale_data.enable.scale ? ENABLE_SCALE : 0) |
  401.                                                  ^
  402. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:151:64: error: use of undeclared identifier 'ENABLE_DIRECTION_DETECTION'
  403.                       (scale_data.enable.direction_detection ? ENABLE_DIRECTION_DETECTION : 0) |
  404.                                                                ^
  405. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:152:59: error: use of undeclared identifier 'ENABLE_DETAIL_ENHANCE'
  406.                       (scale_data.enable.detail_enhance ? ENABLE_DETAIL_ENHANCE : 0);
  407.                                                           ^
  408. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:161:39: error: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Werror,-Wsign-conversion]
  409.     mdp_scale->num_ext_pxls_left[i] = UINT32(plane.left.extension);
  410.                                     ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  411. hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../sdm/include/utils/constants.h:39:21: note: expanded from macro 'UINT32'
  412. #define UINT32(exp) static_cast<uint32_t>(exp)
  413.                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
  414. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:165:38: error: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Werror,-Wsign-conversion]
  415.     mdp_scale->num_ext_pxls_top[i] = UINT32(plane.top.extension);
  416.                                    ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  417. hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../sdm/include/utils/constants.h:39:21: note: expanded from macro 'UINT32'
  418. #define UINT32(exp) static_cast<uint32_t>(exp)
  419.                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
  420. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:166:30: error: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Werror,-Wsign-conversion]
  421.     mdp_scale->top_ftch[i] = UINT32(plane.top.overfetch);
  422.                            ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  423. hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../sdm/include/utils/constants.h:39:21: note: expanded from macro 'UINT32'
  424. #define UINT32(exp) static_cast<uint32_t>(exp)
  425.                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
  426. hardware/qcom/display-caf/msm8996/sdm/libs/core/fb/hw_scale.cpp:167:29: error: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Werror,-Wsign-conversion]
  427.     mdp_scale->top_rpt[i] = UINT32(plane.top.repeat);
  428.                           ~ ^~~~~~~~~~~~~~~~~~~~~~~~
  429. hardware/qcom/display-caf/msm8996/sdm/libs/core/../../../sdm/include/utils/constants.h:39:21: note: expanded from macro 'UINT32'
  430. #define UINT32(exp) static_cast<uint32_t>(exp)
  431.                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
  432. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  433. 20 errors generated.
  434. [ 67% 30703/45799] Building with Jack: /Volumes/android/CM14/out/target/common/obj/JAVA_LIBRARIES/services.core_intermediates/classes.jack
  435. ninja: build stopped: subcommand failed.
  436. make: *** [ninja_wrapper] Error 1
  437.  
  438. #### make failed to build some targets (38:08 (mm:ss)) ####
  439.