In praise of ocaml

You can do that by adding

(env
  (dev
    (flags (:standard -warn-error -A))))

to your dune-workspace file (or any dune file). It is not as well-known as it should be, but is in fact mentioned in the Dune FAQ.

4 Likes