From bebbe211bc9023581054eebeb6a065d185a5a976 Mon Sep 17 00:00:00 2001 From: Kevin Moran Date: Wed, 21 Sep 2016 09:23:07 +1000 Subject: [PATCH] Suppress GCC anonymous struct warning --- HandmadeMath.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/HandmadeMath.h b/HandmadeMath.h index 032d562..05e92af 100644 --- a/HandmadeMath.h +++ b/HandmadeMath.h @@ -178,6 +178,10 @@ #pragma warning(disable:4201) #endif +#ifdef __GNUC__ +#pragma GCC diagnostic ignored "-Wgnu-anonymous-struct" +#endif + #ifdef __cplusplus extern "C" {