Fix usage of "pragma GCC diagnostic ..."

This commit is contained in:
Stephen Seo 2023-07-24 11:18:43 +09:00
parent d3927723cf
commit 3036a8c97d
5 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,6 @@
#include "shape.hpp"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#include <glm/ext/matrix_transform.hpp>
#include <glm/gtx/matrix_transform_2d.hpp>

View file

@ -3,6 +3,7 @@
#include <vector>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#include <raylib.h>
#include <glm/glm.hpp>

View file

@ -12,6 +12,7 @@
#define STARTING_HELP_FADE_RATE 0.2f
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
Tri::State::State(int argc, char **argv) :
flags(),

View file

@ -7,6 +7,7 @@
#include <vector>
#include <array>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#include "glm/glm.hpp"
#pragma GCC diagnostic pop

View file

@ -1,3 +1,4 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#include "catch_amalgamated.hpp"
#pragma GCC diagnostic pop