[infer][build] detect unused code at compile time

Reviewed By: jvillard

Differential Revision: D5645750

fbshipit-source-id: 6775941
master
Jeremy Dubreil 7 years ago committed by Facebook Github Bot
parent 2876f50703
commit 02ec9c6571

@ -56,8 +56,8 @@ let sources =
List.iter one_dir src_dirs ; !files
let common_cflags =
let fatal_warnings = "+3+5+6+8+10+11+12+18+19+20+21+23+26+29+27+33+34+35+37+38+39+50+52+57" in
let warnings = fatal_warnings ^ "-4-9-32-40-41-42-45-48" in
let fatal_warnings = "+3+5+6+8+10+11+12+18+19+20+21+23+26+29+27+32+33+34+35+37+38+39+50+52+57" in
let warnings = fatal_warnings ^ "-4-9-40-41-42-45-48" in
let common_flags =
[ "-g"
; "-short-paths"

Loading…
Cancel
Save