4

OCaml 4.02 (opam を使用) でコードを試しているところですが、次のような多くの警告が表示されます。

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.

しかし、それはで定義されていmyocamlbuld.mlます:

pdep ["link"] "link" (fun param -> [param]);

私はそれを取り除くことができます:

mark_tag_used("link(utils.o)");

しかし、タグを使用するたびに、そのような行が 1 つ必要です。また、私のコードは以前のバージョンの OCaml ではビルドされません。一般的な修正は何ですか?

(完全なコードはhttps://github.com/0install/0installにあります)

4

1 に答える 1