mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00: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:
@@ -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