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.67k stars 256 forks source link

clang 7 build failed #27

Closed smartnet-club closed 6 years ago

smartnet-club commented 6 years ago

include/kfr/dsp/goertzel.hpp:99:16: error: flexible array member 'result' with type 'complex<T> []' is not at the end of struct complex<T> result[];

should be:

...
    vec<T, width> q2;
    complex<T> result[];
};
kgupta15 commented 6 years ago

Had this error too, the given answer worked for me.

dancazarin commented 6 years ago

Fixed