ghc.exe: addLibrarySearchPath error
My OS is Windows 7. Recently I've removed Haskell Platform 8.0.1 and installed new Platform 8.2.1
Since then, when compiling a module GHC sometimes spits the following messages:
ghc.exe: addLibrarySearchPath: C:\Program Files\Haskell Platform\8.0.1\mingw\lib (Win32 error 3): The system cannot find the path specified.
dozens of times in a row.
But the compilation succeeds.
The directory C:\Program Files\Haskell Platform\8.0.1\
doesn't exist on my machine.
I haven't figured out when exactly this happens but it seems to happen only when the module has Template Haskell splices in it.