diff options
| author | alainfrisch <alain@frisch.fr> | 2015-11-30 10:18:10 +0100 |
|---|---|---|
| committer | alainfrisch <alain@frisch.fr> | 2015-11-30 10:18:10 +0100 |
| commit | 6c90da49f1320de60e4ee8e936961928ec87a3b2 (patch) | |
| tree | 5f9838b86ddcf723c81e620d284a7ad9ef557aee | |
| parent | 37ad7ece0eb6943b4a175bbceb7277605ea5ef8f (diff) | |
| download | ocaml-6c90da49f1320de60e4ee8e936961928ec87a3b2.tar.gz | |
GPR#210: runtime warnings are disabled by default.
| -rw-r--r-- | Changes | 3 | ||||
| -rw-r--r-- | byterun/misc.c | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -120,7 +120,8 @@ Runtime system: - PR#6760: closures evaluated in the toplevel can now be marshalled (whitequark, review by Jacques-Henri Jourdan) - PR#6902, GPR#210: runtime emits a warning when finalizing an I/O channel - which is still open (Alain Frisch, review by Damien Doligez) + which is still open (Alain Frisch, review by Damien Doligez); + this is controlled by OCAMLRUNPARAM=W=1 or with Sys.enable_runtime_warnings. - Signal handling: for read-and-clear, use GCC/Clang atomic builtins if available. (Xavier Leroy) - PR#6910, GPR#224: marshaling (output_value, input_value, et al) diff --git a/byterun/misc.c b/byterun/misc.c index f4738bbeea..8191b83e70 100644 --- a/byterun/misc.c +++ b/byterun/misc.c @@ -182,7 +182,7 @@ CAMLexport char * caml_strconcat(int n, ...) /* Runtime warnings */ -uintnat caml_runtime_warnings = 1; +uintnat caml_runtime_warnings = 0; static int caml_runtime_warnings_first = 1; int caml_runtime_warnings_active(void) |
