kfrlib / kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
https://www.kfrlib.com
GNU General Public License v2.0
1.62k stars 248 forks source link

Orphan #define statement in KFR6 #208

Closed xkzl closed 5 months ago

xkzl commented 5 months ago

I am loading kfr library on my C++ project and it results in the following error message. It seems an orphan #define statement is generated in config.h

[..]
In file included from /Users/marcomeyer/Software/kfr/6.0.0/include/kfr/all.hpp:24:
In file included from /Users/marcomeyer/Software/kfr/6.0.0/include/kfr/base.hpp:25:
In file included from /Users/marcomeyer/Software/kfr/6.0.0/include/kfr/math.hpp:25:
In file included from /Users/marcomeyer/Software/kfr/6.0.0/include/kfr/simd.hpp:25:
In file included from /Users/marcomeyer/Software/kfr/6.0.0/include/kfr/simd/abs.hpp:28:
In file included from /Users/marcomeyer/Software/kfr/6.0.0/include/kfr/simd/impl/abs.hpp:25:
In file included from /Users/marcomeyer/Software/kfr/6.0.0/include/kfr/simd/impl/../operators.hpp:28:
In file included from /Users/marcomeyer/Software/kfr/6.0.0/include/kfr/simd/impl/operators.hpp:28:
In file included from /Users/marcomeyer/Software/kfr/6.0.0/include/kfr/simd/impl/function.hpp:25:
In file included from /Users/marcomeyer/Software/kfr/6.0.0/include/kfr/simd/impl/../shuffle.hpp:27:
In file included from /Users/marcomeyer/Software/kfr/6.0.0/include/kfr/simd/constants.hpp:28:
In file included from /Users/marcomeyer/Software/kfr/6.0.0/include/kfr/simd/types.hpp:28:
In file included from /Users/marcomeyer/Software/kfr/6.0.0/include/kfr/simd/../kfr.h:28:
/Users/marcomeyer/Software/kfr/6.0.0/include/kfr/config.h:1:9: error: macro name missing
#define 
        ^
dancazarin commented 5 months ago

Fixed in v6