Well there is a new one: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3199.htm
But calling things "stupid" is relatively useless internet noise and the best way to be ignored.
But calling things "stupid" is relatively useless internet noise and the best way to be ignored.
Just standardize attribute((cleanup)) as it is already widely implemented and used, and stop messing around with defer nonsense.
cleanup is unlikely to be standardized exactly as implemented as it would violate the rule that standard attributes can be removed from a correct program.
> it would violate the rule
Good, let's change that rule for this case.
I think changing the rule would create a mess, so I am not in favor of this. I wonder if there is a way so that existing macro wrappers could be adapted...