Closed samoht closed 4 years ago
thanks @samoht -- another solution would be to never warn_error
(and thus revert the behaviour to functoria pre-3). in functoria-4/mirage-4 (developed on mirage#master), we can find a cleaner solution (enable warn-error by default, as dune does, and have a single command-line flag to disable warn-error). this would allow us to not have to struggle with lower bounds and cut unnecessary releases. what do you think?
yes that's a good idea, that'd make that patch even simpler. I'll push this shortly.
Updated, and tested on a small example : the deprecation messages in config.ml
are still printed out (annoyingly they are duplicated) but at least mirage configure
complete fine.
cool, thanks! should we merge + release this then?
Yes, I'm making a release.
functoria-3.1.0 has been submitted: https://github.com/ocaml/opam-repository/pull/15968
A tentative fix for https://github.com/mirage/functoria/issues/182
Both functoria and mirage are defining the same flag, so I'm not sure if this will work very well without a patch to mirage too (or we will have to rename that flag).