ceph/cmake
Kefu Chai 08179fd9f3 cmake: fail on unknown attribute
on Clang, the option for detecting unknown attribute is
-Wunknown-attributes, so "-Wattributes -Werror" does not fail the test
when the C compiler is Clang.

in this change, we just turn all warnings into errors.
this should fail the test if the compiler does not understand
`__attribute__((__symver__ ...))`

Fixes: https://tracker.ceph.com/issues/40060
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-08-06 18:01:47 +08:00
..
modules cmake: fail on unknown attribute 2021-08-06 18:01:47 +08:00