On Mon, 30 Mar 2009, Chen Kedem wrote:
> > 2009-03-29 11:02 UTC+0200 Viktor Szakats (harbour.01 syenar hu
> >  * external/sqlite3/Makefile
> >    - Disabled for bcc. Latest sqlite3 version breaks with this compiler:
> BCC does not use LL to mark LONG LONG constants.
> It needs suffix like i64 (or ui64): 864000000000LL --> 864000000000i64
> These is one section that use it in sqlite3.c (lines 29156-29163). It do 
> complie
> (don't know if it runs) if I changes all the LL to i64

In Harbour we have macro HB_LL() which should be used for such numbers.
Most of Windows compilers does not support well LL sufix. In the past some
of them were not even generating errors but stirpped upper 32 bits from
then number. Unfortunately i64/ui64 suffix is not portable solution so
cannot be used instead LL.
I suggest to always use HB_LL(), f.e.:
   HB_LL( 864000000000 )

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to