[project @ 2001-10-08 14:22:43 by simonmar]
authorsimonmar <unknown>
Mon, 8 Oct 2001 14:22:43 +0000 (14:22 +0000)
committersimonmar <unknown>
Mon, 8 Oct 2001 14:22:43 +0000 (14:22 +0000)
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

index e5d6c0c..dd4baca 100644 (file)
@@ -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_`