https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120498
--- Comment #3 from наб <nabijaczleweli at nabijaczleweli dot xyz> --- Sure, I build with -Wno-c99-extensions so I didn't really clock it. Even if you consider GCC erroring on this instead of warning to be correct (which I don't think is useful to anyone), the error is meaningless as-issued. In the original a.cpp:5:69: error: either all initializer clauses should be designated or none of them should be 5 | struct sigaction sa{.sa_flags = static_cast<int>(SA_RESETHAND), .sa_handler = [](int) { longjmp(sigbussy, true); }}; | ^ a.cpp:5:69: error: expected primary-expression before ‘.’ token this indicates that GCC wants... all members of sa? to be initialised? when this isn't a requirement anywhere else?