From 8353800b3fcf0b018c0c3d847fcaeddaa08b8261 Mon Sep 17 00:00:00 2001 From: JbR <90027771+jbr-smtg@users.noreply.github.com> Date: Wed, 6 Oct 2021 07:22:53 +0200 Subject: [PATCH] Ignore old c cast style not supported by apple cc (#1334) --- Include/arm_math_types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Include/arm_math_types.h b/Include/arm_math_types.h index 4619292f..cce295f8 100755 --- a/Include/arm_math_types.h +++ b/Include/arm_math_types.h @@ -38,6 +38,7 @@ extern "C" #elif defined ( __ARMCC_VERSION ) && ( __ARMCC_VERSION >= 6010050 ) #elif defined ( __APPLE_CC__ ) + #pragma GCC diagnostic ignored "-Wold-style-cast" #elif defined ( __GNUC__ ) #pragma GCC diagnostic push