From ad1c1b5ca5427991db7dadf3f221715df044b583 Mon Sep 17 00:00:00 2001 From: Alexander Bandukwala <7h3kk1d@gmail.com> Date: Thu, 3 Oct 2024 10:53:18 -0400 Subject: [PATCH] Readd warnings failing build in dev but exclude some unused warnings - The idea is to make development easier by allowing code to be built with unused warnings - We're still restrictive on some warnings because dune won't output all warnings on every build --- dune-workspace | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dune-workspace b/dune-workspace index 480ccb1514..6268c15bd9 100644 --- a/dune-workspace +++ b/dune-workspace @@ -1,9 +1,10 @@ (lang dune 3.16) +; List of warning codes found at https://ocaml.org/manual/5.2/comp.html#s:comp-options (env (dev (flags - (:standard -warn-error -A))) + (:standard -warn-error +A-26-27-32-33-34-35-38-39-58))) ; Disable some unused warnings. (release (flags (:standard -warn-error +A-58))))