From d63320ceb1c56710f5e953742dd5d6cf43aacbdf Mon Sep 17 00:00:00 2001 From: ppedrot Date: Wed, 8 May 2013 19:55:23 +0000 Subject: Uniformizing the [if_warn] flag used for warning printing and put it into the standard logger instead. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16491 85f007b7-540e-0410-9357-904b9bb8a0f7 --- checker/check.ml | 2 +- checker/check.mllib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'checker') diff --git a/checker/check.ml b/checker/check.ml index 267fdb886a..0d8a4cd222 100644 --- a/checker/check.ml +++ b/checker/check.ml @@ -177,7 +177,7 @@ let add_load_path (phys_path,coq_path) = begin (* Assume the user is concerned by library naming *) if dir <> default_root_prefix then - Flags.if_warn msg_warning + msg_warning (str phys_path ++ strbrk " was previously bound to " ++ pr_dirpath dir ++ strbrk "; it is remapped to " ++ pr_dirpath coq_path); diff --git a/checker/check.mllib b/checker/check.mllib index 2671788b4c..48c6290096 100644 --- a/checker/check.mllib +++ b/checker/check.mllib @@ -4,8 +4,8 @@ Option Store Exninfo Backtrace -Pp_control Flags +Pp_control Pp Loc Segmenttree -- cgit v1.2.3