We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a9bde3 commit 21100f2Copy full SHA for 21100f2
1 file changed
ext/rbs_extension/rbs_string_bridging.h
@@ -1,11 +1,12 @@
1
#ifndef RBS__RBS_STRING_BRIDGING_H
2
#define RBS__RBS_STRING_BRIDGING_H
3
4
-#pragma clang diagnostic push
5
-#pragma clang diagnostic ignored "-Wc2x-extensions"
+#include "compat.h"
+
6
+SUPPRESS_RUBY_HEADER_DIAGNOSTICS_BEGIN
7
#include "ruby.h"
8
#include "ruby/encoding.h"
-#pragma clang diagnostic pop
9
+SUPPRESS_RUBY_HEADER_DIAGNOSTICS_END
10
11
#include "rbs/string.h"
12
0 commit comments