[Bug preprocessor/64803] [5 Regression] __LINE__ inside macro is not constant
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 29 12:07:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64803
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note, instead of doing such ugly hacks with __LINE__, IMHO gtest should use
__COUNTER__ instead, that doesn't care if it is on one line or multiple, and
doesn't get upset if you put more such macros on the same line.
More information about the Gcc-bugs
mailing list