#2926: Foreign exported function returns wrong type
---------------------------------+------------------------------------------
    Reporter:  fasta             |        Owner:                  
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:                  
   Component:  Compiler (FFI)    |      Version:  6.10.1          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * difficulty:  => Unknown

Comment:

 I can't reproduce the problem here - gcc compiles the file without
 complaint, even with `-Wall -Werror`, on both x86 and x86_64.  I wouldn't
 expect this to go wrong, because `HsInt32` is the same type as `int`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2926#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to