logo       

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

lang.haskell.glasgow.bugs

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

#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_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise