mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Warn on -pedantic, don't error yet.
We still have some non-standard C code in toxcore for now.
This commit is contained in:
parent
e7270aa99d
commit
01cb35c1f6
|
@ -61,8 +61,8 @@ endmacro()
|
|||
add_cflag("-std=c99")
|
||||
add_cxxflag("-std=c++11")
|
||||
|
||||
# Error on non-ISO C.
|
||||
add_cflag("-pedantic-errors")
|
||||
# Warn on non-ISO C.
|
||||
add_cflag("-pedantic")
|
||||
|
||||
option(WARNINGS "Enable additional compiler warnings" ON)
|
||||
if(WARNINGS)
|
||||
|
|
Loading…
Reference in New Issue
Block a user