Skip to content

Commit

Permalink
Err on undeclared functions
Browse files Browse the repository at this point in the history
Stop at compilation time instead of run time. This gives especially
helpful, instant feedback when testing the code for 1.8 as a lot of
the C API has changed between 1.8 and 2.0.
  • Loading branch information
d committed Jun 5, 2014
1 parent dd1b170 commit 301c359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/yajl/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require 'rbconfig'

$CFLAGS << ' -Wall -funroll-loops'
$CFLAGS << ' -Wextra -O0 -ggdb3' if ENV['DEBUG']
$CFLAGS << ' -Werror-implicit-function-declaration -Wextra -O0 -ggdb3' if ENV['DEBUG']

create_makefile('yajl/yajl')

0 comments on commit 301c359

Please sign in to comment.