mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-23 12:40:05 +00:00
Fixes for compilation under Linux gcc and clang. #2
This commit is contained in:
parent
6277abb3c4
commit
c7d1b584b7
@ -61,6 +61,7 @@ buildoptions { "/MD" }
|
||||
|
||||
|
||||
project "VmaReplay"
|
||||
removeplatforms { "Linux-x64" }
|
||||
kind "ConsoleApp"
|
||||
language "C++"
|
||||
location "../build"
|
||||
|
@ -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 <vulkan/vulkan.h>
|
||||
#include "vk_mem_alloc.h"
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#endif // #ifdef _WIN32
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user