diff --git a/premake/premake5.lua b/premake/premake5.lua index c6d2b93..f6b8f5a 100644 --- a/premake/premake5.lua +++ b/premake/premake5.lua @@ -61,6 +61,7 @@ buildoptions { "/MD" } project "VmaReplay" +removeplatforms { "Linux-x64" } kind "ConsoleApp" language "C++" location "../build" diff --git a/src/VmaUsage.h b/src/VmaUsage.h index a85bf9e..bd31938 100644 --- a/src/VmaUsage.h +++ b/src/VmaUsage.h @@ -36,9 +36,18 @@ include all public interface declarations. Example: #else // #ifdef _WIN32 +#ifdef __clang__ + #pragma clang diagnostic push + #pragma clang diagnostic ignored "-Wtautological-compare" // comparison of unsigned expression < 0 is always false +#endif + #include #include "vk_mem_alloc.h" +#ifdef __clang__ + #pragma clang diagnostic pop +#endif + #endif // #ifdef _WIN32 #endif