Skip to content

Commit

Permalink
Enable -Wunknown-pragmas
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekotekina committed Jan 10, 2021
1 parent d7725f0 commit dda7d3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions rpcs3/Emu/RSX/VK/VulkanAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
1 change: 0 additions & 1 deletion rpcs3/cmake_modules/ConfigureCompiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit dda7d3b

Please sign in to comment.