mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00: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
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning( push )
|
||||
#pragma warning( disable : 4005 )
|
||||
#endif
|
||||
|
||||
#include <vulkan/vulkan.h>
|
||||
#include <vulkan/vk_sdk_platform.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
#include <util/types.hpp>
|
||||
|
|
|
@ -34,7 +34,6 @@ else()
|
|||
|
||||
#TODO Clean the code so these are removed
|
||||
add_compile_options(-Wno-unused-variable)
|
||||
add_compile_options(-Wno-unknown-pragmas)
|
||||
add_compile_options(-Wno-unused-function)
|
||||
add_compile_options(-Wno-attributes)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue