GCC 8 and newer have the correct error message:
struct.cc:29:1: error: initialization of flexible array member in a nested
context
29 | };
| ^
struct.cc:29:1: error: initialization of flexible array member in a nested
context
** Changed in: gcc-defaults (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810606
Title:
gcc compile fail with internal error while compiling structs
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1810606/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs