On 2004-11-09 John Goerzen <[EMAIL PROTECTED]> wrote:
> On Tue, Nov 09, 2004 at 02:16:54PM +0100, Andreas Metzler wrote:
> > Hmm, statfs with -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE seems to
> > be completely broken on alpha.
> Are you sure, given these warnings?
> > [EMAIL PROTECTED]:/tmp/ametz$ gcc -o statfstest -Wall statfstest.c
> > statfstest.c: In function `main':
> > statfstest.c:20: warning: long int format, different type arg (arg 2)
[...]
As can be seen from the typescript I only got these warning when
building *without* -D_FILE_OFFSET_BITS=64. gcc -Wall did not find
anything to worry about with -D_FILE_OFFSET_BITS=64, i.e. the printf
types were correct for this case.
cu andreas