[Box Backup-dev] help from a linux guru please!!!

Chris Wilson boxbackup-dev@fluffy.co.uk
Tue, 25 Jul 2006 09:21:17 +0100 (BST)


Hiya both,

>> g++ test.cpp -o test -D_FILE_OFFSET_BITS=64
>> and it comes up with
>>
>> error: integer constant is too large for "long" type
>
> Works fine on my machine (FC5, gcc 4.1.1). But my machine is x86_64 so
> it probably would.
>
> I can try on a 32 bit machine tomorrow (well, today actually, must be
> bedtime!).

Fails for me on 32-bit. __off_t is "long int" according to gcc -E, I'm 
investigating why.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |