__declspec(align()) is ignored on enum
Use of the align keyword of the __declspec modifier is not allowed on an enum. The following sample generates C4329:
enum __declspec(align(256)) TestEnum { TESTVAL1, TESTVAL2, TESTVAL3 }; __declspec(align(256)) enum TestEnum1;