mirror of
https://github.com/mpusz/mp-units.git
synced 2025-06-25 01:01:33 +02:00
@ -75,8 +75,7 @@ function(set_warnings)
|
||||
-Woverloaded-virtual # warn if you overload (not override) a virtual function
|
||||
-Wcast-qual # warn on dropping const or volatile qualifiers
|
||||
-Wconversion # warn on type conversions that may lose data
|
||||
# disabled due to the truncating on UDLs
|
||||
# -Wsign-conversion # warn on sign conversions
|
||||
-Wsign-conversion # warn on sign conversions
|
||||
-Wnull-dereference # warn if a null dereference is detected
|
||||
-Wdouble-promotion # warn if float is implicit promoted to double
|
||||
-Wformat=2 # warn on security issues around functions that format output (ie printf)
|
||||
|
Reference in New Issue
Block a user