mirror of
https://github.com/recp/cglm.git
synced 2026-11-21 02:43:09 -06:00
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:
1 parent
f3ea5b4f3e
commit
c83f25343f
1 file changed
+2
-1
+2
-1
@@ -12,7 +12,8 @@ AM_CFLAGS = -Wall \
|
|||||||
-O3 \
|
-O3 \
|
||||||
-Wstrict-aliasing=2 \
|
-Wstrict-aliasing=2 \
|
||||||
-fstrict-aliasing \
|
-fstrict-aliasing \
|
||||||
-pedantic
|
-pedantic \
|
||||||
|
-Werror=strict-prototypes
|
||||||
|
|
||||||
lib_LTLIBRARIES = libcglm.la
|
lib_LTLIBRARIES = libcglm.la
|
||||||
libcglm_la_LDFLAGS = -no-undefined -version-info 0:1:0
|
libcglm_la_LDFLAGS = -no-undefined -version-info 0:1:0
|
||||||
|
|||||||
Reference in new issue
Block a user