From 390a5035a864a5c4522b05c833937f02c36b7b2c Mon Sep 17 00:00:00 2001 From: Carsten Hartenfels Date: Sat, 23 Nov 2019 18:09:08 -0500 Subject: [PATCH] Use gnu11 instead of gnu99 to get rid of warnings CGLM uses anonymous structs, which is a C11 feature. When trying to build the tests in C99 mode, you get warnings to that effect. Switching to C11 fixes this. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 5ecb08a..d775a52 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,7 @@ ACLOCAL_AMFLAGS = -I m4 AM_CFLAGS = -Wall \ - -std=gnu99 \ + -std=gnu11 \ -O3 \ -Wstrict-aliasing=2 \ -fstrict-aliasing \