[compilation] Turn on more warnings; make 'partial match' fatal

Summary:
The difference from default set is mostly in:
1. turning on warnings 32..39 `unused X`,
2. turning off warning 66 `unused open!` since `open! IStd` is present
in pretty much all the files.
3. Non-exhaustive pattern match is now treated as a compilation
error.

Reviewed By: ngorogiannis, mityal

Differential Revision: D19646047

fbshipit-source-id: c84ba628a
master
Artem Pianykh 5 years ago committed by Facebook Github Bot
parent c735b6f0a5
commit 4f4455b73c

@ -50,7 +50,9 @@ let infer_cflags =
; "-open" ; "-open"
; "InferBase" ; "InferBase"
; "-open" ; "-open"
; "InferCStubs" ] ; "InferCStubs"
; "-w"
; "+A-4@8-9-40-41-42-44-45-48-60-66" ]
(** The build stanzas to be passed to dune *) (** The build stanzas to be passed to dune *)

Loading…
Cancel
Save