wip
This commit is contained in:
parent
7c2a2a2e72
commit
d35ff9d28e
@ -49,7 +49,7 @@ endmacro ()
|
||||
add_warning(all)
|
||||
add_warning(extra)
|
||||
add_warning(pedantic)
|
||||
# add_warning(error) # treat all warnings as errors
|
||||
add_warning(error) # treat all warnings as errors
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
||||
add_warning(strict-overflow=1)
|
||||
endif()
|
||||
@ -84,5 +84,3 @@ no_warning(comma-subscript)
|
||||
no_warning(ambiguous-reversed-operator)
|
||||
no_warning(restrict)
|
||||
no_warning(free-nonheap-object)
|
||||
no_warning(array-bounds)
|
||||
no_warning(uninitialized)
|
||||
|
Loading…
Reference in New Issue
Block a user