kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
Log | Files | Refs | README

commit b55a59872155ff669d334e87385f5a672dcbb483
parent 44161aee4d2f1c97260afce0e25a91831d86e91e
Author: bmanga <bruno.manga95@gmail.com>
Date:   Tue,  9 Jul 2019 16:11:33 +0100

Added gcc 9 workaround for lambda attributes

Diffstat:
Minclude/kfr/cident.h | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/kfr/cident.h b/include/kfr/cident.h @@ -342,7 +342,9 @@ extern char* gets(char* __s); #define CMT_NODEBUG // __attribute__((__nodebug__)) -#ifdef NDEBUG + +// GCC 9 broke attributes on lambdas. +#if defined(NDEBUG) && (!defined(__GNUC__) || __GNUC__ != 9) #define CMT_ALWAYS_INLINE __attribute__((__always_inline__)) #else #define CMT_ALWAYS_INLINE