adamstark/AudioFile

Missing #include <limits>

dfleury2 opened this issue · 4 comments

gcc 11 complains about numeric_limits not available.

#include is missing.

Regards,

are you on windows? i had to do this to get build with AudioFile.h:

#undef max 
#undef min
#include <limits>

as even the following did not resolve issues with limits:

#define NOMINMAX
#include <windows.h>
#include <limits>

No, under Linux Debian.

I've just pushed something to the develop branch - can you let me know if this fixes the problem for you? :)

Works for me.
Thanks.