https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80071
--- Comment #6 from joseph at codesourcery dot com ---
Note that there are two different proposals regarding __LINE__ for
Markham.
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2115.htm
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2129.p
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80071
--- Comment #5 from Martin Sebor ---
Another reference worth mentioning here is section 6.5 Value of the
__LINE__ macro in WG21 document N4220:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4220.pdf. It
discusses the issue raised her
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80071
--- Comment #4 from Martin Sebor ---
I should mention: the GCC __COUNTER__ macro can be used to generate a unique
integer each time it's expanded.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80071
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80071
--- Comment #2 from Samuel Lijin ---
They are? That's a legitimate question, I'd never heard that before but I can
totally believe it; I am looking through N4606 right now, though, and can't
find anything that implies one way or another (maybe [l
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80071
--- Comment #1 from Andrew Pinski ---
IIRC multiple line macros function uses are an extension to the language.