Fix warnings for included third party

Minor addition to .gitignore
This commit is contained in:
Stephen Seo 2021-07-07 16:08:21 +09:00
parent bf0baa6515
commit ca97d8b257
2 changed files with 9 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
build*/ build*/
compile_commands.json compile_commands.json
.clangd/ .clangd/
.cache/

View file

@ -1,6 +1,12 @@
#pragma warning(push, 0) #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wall"
#pragma GCC diagnostic ignored "-Wextra"
#pragma GCC diagnostic ignored "-Wpedantic"
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#pragma GCC diagnostic ignored "-Wenum-compare"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#define RAYGUI_IMPLEMENTATION #define RAYGUI_IMPLEMENTATION
#include <raygui.h> #include <raygui.h>
#pragma warning(pop) #pragma GCC diagnostic pop