refactor: Got rid of -Wsign-conversion warnings on UDLs

Refers to #226
This commit is contained in:
Mateusz Pusz
2021-02-17 19:37:20 +01:00
parent 86584dbfe2
commit a7f452cd12
76 changed files with 1115 additions and 1116 deletions

View File

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