From 3881b0009164b4438b444e7491a0003f4c9767dd Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 8 Oct 2001 14:22:43 +0000 Subject: [PATCH] [project @ 2001-10-08 14:22:43 by simonmar] Turn the error message about package mismatch into a warning. This is really harmless at the moment (only fatal with DLLs), but really gets in the way when you want to build a package and also use it directly with the appropriate -i/-l flags. --- ghc/compiler/rename/RnHiFiles.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/compiler/rename/RnHiFiles.lhs b/ghc/compiler/rename/RnHiFiles.lhs index e5d6c0c..dd4baca 100644 --- a/ghc/compiler/rename/RnHiFiles.lhs +++ b/ghc/compiler/rename/RnHiFiles.lhs @@ -535,7 +535,7 @@ findAndReadIface doc_str mod_name hi_boot_file (hiModuleNameMismatchWarn wanted_mod read_mod) `thenRn_` -- check that the package names agree - checkRn + warnCheckRn (modulePackage wanted_mod == modulePackage read_mod) (packageNameMismatchWarn wanted_mod read_mod) `thenRn_` -- 1.7.10.4