[Haskell-cafe] linking warnings when using regex-posix package in GHCi 7.8.1 RC2

Rouan van Dalen rvdalen at yahoo.co.uk
Tue Mar 18 10:53:18 UTC 2014


Hi Cafe,

I have the following program:

=========================

module Main where

   import Text.Regex.Posix

   main = do
      putStrLn "!!!"

=========================

When I run the main function from within GHCi, I get the following output from GHCi:

=========================


Loading package array-0.5.0.0 ... linking ... done.
Loading package deepseq-1.3.0.2 ... linking ... done.
Loading package containers-0.5.4.0 ... linking ... done.
Loading package bytestring-0.10.4.0 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package mtl-2.1.2 ... linking ... done.
Loading package regex-base-0.93.2 ... linking ... done.
Loading package regex-posix-0.95.2 ... linking ... 
<interactive>: warning: isupper from msvcrt is linked instead of __imp_isupper
<interactive>: warning: toupper from msvcrt is linked instead of __imp_toupper
<interactive>: warning: tolower from msvcrt is linked instead of __imp_tolower
<interactive>: warning: isalpha from msvcrt is linked instead of __imp_isalpha
<interactive>: warning: isalpha from msvcrt is linked instead of __imp_isalpha
<interactive>: warning: isalpha from msvcrt is linked instead of __imp_isalpha
<interactive>: warning: iscntrl from msvcrt is linked instead of __imp_iscntrl
<interactive>: warning: isupper from msvcrt is linked instead of __imp_isupper
<interactive>: warning: isgraph from msvcrt is linked instead of __imp_isgraph
<interactive>: warning: isprint from msvcrt is linked instead of __imp_isprint
<interactive>: warning: ispunct from msvcrt is linked instead of __imp_ispunct
<interactive>: warning: isalnum from msvcrt is linked instead of __imp_isalnum
<interactive>: warning: isalpha from msvcrt is linked instead of __imp_isalpha
<interactive>: warning: isalnum from msvcrt is linked instead of __imp_isalnum
<interactive>: warning: isalnum from msvcrt is linked instead of __imp_isalnum
<interactive>: warning: isalnum from msvcrt is linked instead of __imp_isalnum
<interactive>: warning: isalnum from msvcrt is linked instead of __imp_isalnum
<interactive>: warning: isalnum from msvcrt is linked instead of __imp_isalnum
<interactive>: warning: isalnum from msvcrt is linked instead of __imp_isalnum
<interactive>: warning: isalnum from msvcrt is linked instead of __imp_isalnum
<interactive>: warning: isalnum from msvcrt is linked instead of __imp_isalnum
<interactive>: warning: isalnum from msvcrt is linked instead of __imp_isalnum
<interactive>: warning: isalnum from msvcrt is linked instead of __imp_isalnum
<interactive>: warning: isalnum from msvcrt is linked instead of __imp_isalnum
<interactive>: warning: isalnum from msvcrt is linked instead of __imp_isalnum
done.
!!!
*Main>

=========================


Does anyone have an idea why GHCi is even linking against msvcrt?
And is there a way to fix this?

I am using GHC 7.8.1 RC2 x64 on Windows 8 x64

Regards
--Rouan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140318/10391601/attachment-0001.html>


More information about the Haskell-Cafe mailing list