Skip to content

Commit 21100f2

Browse files
committed
gcc clang
1 parent 4a9bde3 commit 21100f2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

ext/rbs_extension/rbs_string_bridging.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#ifndef RBS__RBS_STRING_BRIDGING_H
22
#define RBS__RBS_STRING_BRIDGING_H
33

4-
#pragma clang diagnostic push
5-
#pragma clang diagnostic ignored "-Wc2x-extensions"
4+
#include "compat.h"
5+
6+
SUPPRESS_RUBY_HEADER_DIAGNOSTICS_BEGIN
67
#include "ruby.h"
78
#include "ruby/encoding.h"
8-
#pragma clang diagnostic pop
9+
SUPPRESS_RUBY_HEADER_DIAGNOSTICS_END
910

1011
#include "rbs/string.h"
1112

0 commit comments

Comments
 (0)