Do not use -WEverything for clang
This commit is contained in:
@@ -58,8 +58,8 @@ add_library(hiload SHARED
|
|||||||
# TODO: Get -Wpadded back by refactoring sc_array or just surround
|
# TODO: Get -Wpadded back by refactoring sc_array or just surround
|
||||||
# all type sc_array declarations with the ignore pragma
|
# all type sc_array declarations with the ignore pragma
|
||||||
target_compile_options(hiload PRIVATE
|
target_compile_options(hiload PRIVATE
|
||||||
$<$<C_COMPILER_ID:GNU>:-Wall -Wextra>
|
$<$<C_COMPILER_ID:GNU>:-Wall -Wextra -Wpedantic>
|
||||||
$<$<C_COMPILER_ID:Clang>:-Weverything>
|
$<$<C_COMPILER_ID:Clang>:-Wall -Wextra -Wpedantic>
|
||||||
$<$<COMPILE_LANGUAGE:C>:-Wno-declaration-after-statement -Wno-padded>
|
$<$<COMPILE_LANGUAGE:C>:-Wno-declaration-after-statement -Wno-padded>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user