diff options
| author | Gabriel Scherer <gabriel.scherer@gmail.com> | 2014-08-28 16:55:07 +0000 |
|---|---|---|
| committer | Gabriel Scherer <gabriel.scherer@gmail.com> | 2014-08-28 16:55:07 +0000 |
| commit | 7c8d9cfcf637fb36175f5e2af0a1fed13a9c4cc9 (patch) | |
| tree | 9e0adcc647d1227725fb86abee8b4f451f28de4d | |
| parent | 6c7383da38f1c28a802e8ece20f0f78cc8bacc26 (diff) | |
| download | ocaml-7c8d9cfcf637fb36175f5e2af0a1fed13a9c4cc9.tar.gz | |
document the new strict-formats option
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@15139 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
| -rw-r--r-- | manual/manual/cmds/comp.etex | 5 | ||||
| -rw-r--r-- | manual/manual/cmds/native.etex | 5 | ||||
| -rw-r--r-- | manual/manual/cmds/top.etex | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/manual/manual/cmds/comp.etex b/manual/manual/cmds/comp.etex index d89db1e18c..7d4bf35628 100644 --- a/manual/manual/cmds/comp.etex +++ b/manual/manual/cmds/comp.etex @@ -389,6 +389,11 @@ warning messages. \item["-strict-sequence"] Force the left-hand part of each sequence to have type unit. +\item["-strict-formats"] +Reject invalid formats that were accepted in legacy format +implementations. You should use this flag to detect and fix such +invalid formats, as they will be rejected by future OCaml versions. + \item["-thread"] Compile or link multithreaded programs, in combination with the system "threads" library described in chapter~\ref{c:threads}. diff --git a/manual/manual/cmds/native.etex b/manual/manual/cmds/native.etex index f9c5c38857..0b61439d6b 100644 --- a/manual/manual/cmds/native.etex +++ b/manual/manual/cmds/native.etex @@ -388,6 +388,11 @@ warning messages. \item["-strict-sequence"] Force the left-hand part of each sequence to have type unit. +\item["-strict-formats"] +Reject invalid formats that were accepted in legacy format +implementations. You should use this flag to detect and fix such +invalid formats, as they will be rejected by future OCaml versions. + \item["-thread"] Compile or link multithreaded programs, in combination with the system "threads" library described in chapter~\ref{c:threads}. diff --git a/manual/manual/cmds/top.etex b/manual/manual/cmds/top.etex index 0180eb2f59..92f8ecf2d4 100644 --- a/manual/manual/cmds/top.etex +++ b/manual/manual/cmds/top.etex @@ -219,6 +219,11 @@ interactive session. \item["-strict-sequence"] Force the left-hand part of each sequence to have type unit. +\item["-strict-formats"] +Reject invalid formats that were accepted in legacy format +implementations. You should use this flag to detect and fix such +invalid formats, as they will be rejected by future OCaml versions. + \item["-unsafe"] See the corresponding option for "ocamlc", chapter~\ref{c:camlc}. Turn bound checking off on array and string accesses (the "v.(i)" and |
