Re: [Harbour] 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-06-05 Thread Szakáts Viktor
Many thanks for your input Ryszard. Brgds, Viktor On 2008.06.04., at 14:27, Ryszard Glab wrote: On 2 Jun 2008 at 20:13, Szakáts Viktor wrote: Probably Ryszard should answer for this. Now upper letters are used to disable some features. In the future we may need more combinations so maybe it'

Re: [Harbour] 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-06-04 Thread Ryszard Glab
On 2 Jun 2008 at 20:13, Szakáts Viktor wrote: > > Probably Ryszard should answer for this. > > Now upper letters are used to disable some features. > > In the future we may need more combinations so maybe it's > > good idea to keep it case sensitive. > > Well, I really hope so we won't need that m

Re: [Harbour] 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-06-03 Thread Przemyslaw Czerpak
On Mon, 02 Jun 2008, Szakáts Viktor wrote: Hi Viktor, > >Clipper does not make any optimizations for macro compiled > >code so it gives correct results executing RT functions or > >evaluating PCODE. We are making the optimizations but for > >macro compiler Harbour calculates correct results so th

Re: [Harbour] 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-06-02 Thread Szakáts Viktor
Plus, rather than saying 'lowercase/uppercase significant' it would be more intuitive to just use lowercase for 'J' and 'M', and make casing not to matter, like for the rest of Harbour switches. I can make this, but I wonder if there was any special reason doing it like this? Probably Ryszard sh

Re: [Harbour] 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-06-02 Thread Przemyslaw Czerpak
On Mon, 02 Jun 2008, Szakáts Viktor wrote: Hi Viktor, > One thing I forgot: To do this we'd need a switch > which would toggle the parenthesised expression > optimization only. OK, I can add it. > BTW, for me it's unclear by looking at the 'harbour /k?' > help, which options are enabled by defa

Re: [Harbour] 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-06-02 Thread Szakáts Viktor
Hi Przemek, It's not possible to make a perfect decision here, unless investing extreme energy (like those flags) to keep bug compatibility, not to mention what an ugly inconsistency this is. My personal opinion in this case is to fix this Clipper bug in Harbour, and make it available using a

Re: [Harbour] 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-06-02 Thread Przemyslaw Czerpak
On Mon, 02 Jun 2008, Szakáts Viktor wrote: Hi Viktor, > It's not possible to make a perfect decision here, > unless investing extreme energy (like those flags) > to keep bug compatibility, not to mention what an > ugly inconsistency this is. My personal opinion in this > case is to fix this Clipp

Re: [Harbour] 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-06-02 Thread Szakáts Viktor
Hi Przemek, In general there is a problem with compile time optimizations for CHR( * 256 ) and $ operator in expressions like: "" $ caused by bugs in Clipper compiler. It gives different results then runtime functions/operations. Keeping strict Clipper compatibility is hard in complex expr

Re: [Harbour] 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-06-02 Thread Szakáts Viktor
Hi Przemek, We currently also use the '()' non-optimization for HB_SYMBOL_UNUSED(). It is and was optimized. For all expressions like: (exp) (exp) our expression optimizer strips parenthesis. It's also not Clipper compatible and maybe we should disable this optimization when -kc is used.

Re: [Harbour] 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-06-02 Thread Przemyslaw Czerpak
On Mon, 02 Jun 2008, Szakáts Viktor wrote: Hi Viktor, > We currently also use the '()' non-optimization for > HB_SYMBOL_UNUSED(). It is and was optimized. For all expressions like: (exp) (exp) our expression optimizer strips parenthesis. It's also not Clipper compatible and maybe we should d

Re: [Harbour] 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-06-02 Thread Szakáts Viktor
Hi Przemek, We currently also use the '()' non-optimization for HB_SYMBOL_UNUSED(). If we can resolve the above, and make it possible to disable the feature using -k switch, I think we are fine with it. If this involves any complexities though, I'd leave it for after RC1. Brgds, Viktor On 200

[Harbour] 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-06-02 Thread Przemyslaw Czerpak
2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c ! do not optimize HB_BIAND(), HB_BITOR() and HB_BITXOR() when only one parameter is passed to keep RT error compatibility * use hb_compExprListStrip() to optimize function calls also wh