Open OlivierNicole opened 1 month ago
You can use a different build profile as a workaround. Changing the compiler flags for utop isn't great because it will mean that you will need to rebuild everything just for the toplevel (unfortunately, changing the build profile also this disadvantage)
Well, the thing is, this is in the dev profile in which I set -warn-error -A
in dune-workspace
. It seems to be ignored.
As a workaround, you can use OCAMLPARAM=_,w=-32 dune utop
In my fork of ppx_stage, I’m trying to launch a toplevel:
I can’t address this warning right now, but I didn’t find a way to pass
-warn-error -A
to the underlying compiler command. Using a dedicated(toplevel ...)
stanza doesn’t help, as it doesn’t take a(flags ...)
parameter.