mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Enable -Wunknown-pragmas
This commit is contained in:
parent
ed345e5b65
commit
631d7d0ce7
2 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue