On Mon, 27 Oct 2008, Szak�ts Viktor wrote:

Hi Viktor,

> Compiling this code on OSX (PPC) using -gc3:

Does it happen with -gc3 only or also with -gc2?
It looks like wrongly set double conversions.
In gencc.c[1096] is:
   hb_compGenCString( cargo->yyc, &pFunc->pCode[ lPCodePos + 1 ], sizeof( 
double ) );

It's wrong. Change it to:
   {
      double d = HB_PCODE_MKDOUBLE( &pFunc->pCode[ lPCodePos + 1 ] );
      hb_compGenCString( cargo->yyc, &d, sizeof( double ) );
   }

It should help.

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

Reply via email to