Commit ID
|
Contributor: | scherer | Files Modified: | 2 |
| Date: | 10-July-2012 at 11:33 | Lines Added: | 1 | |
| Repository: | http://caml.inria.fr/svn/ocaml/trunk /ocaml/trunk | Lines Removed: | 62 | |
| Commit Comment: | PR#5312: remove the Windows @responsefile feature, that conflicted with '-w @...' command-line warning specifications [breaking change] This change has relatively wide consequences as it modifies the windows OCaml runtime: when the runtime computed the argument vector "argv" passed to the program, it automatically expanded arguments of the form @foo into the content of the filename "foo" (parsed as a sequence of command-line arguments). This means that this "feature" was automatically enabled for all user programs written in OCaml and linking to the usual runtime. This conflicted with the more recent feature of the OCaml *compiler* (which is affected, as an OCaml program), that allows to pass warning specifications of the form "-w @...", for example -w @ae. On windows, it would try to replace it by the content of the file "ae", leading to an error. Given the warning specifications are widely used in OCaml programs (causing silly Windows portability problems), and the @reponsefile is anecdotical at best (at poll [1] on the Caml-list revealed no user using this feature), it was decided to remove @responsefile altogether. [1] see mailing-list thread "[community poll for PR#5312] Do some OCaml Windows users still use the @responsefile feature?" This change affects all OCaml programs compiled under Windows. Users previously relying on the @responsefile feature should now explicitely expand Sys.argv themselves; use Arg.parse_argv to rerun Arg command-line handlers on user-provided string arrays. |
|||
| Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|
| C | 0 | 56 | 1 | 5 | 0 | 1 | |
| File | Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|---|
| byterun/win32.c | C | 0 | 56 | 1 | 5 | 0 | 1 | |
| Changes | No source code was detected in this file. | |||||||
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.