|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
Given the warning specifications are widely used in OCaml programs
(causing silly Windows portability problems), and the @reponsefile is
anecdotical at best (at poll  on the Caml-list revealed no user
using this feature), it was decided to remove @responsefile
 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|
|File||Language||Code Added||Code Removed||Comments Added||Comment Removed||Blanks Added||Blanks Removed|
|Changes||No source code was detected in this file.|