Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ENV['ANAL'] or ENV['DOMAIN'] =~ /zenspider/ then
- builder.add_compile_flags "-Wall"
- builder.add_compile_flags "-W"
- builder.add_compile_flags "-Wpointer-arith"
- builder.add_compile_flags "-Wcast-qual"
- builder.add_compile_flags "-Wcast-align"
- builder.add_compile_flags "-Wwrite-strings"
- builder.add_compile_flags "-Wmissing-noreturn"
- builder.add_compile_flags "-Wno-long-long"
- # NOTE: this flag doesn't work w/ gcc 2.95.x - the FreeBSD default
- # builder.add_compile_flags "-Wno-strict-aliasing"
- # ruby.h screws these up hardcore:
- # builder.add_compile_flags "-Wundef"
- # builder.add_compile_flags "-Wconversion"
- # builder.add_compile_flags "-Wstrict-prototypes"
- # builder.add_compile_flags "-Wmissing-prototypes"
- # builder.add_compile_flags "-Wsign-compare"
- end
Add Comment
Please, Sign In to add comment