mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-06 23:25:02 -06:00
Enable -Wunknown-pragmas
This commit is contained in:
parent
ed345e5b65
commit
631d7d0ce7
@ -8,12 +8,16 @@
|
|||||||
#define VK_USE_PLATFORM_XLIB_KHR
|
#define VK_USE_PLATFORM_XLIB_KHR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#pragma warning( disable : 4005 )
|
#pragma warning( disable : 4005 )
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <vulkan/vulkan.h>
|
#include <vulkan/vulkan.h>
|
||||||
#include <vulkan/vk_sdk_platform.h>
|
#include <vulkan/vk_sdk_platform.h>
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <util/types.hpp>
|
#include <util/types.hpp>
|
||||||
|
|||||||
@ -34,7 +34,6 @@ else()
|
|||||||
|
|
||||||
#TODO Clean the code so these are removed
|
#TODO Clean the code so these are removed
|
||||||
add_compile_options(-Wno-unused-variable)
|
add_compile_options(-Wno-unused-variable)
|
||||||
add_compile_options(-Wno-unknown-pragmas)
|
|
||||||
add_compile_options(-Wno-unused-function)
|
add_compile_options(-Wno-unused-function)
|
||||||
add_compile_options(-Wno-attributes)
|
add_compile_options(-Wno-attributes)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user