From 410e21e88db9d98c8144cd93047e506ecd0b7ab4 Mon Sep 17 00:00:00 2001 From: SiCongLi Date: Fri, 11 Dec 2020 15:07:53 +0000 Subject: Fix baremetal arm_compute_validation build errors * Add -C flag to instruct preprocessor not to strip comments. This is to prevent marker comments like '// fall through' that suppresses certain warnings from being removed. * Fix unused variable warnings. * Add M_PI definition that's missing from certain toolchain standard libraries. Resolves COMPMID-4054 Change-Id: I1d641db668685d4b678f3d0efed84bfe9e630b4b Signed-off-by: SiCongLi Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4692 Reviewed-by: Georgios Pinitas Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- tests/validation/reference/DFT.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/validation/reference/DFT.cpp b/tests/validation/reference/DFT.cpp index b98bc77b1d..d5f7010a5b 100644 --- a/tests/validation/reference/DFT.cpp +++ b/tests/validation/reference/DFT.cpp @@ -27,6 +27,7 @@ #include "Permute.h" #include "Reverse.h" #include "SliceOperations.h" +#include "support/ToolchainSupport.h" #include -- cgit v1.2.1