mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
Merge pull request #69520 from sunyuechi/warnings-crimson-cmake
crimson/cmake: restrict -Wno-non-virtual-dtor to C++ sources Reviewed-by: Kefu Chai <k.chai@proxmox.com>
This commit is contained in:
commit
5b2aee80a7
@ -509,7 +509,7 @@ if(WITH_CRIMSON)
|
||||
target_compile_options(seastar
|
||||
PUBLIC
|
||||
# required by any target that links to seastar
|
||||
"-Wno-non-virtual-dtor"
|
||||
"$<$<COMPILE_LANGUAGE:CXX>:-Wno-non-virtual-dtor>"
|
||||
PRIVATE
|
||||
"-DSEASTAR_NO_EXCEPTION_HACK"
|
||||
"-Wno-error"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user