Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCamlbuild's 'predicate' tag badly translated into OCamlfind parameter #5356

Closed
vicuna opened this issue Sep 15, 2011 · 0 comments

Comments

Projects
None yet
1 participant
@vicuna
Copy link

commented Sep 15, 2011

Original bug ID: 5356
Reporter: dario
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2012-09-25T18:07:21Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.12.1
Fixed in version: 3.12.1+dev
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Monitored by: mehdi dario @ygrek

Bug description

As part of OCamlbuild's native support for OCamlfind, the special tag 'predicate' may be used to select any predicates declared with a package.

The bug is that OCamlbuild translates a 'predicate(foo)' tag into '-predicate foo', whereas OCamlfind expects '-predicates foo'. Note the missing 's'...

Relevant section of OCamlfind manual:
http://projects.camlcity.org/projects/dl/findlib-1.2.7/doc/guide-html/x307.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.