Silent warnings on unused variables in some tests; make test UniqueHandleDefaultArguments part of the solution for 64 bit only. (#1704)
This commit is contained in:
committed by
GitHub
parent
5b6f6faf7a
commit
3e0d722ca5
@@ -15,6 +15,16 @@
|
||||
// VulkanHpp Samples : StridedArrayProxy
|
||||
// Compile test on using vk::StridedArrayProxy
|
||||
|
||||
#if defined( _MSC_VER )
|
||||
// no need to ignore any warnings with MSVC
|
||||
#elif defined( __clang__ )
|
||||
# pragma clang diagnostic ignored "-Wunused-variable"
|
||||
#elif defined( __GNUC__ )
|
||||
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#else
|
||||
// unknow compiler... just ignore the warnings for yourselves ;)
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#include <vulkan/vulkan.hpp>
|
||||
#if ( 20 <= VULKAN_HPP_CPP_VERSION )
|
||||
|
||||
Reference in New Issue
Block a user