Thank you very much Przemek,

     + added support for __pragma(<switchname>  ) in #if expressions, i.e.:
          #if __pragma( WARNINGLEVEL )>= 3
             #stdout Warnings set to level 3 or higher
          #endif
          #if !__pragma( z )
             #stdout Shortcut optimization enabled
          #else
             #stdout Force complete boolean evaluation
          #endif
          #if __pragma( kj )
             #stdout NO JUMP OPTIMIZATION
          #endif
          #if __pragma( km )
             #stdout MACRO TEXT SUBSTITUTION DISABLED
          #endif
          #if __pragma( kh )
             #stdout HARBOUR EXTENSIONS
          #endif

I find it really useful because many codes may not work depending the type of 
compilation not only for Harbour extensions.
For example the typical problems with shortcut disabled .-

...
  IF oGet != NIL .AND. oGet:TYPE == "N"
...

Now we know how compile the code from code inside.

--
Xavi
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to