Error out on invalid empty prototypes

This way, a function prototype like `glms_mat3_identity()` will not
compile, instead you have to change it to the proper
`glms_mat3_identity(void)`.
This commit is contained in:
Carsten Hartenfels
2019-11-18 05:06:46 -05:00
parent f3ea5b4f3e
commit c83f25343f

View File

@@ -12,7 +12,8 @@ AM_CFLAGS = -Wall \
-O3 \
-Wstrict-aliasing=2 \
-fstrict-aliasing \
-pedantic
-pedantic \
-Werror=strict-prototypes
lib_LTLIBRARIES = libcglm.la
libcglm_la_LDFLAGS = -no-undefined -version-info 0:1:0