Merge pull request #845 from mtavenrath/fix_warnings
Fix compiler warnings on gcc/clang
This commit is contained in:
@@ -18,9 +18,6 @@
|
||||
#include "vulkan/vulkan.hpp"
|
||||
#include <iostream>
|
||||
|
||||
static char const* AppName = "ArrayProxy";
|
||||
static char const* EngineName = "Vulkan.hpp";
|
||||
|
||||
void fct(vk::ArrayProxy<int> /*ap*/)
|
||||
{}
|
||||
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#if defined(__clang__) || defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||||
#endif
|
||||
|
||||
int main( int /*argc*/, char ** /*argv*/ )
|
||||
{
|
||||
char const * appName = "DesignatedInitializers";
|
||||
|
||||
Reference in New Issue
Block a user