Add clang ifdef for clang warning pragmas.

This commit is contained in:
Dario 2024-07-21 18:20:36 -03:00
parent 7f14741da2
commit f10ad63044

View File

@ -6,11 +6,17 @@
#include <unordered_set>
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wtautological-undefined-compare"
#pragma clang diagnostic ignored "-Wswitch"
#endif
#include "D3D12MemAlloc.cpp"
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#include "utf8conv/utf8conv.h"