GPR#210: runtime warnings are disabled by default.

master
alainfrisch 2015-11-30 10:18:10 +01:00
parent 37ad7ece0e
commit 6c90da49f1
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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)