[Bug preprocessor/89380] Multiple items in brace not working on nested macro
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 17 20:25:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to mdblack98 from comment #5)
> Why can't it be fixed by not counting commas between braces? That seems to
> be the problem.
Because then GCC will break some valid C code :). I think you should make a
proposal to the C Language committee if you really want this feature. NOTE
this feature will break backward compatibility with older standards but maybe
the C committee will agree with it. NOTE it won't be the default in GCC for a
long time (maybe around 10 years from now) if it gets accepted by the C
standards comittee today.
More information about the Gcc-bugs
mailing list