Skip to content

Commit

Permalink
Dispense with voluminous warnings on DEV=1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Ford committed Oct 20, 2008
1 parent 85a93f4 commit 6fd8259
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rakelib/vm.rake
Expand Up @@ -115,10 +115,10 @@ INCLUDES.map! { |f| "-I#{f}" }
# Build options
FLAGS = %w[ -pipe -Wall -Wno-deprecated ]

# Debugging support &c. NOTE: Only DEV=2+ treats warnings as errors.
# Debugging support etc. NOTE: Only DEV=2+ treats warnings as errors.
case ENV["DEV"]
when "1"
FLAGS.concat %w[ -Wextra -ggdb3 -O0 -fno-inline]
when "1", /debug/
FLAGS.concat %w[ -ggdb3 -O0 -fno-inline]
when "2", /strict/
FLAGS.concat %w[ -Wextra -Werror -ggdb3 -O0 -fno-inline]
when "3", /ridiculous/
Expand Down

0 comments on commit 6fd8259

Please sign in to comment.