Merge pull request #845 from mtavenrath/fix_warnings

Fix compiler warnings on gcc/clang
This commit is contained in:
Andreas Süßenbach
2021-01-19 08:38:45 +01:00
committed by GitHub
26 changed files with 4551 additions and 7034 deletions

View File

@@ -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*/)
{}

View File

@@ -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";