[Bug c/105510] error: initializer element is not constant

matheus.a.m.moreira at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jul 4 18:19:06 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105510

--- Comment #6 from Matheus Afonso Martins Moreira <matheus.a.m.moreira at gmail dot com> ---
Also ran into this issue today, also involving compound literals in nested
structure initialization macros. Because clang accepts this, it compiled fine
on my development machine but failed to build in the testing matrix. Would be
great if GCC also accepted this.


More information about the Gcc-bugs mailing list