mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 09:08:53 +00:00
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.
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
AM_CFLAGS = -Wall \
|
AM_CFLAGS = -Wall \
|
||||||
-std=gnu99 \
|
-std=gnu11 \
|
||||||
-O3 \
|
-O3 \
|
||||||
-Wstrict-aliasing=2 \
|
-Wstrict-aliasing=2 \
|
||||||
-fstrict-aliasing \
|
-fstrict-aliasing \
|
||||||
|
Reference in New Issue
Block a user