Attempting to disable GCC compiler warnings in miniz.c (as I don't want to modify external code).
This commit is contained in:
parent
62370868c8
commit
80025eaa46
@ -15,7 +15,11 @@
|
|||||||
// For some unknown reason the miniz library is supplied only as a
|
// For some unknown reason the miniz library is supplied only as a
|
||||||
// single .c file without a header. Apparently the only way to use
|
// single .c file without a header. Apparently the only way to use
|
||||||
// it is then to #include it directly which is what the examples do.
|
// it is then to #include it directly which is what the examples do.
|
||||||
|
// We also disable some warnings as I don't want to fix external code.
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wno-enum-compare"
|
||||||
#include "PolyVoxCore/Impl/miniz.c"
|
#include "PolyVoxCore/Impl/miniz.c"
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user