Replace deprecated -W with explicit -Wextra
`-W` looks odd in build logs, I thought it was a missing warning option... Turns out this has long been superseeded by `-Wexta`, so use that.
This commit is contained in:
parent
aa71b768bd
commit
205f90ab9e
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ INTERFACE
|
|||
$<IF:$<CONFIG:Debug>,,-fno-strict-aliasing>
|
||||
-pipe
|
||||
-Wall
|
||||
-W
|
||||
-Wextra
|
||||
-Wno-unused-parameter
|
||||
-Wno-switch
|
||||
-Wno-missing-field-initializers
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ target_compile_options(common_options
|
|||
INTERFACE
|
||||
-pipe
|
||||
-Wall
|
||||
-W
|
||||
-Wextra
|
||||
-fPIE
|
||||
$<$<COMPILE_LANGUAGE:OBJC,OBJCXX>:-fobjc-weak>
|
||||
-fvisibility-inlines-hidden
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue