-----Messaggio Originale-----
Da: "Ron Pinkas" <[EMAIL PROTECTED]>
A: "xHarbour-Developers List" <[email protected]>
Data invio: martedì 3 giugno 2008 12.53
Oggetto: [xHarbour-developers] 2008-06-03 06:12 UTC-0430 Ron
Pinkas<ron/at/xharbour.com>
> 2008-06-03 06:12 UTC-0430 Ron Pinkas <ron/at/xharbour.com>
> * source/compiler/harbour.c
> * Fixed hb_compVariableGetPos() was setting VV_USED only for
> warning level lower than 3
> * Block unused variable was reported for only warning level
> greater than 4, reset to greater than 0
:-(
Now the following FWH sample:
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL cVar := SPACE( 30 )
DEFINE DIALOG oDlg
@ 1, 1 GET cVar;
ON CHANGE MYFUNC()
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
STATIC FUNCTION MYFUNC()
RETURN NIL
gives these warnings if -wn with n > 0 is used:
Warning W0004 Codeblock parameter: 'NKEY' declared but not used in
function: 'MAIN'
Warning W0004 Codeblock parameter: 'NFLAGS' declared but not used in
function: 'MAIN'
Warning W0004 Codeblock parameter: 'SELF' declared but not used in
function: 'MAIN'
EMG
--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page: http://www.emagsoftware.it/emgmusic
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers