summaryrefslogtreecommitdiffstats
path: root/stdlib/Compflags
diff options
context:
space:
mode:
authorPierre Weis <Pierre.Weis@inria.fr>2011-06-20 21:46:20 +0000
committerPierre Weis <Pierre.Weis@inria.fr>2011-06-20 21:46:20 +0000
commitc5289420e9ba192f7175efc306bbde864bc64fb1 (patch)
treecab6c1030f38ff4d890fd70ae2af41c2f4e9d023 /stdlib/Compflags
parente1fda3d23a16099709d94d284650c81f6de4e1d9 (diff)
Module Printf, Format, and Scanf are printed in -w A warning mode. This found an old and subtle bug in Format; for other modules, the code is clearer and cleaner!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11100 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/Compflags')
-rwxr-xr-xstdlib/Compflags1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/Compflags b/stdlib/Compflags
index 862a1c4e1..8578751c9 100755
--- a/stdlib/Compflags
+++ b/stdlib/Compflags
@@ -18,6 +18,7 @@ case $1 in
pervasives.cm[iox]|pervasives.p.cmx) echo ' -nopervasives';;
camlinternalOO.cmi) echo ' -nopervasives';;
camlinternalOO.cmx|camlinternalOO.p.cmx) echo ' -inline 0';;
+ printf.cm[io]|format.cm[io]|scanf.cm[io]) echo ' -w A';;
scanf.cmx|scanf.p.cmx) echo ' -inline 9';;
arrayLabels.cm[ox]|arrayLabels.p.cmx) echo ' -nolabels';;
listLabels.cm[ox]|listLabels.p.cmx) echo ' -nolabels';;