mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 09:50:06 +00:00
Ignore compile warnings in tinyexr code
* To avoid making too many changes downstream from tinyexr, I just ignore these warnings.
This commit is contained in:
1 parent
d2f51deca9
commit
30ad13ff25
1 file changed
+11
+11
@@ -35,6 +35,17 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "tinyexr.h"
|
||||
|
||||
// BK modification - disable warnings generated in below code
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4244) // argument conversion, possible loss of data
|
||||
#pragma warning(disable : 4996) // function unsafe (fopen vs fopen_s)
|
||||
#pragma warning(disable : 4101) // unreferenced local variable
|
||||
#pragma warning(disable : 4201) // nonstandard extension used: nameless
|
||||
// struct/union
|
||||
#pragma warning(disable : 4018) // signed/unsigned mismatch
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
namespace miniz {
|
||||
|
||||
Reference in new issue
Block a user