From 09995c761c35cbb1f217fcf76365bd406157b8e6 Mon Sep 17 00:00:00 2001 From: Maxime Dénès Date: Tue, 6 Mar 2018 17:19:18 +0100 Subject: Make -warn-error fail on warnings emitted by coqc on stdlib. We turn all Coq warnings that are on by default into errors. --- configure.ml | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ml') diff --git a/configure.ml b/configure.ml index 3a98e8892..c08e8dfcc 100644 --- a/configure.ml +++ b/configure.ml @@ -1339,6 +1339,7 @@ let write_makefile f = pr "WITHDOC=%s\n\n" (if !prefs.withdoc then "all" else "no"); pr "# Option to produce precompiled files for native_compute\n"; pr "NATIVECOMPUTE=%s\n" (if !prefs.nativecompiler then "-native-compiler" else ""); + pr "COQWARNERROR=%s\n" (if !prefs.warn_error then "-w +default" else ""); close_out o; Unix.chmod f 0o444 -- cgit v1.2.3