We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97152d4 commit e02c7a7Copy full SHA for e02c7a7
addr2line.c
@@ -8,10 +8,14 @@
8
9
**********************************************************************/
10
11
-#if defined(__clang__)
+#if defined(__clang__) && defined(__has_warning)
12
+#if __has_warning("-Wgnu-empty-initializer")
13
#pragma clang diagnostic ignored "-Wgnu-empty-initializer"
14
+#endif
15
+#if __has_warning("-Wgcc-compat")
16
#pragma clang diagnostic ignored "-Wgcc-compat"
17
#endif
18
19
20
#include "ruby/internal/config.h"
21
#include "ruby/defines.h"
0 commit comments