mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
fix some warnings
This commit is contained in:
@ -53,8 +53,13 @@ function(set_project_warnings project_name)
|
||||
-Woverloaded-virtual # warn if you overload (not override) a virtual
|
||||
# function
|
||||
-Wpedantic # warn if non-standard C++ is used
|
||||
-Wconversion # warn on type conversions that may lose data
|
||||
#-Wconversion # warn on type conversions that may lose data
|
||||
#-Wsign-conversion # warn on sign conversions
|
||||
-Wstring-conversion
|
||||
-Wshorten-64-to-32
|
||||
-Wenum-conversion
|
||||
-Wbitfield-enum-conversion
|
||||
-Wnull-conversion
|
||||
-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
|
||||
|
Reference in New Issue
Block a user