[GHC] #5967: incompatible implicit declaration of function 'memcpy'

GHC cvs-ghc at haskell.org
Wed Apr 18 11:04:08 CEST 2012


#5967: incompatible implicit declaration of function 'memcpy'
---------------------------------+------------------------------------------
    Reporter:  nomeata           |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  high              |   Milestone:  7.4.2           
   Component:  Compiler          |     Version:  7.4.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  Other           
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by nomeata):

 Here is a possible patch against ghc-7.4.1; maybe not the cleanest
 solution. Maybe the proper solution is to forbid Haskell code to foreign
 import memcpy and expect them to use the primop?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5967#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list