| Anonymous | Login | Signup for a new account | 2013-05-24 06:53 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 | |||||||
| 0005312 | OCaml | OCaml general | public | 2011-07-09 14:50 | 2012-07-10 14:05 | |||||||
| Reporter | Dmitry Grebeniuk | |||||||||||
| Assigned To | gasche | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||||||
| Status | resolved | Resolution | fixed | |||||||||
| Platform | OS | OS Version | ||||||||||
| Product Version | 3.12.1+dev | |||||||||||
| Target Version | 4.00.0+dev | Fixed in Version | ||||||||||
| Summary | 0005312: windows, @responsefile and warnings-as-errors | |||||||||||
| Description | I have software that uses new syntax of ocamlc command line, "-w @a" (enable all warnings and treat them as errors), but function "expand_argument" in "byterun/win32.c" tries to expand "@a" as a filename: > ocaml -w @a Cannot open file a As the @responsefile functionality is not widely used anymore, I have fixed it locally and have not experienced any trouble. I don't know whether this solution is acceptable. | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Notes |
|
|
(0007171) lefessan (developer) 2012-03-26 16:12 |
Gabriel, we agreed that it is time to remove responsefile from the runtime. Could you do it ? |
|
(0007681) doligez (manager) 2012-07-10 14:01 |
For the record, you can work around the problem by adding something before the @: ocamlc -w a@a |
|
(0007682) gasche (developer) 2012-07-10 14:05 |
The feature has now been removed. This means that OCaml programs will not expand command-line arguments beginning with a "@" as responsefiles on Windows anymore, but instead pass them directly to the program (in Sys.argv as usual). All OCaml programs compiled under Windows are affected. This is a change of behavior, but a community poll on the mailing-list indicated that basically no one was aware of this feature. Removing it will therefore protect users from a few surprises if they try, as the OCaml compiler authors, to use "@..." as a valid syntax for specific command-line parameters... |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2011-07-09 14:50 | Dmitry Grebeniuk | New Issue | |
| 2012-03-26 16:11 | lefessan | Assigned To | => gasche |
| 2012-03-26 16:11 | lefessan | Status | new => assigned |
| 2012-03-26 16:12 | lefessan | Note Added: 0007171 | |
| 2012-07-10 14:01 | doligez | Note Added: 0007681 | |
| 2012-07-10 14:01 | doligez | Target Version | => 4.00.0+dev |
| 2012-07-10 14:05 | gasche | Note Added: 0007682 | |
| 2012-07-10 14:05 | gasche | Status | assigned => resolved |
| 2012-07-10 14:05 | gasche | Resolution | open => fixed |
| Copyright © 2000 - 2011 MantisBT Group |