From 814c32111f8272e21bca4bf093816738b31f2215 Mon Sep 17 00:00:00 2001 From: Christophe Favergeon Date: Thu, 28 Jan 2021 08:40:36 +0100 Subject: [PATCH] CMSIS-DSP: Correction issue #1111 Incorrect DSP inline macro definitions in arm_math_types.h for the host mode. --- Include/arm_math_types.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Include/arm_math_types.h b/Include/arm_math_types.h index 01e18a75..0c87f7f9 100755 --- a/Include/arm_math_types.h +++ b/Include/arm_math_types.h @@ -67,10 +67,8 @@ extern "C" #elif defined (__GNUC_PYTHON__) #include #define __ALIGNED(x) __attribute__((aligned(x))) -#define __STATIC_FORCEINLINE static __attribute__((inline)) -#define __STATIC_INLINE static __attribute__((inline)) -#pragma GCC diagnostic ignored "-Wunused-function" -#pragma GCC diagnostic ignored "-Wattributes" +#define __STATIC_FORCEINLINE static inline __attribute__((always_inline)) +#define __STATIC_INLINE static inline #else #include "cmsis_compiler.h"