Ron Pinkas escribió:
> Miguel,
> 
> This is not a good resolution, as -W3 or more has nothing to do with 
> this. I just reverted this change in the last few days. If we agree that 
> unused variables warning should be broken down, then it should be 
> properly done, f.e.
> 
>  -W2Locals -W2Statics -W2Globals -W2Blocks -W2All
> 
> Or at very least:
> 
>   -W21 -W22 -W23 -W23 -W20
> 

Possibly remove from -w2 W0004 is not a good idea, but if we can't remove it
we can't use warning level 2 because arise thousand of warnings.

There are more than 27 warning types. I think is better allow warnings with 
-w[n]

and remove some warnings as other compilers works:

f.e.

        -w2 -w-4

to activate warning level 2 and remove warning 4 (blocks)


or

The warn pragma lets you override specific -wxxx command-line options or check 
Display Warnings. xxx is the three letter
or four-digit message identifier used by the command-line option.


FOR ME your idea is a good idea to solve the problem definitively

Best regards,
Miguel Angel Marchuet

-------------------------------------------------------------------------
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

Reply via email to