[Bug preprocessor/94207] error: pasting "::" and "ClassFOO1" does not give a valid preprocessing token
jr at heisey dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 17 21:34:32 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94207
--- Comment #2 from J.R. Heisey <jr at heisey dot org> ---
OK I see that now.
I still cannot make it work with this
#define ENUM_CLASS_TEST_INIT(k) \
mEnumClassTest[k] = EnumClassTest::k;
or adding whitespace between :: and k
More information about the Gcc-bugs
mailing list