mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 22:20:14 +01:00
radv,aco: Compile with -Wimplicit-fallthrough when available
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7847>
This commit is contained in:
parent
6ba83d820c
commit
ada9be1ec9
2 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ libaco_files = files(
|
|||
'aco_validate.cpp',
|
||||
)
|
||||
|
||||
cpp_args_aco = cpp.get_supported_arguments(['-fno-exceptions', '-fno-rtti', '-Wshadow', '-DNOMINMAX'])
|
||||
cpp_args_aco = cpp.get_supported_arguments(['-fno-exceptions', '-fno-rtti', '-Wimplicit-fallthrough', '-Wshadow', '-DNOMINMAX'])
|
||||
|
||||
_libaco = static_library(
|
||||
'aco',
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ if not with_platform_windows
|
|||
endif
|
||||
|
||||
radv_deps = []
|
||||
radv_flags = cc.get_supported_arguments(['-Wshadow'])
|
||||
radv_flags = cc.get_supported_arguments(['-Wimplicit-fallthrough', '-Wshadow'])
|
||||
|
||||
if with_platform_x11
|
||||
radv_deps += dep_xcb_dri3
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue