tests : add a C compliance test (#2848)
* tests : add a C compliance test * make : build C compliance test by default * make : fix clean and make sure C test fails on clang * make : move -Werror=implicit-int to CFLAGS
This commit is contained in:
parent
06abf8eeba
commit
849408957c
4 changed files with 15 additions and 3 deletions
|
@ -402,6 +402,7 @@ if (LLAMA_ALL_WARNINGS)
|
|||
-Wstrict-prototypes
|
||||
-Wpointer-arith
|
||||
-Wmissing-prototypes
|
||||
-Werror=implicit-int
|
||||
)
|
||||
set(cxx_flags
|
||||
-Wall
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue