Hi,

it would be nice to have multiple parameter support for both C and .PRG version of HB_SYMBOL_UNUSED() macro.

Sometimes I temporarily need to add dummy a function, or comment large piece of code of a large functions. This make generate "variable defined but not used" warnings and stops compilation. -w*, -es* compiler options are somewhere deep inside make system.

FUNC f( par1, par2, par3, par4 )

Writing of :
   HB_SYMBOL_UNUSED( par1, par2, par3, par4 )

is much more quick and elegant than:
   HB_SYMBOL_UNUSED( par1 )
   HB_SYMBOL_UNUSED( par2 )
   HB_SYMBOL_UNUSED( par3 )
   HB_SYMBOL_UNUSED( par4 )
   ...


Regards,
Mindaugas
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to