Hello,

IMO, this requires modification in the compiler source, among others
addition of another PCODE and related function to generate it.

This is out of my scope for this moment, sorry.

So, anyone who uses -gc3, please use the following code:

   LOCAL dT := DATETIME( 2011, 11, 09, 12, 30, 00  )

   instead of:

   LOCAL dT := { ^ 2011/11/09 12:30:00 }

Warning has been given.

Andi


On Thu, 10 Nov 2011 13:49:29 +0700
Andi Jahja <andi.ja...@yahoo.co.id> wrote:

> Sorry, this change does not correct -gc3 bug. Am investigating now :(
> Anyone?
> 
> Andi
> 
> On Thu, 10 Nov 2011 13:12:25 +0700
> Andi Jahja <andi.ja...@yahoo.co.id> wrote:
> 
> > 2011-11-10 13:10 UTC+0700 Andi Jahja <xharbour/AT/telkom/net/id>
> >   * source/compiler/gencc.c
> >     + function HB_GENC_FUNC( hb_p_pushdatetime ) to use LONG value instead 
> > of int;
> >       this correct DATETIME value when compiling a PRG with -gc3 with 
> > certain C compilers.
> >       This bug has been there for ages.
> >       Example:
> >       previously: {^ 2011/11/09 12:30:00 } returns 11/09/11 00:00:02.455
> >       now:        {^ 2011/11/09 12:30:00 } returns 11/09/11 12:30:00.000
> > 
> 
> 



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to