Peter N Lewis wrote:
Given GPC does has -Wunused-parameters, {$unused()} becomes even
more useful.
I think we've discussed compiler directives vs. attributes or statements (Discard) before.
I don't suppose there is any change Discard could take more than one parameter and discard them all?
I would not be difficult to add. OTOH, it would make it a more special extensions. As has been noted repeatedly, the lest "costly" extensions are those that behave like a predefined routine (though, here, accepting any type).
Frank