warning: implicit declaration of function `ftruncate'
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.
Trac metadata
Trac field | Value |
---|---|
Version | 6.5 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/base |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |