[GHC] #7660: warning: conflicting types when compiling via-C

GHC cvs-ghc at haskell.org
Tue Feb 5 05:05:31 CET 2013


#7660: warning: conflicting types when compiling via-C
-----------------------------+----------------------------------------------
Reporter:  singpolyma        |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  7.7               |       Keywords:  warning         
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  Other             |      Blockedby:                  
Blocking:                    |        Related:                  
-----------------------------+----------------------------------------------
 I don't think this is actually a problem per-se, but usually these
 warnings are indicative of unsafe assumptions being made:

 {{{
 when making flags consistent: Warning:
     Compiler unregisterised, so compiling via C

 /tmp/ghc7162_0/ghc7162_0.hc:1164:1:
      warning: conflicting types for built-in function 'memchr' [enabled by
 default]

 /tmp/ghc7162_0/ghc7162_0.hc:6885:1:
      warning: conflicting types for built-in function 'memset' [enabled by
 default]

 /tmp/ghc7162_0/ghc7162_0.hc:8594:1:
      warning: conflicting types for built-in function 'memcpy' [enabled by
 default]

 /tmp/ghc7162_0/ghc7162_0.hc:11521:1:
      warning: conflicting types for built-in function 'free' [enabled by
 default]

 /tmp/ghc7162_0/ghc7162_0.hc:11522:1:
      warning: conflicting types for built-in function 'realloc' [enabled
 by default]

 /tmp/ghc7162_0/ghc7162_0.hc:12038:1:
      warning: conflicting types for built-in function 'malloc' [enabled by
 default]

 /tmp/ghc7162_0/ghc7162_0.hc:13583:1:
      warning: conflicting types for built-in function 'strlen' [enabled by
 default]

 /tmp/ghc7162_0/ghc7162_0.hc:13994:1:
      warning: conflicting types for built-in function 'memcmp' [enabled by
 default]
 }}}

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



More information about the ghc-tickets mailing list