[GHC] #686: warning: implicit declaration of function `ftruncate'

GHC trac at galois.com
Wed Feb 8 05:07:22 EST 2006


#686: warning: implicit declaration of function `ftruncate'
-------------------------------+--------------------------------------------
    Reporter:  simonmar        |        Owner:  simonmar
        Type:  bug             |       Status:  new     
    Priority:  normal          |    Milestone:  6.4.2   
   Component:  libraries/base  |      Version:  6.5     
    Severity:  normal          |     Keywords:          
          Os:  Windows         |   Difficulty:  Unknown 
Architecture:  x86             |  
-------------------------------+--------------------------------------------
Reported by Conal Elliot.  ''might'' be caused by a new mingw version, we
 haven't looked into it yet.

 -------

 With ghc-6.5.20060106-i386-unknown-mingw32.tar.gz, I'm getting the
 following warnings when I compile with -O:

 {{{
   [ 3 of 40] Compiling Pajama.TreeToGraph ( Pajama/TreeToGraph.hs,
 Pajama/TreeToGraph.o )
   In file included from c:/tmp/ghc200508_0.hc:4:
   c:/ghc/ghc-6.5/include/HsBase.h: In function `__hscore_ftruncate':
   c:/ghc/ghc-6.5/include/HsBase.h:402: warning: implicit declaration of
 function `ftruncate'
 }}}

 and so on for every module.  Same messages from 20060103.

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


More information about the Glasgow-haskell-bugs mailing list