Hey, I wanted to ask, does gcc allow alignas attribute for enums? I can see this in some of the test cases in the gcc test suite: https://github.com/gcc-mirror/gcc/blob/master/gcc/testsuite/g%2B%2B.dg/cpp0x/alignas7.C#L7 https://github.com/gcc-mirror/gcc/blob/master/gcc/testsuite/g%2B%2B.dg/cpp0x/alignas15.C#L4 https://github.com/gcc-mirror/gcc/blob/master/gcc/testsuite/g%2B%2B.dg/cpp2a/is-layout-compatible3.C#L37 I think it is not allowed from c++20 onwards: https://cplusplus.github.io/CWG/issues/2354.html kind regards Fahad