Disable stringop-overflow warning when including minimp3 since it produces false positives.
This commit is contained in:
parent
2151ea5c1d
commit
541e83ed12
@ -34,12 +34,17 @@
|
|||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
#pragma warning(disable : 4242 4244 4267 4456 4706)
|
#pragma warning(disable : 4242 4244 4267 4456 4706)
|
||||||
|
#else
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wstringop-overflow"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <minimp3_ex.h>
|
#include <minimp3_ex.h>
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
|
#else
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef NOMINMAX
|
#undef NOMINMAX
|
||||||
|
Loading…
Reference in New Issue
Block a user