Skip to content

Commit

Permalink
Merge pull request #21 from Shopify/fix-unused-warnings
Browse files Browse the repository at this point in the history
Enable -Wextra
  • Loading branch information
pushrax committed Jan 31, 2015
2 parents 8ca9317 + 05fd88a commit 32358a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/liquid_c/extconf.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'mkmf'
$CFLAGS << ' -Wall -Werror'
$CFLAGS << ' -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers'
compiler = RbConfig::MAKEFILE_CONFIG['CC']
if ENV['DEBUG'] == 'true' && compiler =~ /gcc|g\+\+/
$CFLAGS << ' -fbounds-check'
Expand Down
2 changes: 1 addition & 1 deletion liquid-c.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

spec.add_dependency 'liquid', '~> 3.0.0'
spec.add_dependency 'liquid', '>= 3.0.0'

spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "rake"
Expand Down

0 comments on commit 32358a1

Please sign in to comment.