I'm just trying my code with OCaml 4.02 (using opam) and I get lots of warnings like this:
File "_tags", line 14, characters 121-134:
Warning: the tag "link(utils.o)" is not used in any flag
declaration, so it will have no effect; it may be a typo.
Otherwise use `mark_tag_used` in your myocamlbuild.ml to
disable this warning.
But it is defined in myocamlbuld.ml
:
pdep ["link"] "link" (fun param -> [param]);
I can get rid of it with:
mark_tag_used("link(utils.o)");
But I need one such line for every use of the tag! Also, my code then won't build with earlier versions of OCaml. What's the general fix?
(full code is at https://github.com/0install/0install)