Add some extra warnings
This commit is contained in:
parent
4c1cf4aa67
commit
c410e2596c
1 changed files with 3 additions and 0 deletions
|
@ -46,6 +46,7 @@ function(add_warnings_to_targets targets)
|
||||||
"-Wabsolute-value"
|
"-Wabsolute-value"
|
||||||
"-Wall"
|
"-Wall"
|
||||||
"-Wcall-to-pure-virtual-from-ctor-dtor"
|
"-Wcall-to-pure-virtual-from-ctor-dtor"
|
||||||
|
"-Wcast-align"
|
||||||
"-Wcatch-value"
|
"-Wcatch-value"
|
||||||
"-Wdeprecated"
|
"-Wdeprecated"
|
||||||
"-Wdeprecated-register"
|
"-Wdeprecated-register"
|
||||||
|
@ -60,12 +61,14 @@ function(add_warnings_to_targets targets)
|
||||||
"-Wold-style-cast"
|
"-Wold-style-cast"
|
||||||
"-Wparentheses"
|
"-Wparentheses"
|
||||||
"-Wpedantic"
|
"-Wpedantic"
|
||||||
|
"-Wreorder"
|
||||||
"-Wreturn-std-move"
|
"-Wreturn-std-move"
|
||||||
"-Wshadow"
|
"-Wshadow"
|
||||||
"-Wstrict-aliasing"
|
"-Wstrict-aliasing"
|
||||||
"-Wsuggest-override"
|
"-Wsuggest-override"
|
||||||
"-Wundef"
|
"-Wundef"
|
||||||
"-Wunreachable-code"
|
"-Wunreachable-code"
|
||||||
|
"-Wunused"
|
||||||
"-Wunused-function"
|
"-Wunused-function"
|
||||||
"-Wunused-parameter"
|
"-Wunused-parameter"
|
||||||
"-Wvla"
|
"-Wvla"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue