Thanks a lot Przemek, I can confirm it works.

Shouldn't we also allow 'DEFINE >= 0x100' in case
DEFINE is not defined, and in this case returning
FALSE?

Brgds,
Viktor

On 2008.11.07., at 0:37, Przemyslaw Czerpak wrote:

2008-11-07 00:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
 * harbour/include/hbwmain.c
   * pacified unused variable warning

 * harbour/include/hbpp.h
 * harbour/source/pp/ppcore.c
! do not report #if expression errors in #if PP directives when they are
     in codedis activated by parent #if[def]/#elif/#else. It allows
     to compiler code like:
        #ifdef DEFINE
           #if DEFINE >= 0x100
              ...
           #endif
        #endif
+ added logical expression reduction to not report #if expression errors
     in code like:
        #ifdef DEFINE && DEFINE >= 0x100
           ...
        #endif
! fixed possible division by 0error in #if exporessions like #if 1 / 0
     Now #if expression compiler error is generated
! restored some bit operators in #if directives wrongly disabled with
     xHarbour stuff

 * harbour/source/vm/hashfunc.c
   % removed unnecessary hb_itemUnRef()

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

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

Reply via email to