Miguel,

1. I'm not witnessing any GPF trap with -W3. Please point me to an  
actual code which triggers such gpf.

2. The wrong warnings were due to minor typo, related to -W3 (strong  
typing) being disabled  because it must be recoded from scratch. In  
the mean time IIRC -W2 is the highest functional warning level. IAE  
the typo should be fixed after: 2008-06-03 06:12 UTC-0430 Ron Pinkas  
<ron/at/xharbour.com>

Ron

On Jun 3, 2008, at 2:07 AM, Miguel Angel Marchuet wrote:

> Another problem for release:
>
> If you use -w3 easily GPF is produced
>
> and they are wrong warnings. for example says:
>
> at line 36
>
> PROCEDURE Main( cAppArg )
>
> says:
>
> prg\Senior.prg(234) Warning W0003  Variable: 'CAPPARG' declared but  
> not used in function: 'MAIN(36)'
>
> but is used at line 96
>
>     oApp:Init( cAppArg, 'SENLOCAL.INI', 'SENIOR.INI', PRG_EXENAME +  
> '.HLP' )
>
> Best regards
> Miguel Angel marchuet
>
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
>       C:\CVS-Developers\xharbour\bin\harbour.exe -q0 -n -m -w3 -es2 -gc0  
> -dTPV
> -iinclude;c:\utl\fwh705\include;C:\CVS-Developers\xharbour\include - 
> dDESARROLLO -dBMFILTER prg\Senior.prg
> -oobj32\develop\TPVPro\Senior.c
>
> prg\Senior.prg(234) Warning W0003  Variable: 'CAPPARG' declared but  
> not used in function: 'MAIN(36)'
>
> prg\Senior.prg(234) Warning W0003  Variable: 'OFONT' declared but  
> not used in function: 'MAIN(38)'
>
> prg\Senior.prg(234) Warning W0003  Variable: 'OBMP' declared but  
> not used in function: 'MAIN(38)'
>
> prg\Senior.prg(234) Warning W0003  Variable: 'ACFCHECK' declared  
> but not used in function: 'MAIN(38)'
>
> prg\Senior.prg(234) Warning W0003  Variable: 'ACFCOPY' declared but  
> not used in function: 'MAIN(38)'
>
> prg\Senior.prg(234) Warning W0003  Variable: 'NITEM' declared but  
> not used in function: 'MAIN(38)'
>
> prg\Senior.prg(234) Warning W0003  Variable: 'CCLSID' declared but  
> not used in function: 'MAIN(38)'
>
> prg\Senior.prg(234) Warning W0003  Variable: 'CPROGID' declared but  
> not used in function: 'MAIN(38)'
>
> prg\Senior.prg(234) Warning W0003  Variable: 'CSERVER' declared but  
> not used in function: 'MAIN(38)'
>
> prg\Senior.prg(263) Warning W0003  Variable: 'OBMP' declared but  
> not used in function: 'LVALIDWNDMAIN(234)'
>
> prg\Senior.prg(346) Warning W0003  Variable: 'NPOS' declared but  
> not used in function: 'SALIR$(286)'
>
> prg\Senior.prg(346) Warning W0003  Variable: 'CLOG' declared but  
> not used in function: 'SALIR$(286)'
>
> prg\Senior.prg(346) Warning W0003  Variable: 'HRES' declared but  
> not used in function: 'SALIR$(286)'
>
> prg\Senior.prg(360) Warning W0003  Variable: 'DISCO' declared but  
> not used in function: 'CINSTALACION(346)'
>
> prg\Senior.prg(360) Warning W0003  Variable: 'PROTSERIE' declared  
> but not used in function: 'CINSTALACION(346)'
>
> prg\Senior.prg(360) Warning W0003  Variable: 'OPCIONES' declared  
> but not used in function: 'CINSTALACION(346)'
>
> prg\Senior.prg(360) Warning W0003  Variable: 'CSERIE' declared but  
> not used in function: 'CINSTALACION(347)'
>
> prg\Senior.prg(360) Warning W0003  Variable: 'COPCIONES' declared  
> but not used in function: 'CINSTALACION(347)'
>
> prg\Senior.prg(360) Warning W0003  Variable: 'CCODIGO' declared but  
> not used in function: 'CINSTALACION(348)'
>
> C:\CVS-Developers\xharbour\include\hbexcept.ch(76) Warning W0003   
> Variable: 'LINFO' declared but not used in function:
> 'INITPROFILER(360)'
>
> C:\CVS-Developers\xharbour\include\hbexcept.ch(76) Warning W0003   
> Variable: 'OPROFILE' declared but not used in function:
> 'INITPROFILER(362)'
>
> prg\Senior.prg(521) Warning W0003  Variable: 'EXCEPTION' declared  
> but not used in function: 'GPFHANDLER(419)'
>
> prg\Senior.prg(521) Warning W0003
> ** error -1073741819 ** deleting obj32\develop\TPVPro\Senior.c
>
>
>
>
> ---------------------------------------------------------------------- 
> ---
> 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
> xHarbour-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
>


-------------------------------------------------------------------------
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
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to