Ticket #686 (closed bug: worksforme)
warning: implicit declaration of function `ftruncate'
|Reported by:||simonmar||Owned by:||simonmar|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
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.