Set no-unused-lambda-capture
This commit is contained in:
parent
adbe00a466
commit
36fc3f5a74
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ function(set_project_warnings)
|
|||
-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)
|
||||
-Wno-unused-lambda-capture # We like explicit capture
|
||||
)
|
||||
|
||||
if (WARNINGS_AS_ERRORS)
|
||||
|
|
Loading…
Reference in a new issue