[cfe-commits] [Request for approval] Warning for recursive macro expansion attempt
dgregor at apple.com
Sun Jan 1 09:56:42 PST 2012
On Dec 22, 2011, at 10:32 AM, Abramo Bagnara wrote:
> The attached patch add a warning (disabled by default) to show the
> (mostly unwanted) attempt to recursively expand a macro.
> Ok to commit?
I'm having a hard time understanding the motivation behind this warning, because I've never encountered a place where it would have helped find a problem. On the other hand, I've seen a number of macros that wrap functions (with the same name) that benefit from the suppression of recursive macro instantiations, and those would come up as false positives with this warning.
More information about the cfe-commits