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>
|
$<IF:$<CONFIG:Debug>,,-fno-strict-aliasing>
|
||||||
-pipe
|
-pipe
|
||||||
-Wall
|
-Wall
|
||||||
-W
|
-Wextra
|
||||||
-Wno-unused-parameter
|
-Wno-unused-parameter
|
||||||
-Wno-switch
|
-Wno-switch
|
||||||
-Wno-missing-field-initializers
|
-Wno-missing-field-initializers
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ target_compile_options(common_options
|
||||||
INTERFACE
|
INTERFACE
|
||||||
-pipe
|
-pipe
|
||||||
-Wall
|
-Wall
|
||||||
-W
|
-Wextra
|
||||||
-fPIE
|
-fPIE
|
||||||
$<$<COMPILE_LANGUAGE:OBJC,OBJCXX>:-fobjc-weak>
|
$<$<COMPILE_LANGUAGE:OBJC,OBJCXX>:-fobjc-weak>
|
||||||
-fvisibility-inlines-hidden
|
-fvisibility-inlines-hidden
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue