There was an error while loading. Please reload this page.
1 parent e7c485e commit baee613Copy full SHA for baee613
1 file changed
libr/include/r_types_null.h
@@ -10,8 +10,13 @@ extern "C" {
10
// -Wno-nullability-completeness
11
12
#ifdef __clang__
13
+#if __has_warning("-Wnullability-completeness")
14
#pragma clang diagnostic ignored "-Wnullability-completeness"
15
#endif
16
+#if __has_warning("-Wnullability-extension")
17
+#pragma clang diagnostic ignored "-Wnullability-extension"
18
+#endif
19
20
21
#if defined(__clang__)
22
// Clang supports _Nonnull / _Nullable with -fnullability
0 commit comments