Re: Bug#225449: wxwindows2.4: problems with ia64
On 2004-01-02, Matthew Wilcox wrote:
> So off_t is 'long int' if __USE_FILE_OFFSET64 is not defined and
> 'long long int' if it is. Using -D_FILE_OFFSET_BITS=64 causes
> __USE_FILE_OFFSET64 to be defined.
No it is not:
$ cat y.cc
#include <sys/types.h>
void x(off_t) {}
$ g++ -D_FILE_OFFSET_BITS=64 y.cc -c
$ nm y.o | c++filt
0000000000000000 T x(long)
$ g++ -D__USE_FILE_OFFSET64 y.cc -c
$ nm y.o | c++filt
0000000000000000 T x(long)
Torsten
--
Torsten Werner email@twerner42.de
http://www.twerner42.de/ phone:+49 162 3123004
jabber:bollin@amessage.de icq:342538944
Reply to: