On Wed, 11 Feb 2009, Juan Gálvez wrote:

Hi Juan,

>> -wb- in xHarbour only disables warnings for unused clodeblock local
>> variables.
> What do you think about implementing this flag in Harbour? 

I do not find as important feature. Maybe in the future if we add
some warnings which should not be enabled for default settings but
only on user explicit request.
I only think that HB_SYMBOL_UNUSED() should be moved from common.ch
to std.ch. In practice it's now part of compiler and not all users
wants to include common.ch to pacify some warnings.
Such modification allows to also replace __HB_CLS_SYMBOL_UNUSED() in
hbclass.ch with HB_SYMBOL_UNUSED() which will be always available.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to