2008-06-05 22:57 UTC-0430 Ron Pinkas <ron/at/xharbour.com>
* common.mak
* compile.mak
* Corrected inconsistent and invalid use of !if to !ifdef
* source/vm/fastitem.c
* Added few debug asserts
* include/hbcomp.h
* source/compiler/cmdcheck.c
* source/compiler/harbour.c
+ Added support for:
-WL[ocals][-]
-WS[tatics][-]
-WG[lobals][-]
-WM[emvars][-]
-WF[ields][-]
NOTES:
1. -W2 is eqivalent to -WL -WS -WG -WM -WF
(I didn't use -WAll because it might be used in the
future to enable all warnings of all kind)
2. As with all compiler switches, the last specified switch
override previous settings - example:
-W2 -WB-
The above will enable all unused variables warnings
EXCEPT for Blocks.
Note that I didn't fix pp #pragma support because strangely it
doesn't use hb_compChkEnvironVar() as it should, but rather it has
hard coded duplicated code. I didn't have time to change
hb_compChkEnvironVar() to return the value of the set switch and
correct #pragma support. If someone can do it please do.
Ron
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers