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

GHC cvs-ghc at haskell.org
Tue May 1 13:18:43 CEST 2012


#5967: incompatible implicit declaration of function 'memcpy'
---------------------------------+------------------------------------------
    Reporter:  nomeata           |       Owner:  pcapriotti      
        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 pcapriotti):

 The attached 5967.patch seems a cleaner solutions to me. We can disable
 GCC builtins for mem* functions, and enable them selectively for primops.
 This gets also rid of the warning.

 Any comments before I push?

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



More information about the Glasgow-haskell-bugs mailing list