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 c9822a8 commit 383e479Copy full SHA for 383e479
ext/rbs_extension/extconf.rb
@@ -11,7 +11,13 @@
11
$srcs = Dir.glob("#{root_dir}/src/**/*.c") +
12
Dir.glob("#{root_dir}/ext/rbs_extension/*.c")
13
14
-append_cflags ['-std=gnu99', '-Wimplicit-fallthrough', '-Wunused-result']
+append_cflags [
15
+ '-std=gnu99',
16
+ '-Wimplicit-fallthrough',
17
+ '-Wunused-result',
18
+ '-Wc++-compat',
19
+]
20
+
21
append_cflags ['-O0', '-g'] if ENV['DEBUG']
22
if ENV["TEST_NO_C23"]
23
puts "Adding -Wc2x-extensions to CFLAGS"
0 commit comments