Re: [Harbour] BUG: -gc3 problems on OSX/PPC

2008-10-27 Thread Szakáts Viktor
Forgot to install. Now it's okay. Thanks! Brgds, Viktor On 2008.10.27., at 14:52, Przemyslaw Czerpak wrote: On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi Viktor, Does it happen with -gc3 only or also with -gc2? No, only with -gc3. I've only tested this on Darwin PPC, so I don't know about

Re: [Harbour] BUG: -gc3 problems on OSX/PPC

2008-10-27 Thread Szakáts Viktor
Hi Przemek, I've tried this, but it didn't help for either problems. Have you made full clean build? I did. It should help if -gc2 works correctly. Maybe the problem isn't with the generated code, as Darwin/PPC generates exactly the same C code as the Windows/Intel Harbour. What is w

Re: [Harbour] BUG: -gc3 problems on OSX/PPC

2008-10-27 Thread Przemyslaw Czerpak
On Mon, 27 Oct 2008, Szak�ts Viktor wrote: Hi Viktor, >> Does it happen with -gc3 only or also with -gc2? > No, only with -gc3. I've only tested this on Darwin PPC, > so I don't know about Darwin Intel, but for sure it > does work for Windows/Intel. >> It looks like wrongly set double conversions

Re: [Harbour] BUG: -gc3 problems on OSX/PPC

2008-10-27 Thread Szakáts Viktor
Hi Przemek, Does it happen with -gc3 only or also with -gc2? No, only with -gc3. I've only tested this on Darwin PPC, so I don't know about Darwin Intel, but for sure it does work for Windows/Intel. It looks like wrongly set double conversions. In gencc.c[1096] is: hb_compGenCString( cargo

Re: [Harbour] BUG: -gc3 problems on OSX/PPC

2008-10-27 Thread Przemyslaw Czerpak
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( doub

[Harbour] BUG: -gc3 problems on OSX/PPC

2008-10-27 Thread Szakáts Viktor
Hi Przemek, Compiling this code on OSX (PPC) using -gc3: --- PROC MAIN() LOCAL a := 6 LOCAL b := 36 ? ( a / b ) ? ( a / b ) > .25 --- Will print: --- 0.17 .T. (wrong) --- The generated .c code is identical to the MSVC built one. Also, this code: --- PROC MAIN() ? (