| Anonymous | Login | Signup for a new account | 2013-05-24 18:51 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0005406 | OCaml | OCamlbuild (the tool) | public | 2011-11-22 23:55 | 2012-09-20 16:50 | ||||||
| Reporter | william | ||||||||||
| Assigned To | meyer | ||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||
| Status | assigned | Resolution | reopened | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 3.12.0 | ||||||||||
| Target Version | 4.01.0+dev | Fixed in Version | |||||||||
| Summary | 0005406: tag does not expect a parameter, but is used with parameter ... | ||||||||||
| Description | ocamlbuild warns for something strange. For example : # ocamlbuild -pkgs lablgtk2 -tags warn_s tree.byte Warning: tag "package" does not expect a parameter, but is used with parameter "lablgtk2" Finished, 3 targets (0 cached) in 00:00:00. Attached is file tree.ml taken from lablgtk2 | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0006208) xclerc (developer) 2011-11-23 10:39 |
This is not really a bug; if you use any ocamlfind feature, you should pass the "-use-ocamlfind" command-line switch to ocamlbuild. It will make the warning disappear. |
|
(0006210) william (reporter) 2011-11-26 12:17 |
ok that works. But we are not supposed to know that using "pkgs" option also requires "use-ocamlfind" option. If "pkgs" is an ocamlfind feature, then why not activate "use-ocamlfind" at the same time? Or why not activate ocamlfind all the time? |
|
(0006211) ygrek (reporter) 2011-11-28 13:56 |
or make the warning say what it means. I.e. when tag with unexpected parameter is "package" hint the user that -use-ocamlfind is required. |
|
(0008044) meyer (developer) 2012-09-10 05:36 |
Since the problem will go away after we implement -use-ocamlfind by default, I think the good fix for that would be to document the command line options that are not available with -no-ocamlfind, but also implement proper messages for all of them, and just halt the compilation with error if they are used with -no-ocamlfind. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2011-11-22 23:55 | william | New Issue | |
| 2011-11-22 23:55 | william | File Added: tree.ml | |
| 2011-11-23 10:39 | xclerc | Note Added: 0006208 | |
| 2011-11-23 10:39 | xclerc | Status | new => closed |
| 2011-11-23 10:39 | xclerc | Resolution | open => no change required |
| 2011-11-26 12:17 | william | Note Added: 0006210 | |
| 2011-11-26 12:17 | william | Status | closed => feedback |
| 2011-11-26 12:17 | william | Resolution | no change required => reopened |
| 2011-11-28 13:56 | ygrek | Note Added: 0006211 | |
| 2012-02-02 15:17 | protz | Category | OCamlbuild => OCamlbuild (the tool) |
| 2012-03-29 19:14 | gasche | Relationship added | related to 0005547 |
| 2012-07-10 13:08 | doligez | Target Version | => 4.01.0+dev |
| 2012-07-31 13:36 | doligez | Target Version | 4.01.0+dev => 4.00.1+dev |
| 2012-09-10 05:30 | meyer | Assigned To | => meyer |
| 2012-09-10 05:30 | meyer | Status | feedback => assigned |
| 2012-09-10 05:36 | meyer | Note Added: 0008044 | |
| 2012-09-20 16:50 | doligez | Target Version | 4.00.1+dev => 4.01.0+dev |
| Copyright © 2000 - 2011 MantisBT Group |