Warn on -pedantic, don't error yet.

We still have some non-standard C code in toxcore for now.
This commit is contained in:
iphydf 2017-01-06 20:33:16 +00:00
parent e7270aa99d
commit 01cb35c1f6
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -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)