Skip to content

Commit fa7bb9b

Browse files
authored
Merge pull request #166 from RobLoach/gcc-warnings
Ignore missing field initializer warnings
2 parents c53610b + 89502d0 commit fa7bb9b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/raymath.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
extern "C" {
99
#endif
1010
#ifndef RAYLIB_CPP_NO_MATH
11+
#pragma GCC diagnostic push
12+
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
1113
#include "raymath.h" // NOLINT
14+
#pragma GCC diagnostic pop
1215
#endif
1316
#ifdef __cplusplus
1417
}

0 commit comments

Comments
 (0)