Skip to content

Commit 47cc64d

Browse files
committed
c2x-extensions
1 parent 7246309 commit 47cc64d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/rbs_extension/extconf.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
append_cflags ['-std=gnu99', '-Wimplicit-fallthrough', '-Wunused-result']
1515
append_cflags ['-O0', '-g'] if ENV['DEBUG']
1616
if ENV["TEST_NO_C23"]
17-
puts "Adding -Wc23-extensions to CFLAGS"
18-
$CFLAGS << " -Werror -Wc23-extensions"
17+
puts "Adding -Wc2x-extensions to CFLAGS"
18+
$CFLAGS << " -Werror -Wc2x-extensions"
1919
end
2020

2121
create_makefile 'rbs_extension'

0 commit comments

Comments
 (0)