List:MySQL++« Previous MessageNext Message »
From:Ian Quick Date:December 29 2004 12:25am
Subject:Re: Update for borland builder (BCB6)
View as plain text  
At 11:15 PM 28/12/2004, Warren Young wrote:
>Totte Karlsson wrote:
>>The macro NO_LONG_LONGS had to be defined.
>
>There is probably a way to change platform.h so that is not necessary. You 
>probably just have to find out what Borland C++ calls its 64-bit integer 
>type, and supply the appropriate typedefs.
>
>NO_LONG_LONGS really only should be defined for systems that truly lack 
>any 64-bit integer support, like 486es and older.

A lot of BCB 6 users don't realise that it DOES have 64 bit integer support 
as 'extended integer types' -
ie "__int64" and "unsigned __int64". Although you do need to be careful if 
assigning large constants in your code to use the appropriate suffix as 
well ie

unsigned __int64  AverybigInt = 1234567887654321ui64;

I haven't used them a lot, but they seem to work when I have - so maybe you 
should be trying them instead of defining NO_LONG_LONGS.

Ian 

Thread
Update for borland builder (BCB6)Totte Karlsson23 Dec
  • Re: Update for borland builder (BCB6)Warren Young28 Dec
    • Re: Update for borland builder (BCB6)Ian Quick29 Dec
      • Re: Update for borland builder (BCB6)Warren Young30 Dec
  • Re: Update for borland builder (BCB6)Totte Karlsson28 Dec
    • Re: Update for borland builder (BCB6)Chris Frey28 Dec
    • Re: Update for borland builder (BCB6)Warren Young28 Dec