On Monday 07 March 2005 19:49, Mark Mitchell wrote:
The way I think about this is that G++ has long supported the GNU min/max expression extension -- and it's long been broken. Over the years, I've fielded several bug reports about that extension, and we've gradually cleaned it up, but mostly it's just been neglected.
So, maybe the extension is not used very much. Perhaps it should be removed?
I don't think it's used very much. It doesn't buy you much brevity, and in C++, you would generally use std::max/std::min anyhow.
I'd be happy to see it (deprecated and then) removed, but I think we'd need buy-in from the C front end maintainers. As extensions go, it's actually not that bad; the semantics are relatively well defined.
-- Mark Mitchell CodeSourcery, LLC [EMAIL PROTECTED] (916) 791-8304