build: enable -Wextra for gcc and clang builds
This commit is contained in:
parent
df7abafe96
commit
5313db4399
@ -6,7 +6,7 @@ link_libraries(ws2_32)
|
||||
if(MSVC)
|
||||
add_compile_options(/Wall /wd4127 /wd4201 /wd4242 /wd4710 /wd4711 /wd4820)
|
||||
else()
|
||||
add_compile_options(-Wall)
|
||||
add_compile_options(-Wall -Wextra)
|
||||
endif()
|
||||
|
||||
file(GLOB SOURCES_SRC src/*.c src/*.h)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user