Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Warning (level 1) C4329
Collapse the table of content
Expand the table of content

Compiler Warning (level 1) C4329

__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:

// C4329.cpp
// compile with: /W1 /LD
enum __declspec(align(256)) TestEnum {   // C4329
   TESTVAL1,
   TESTVAL2,
   TESTVAL3
};
__declspec(align(256)) enum TestEnum1;

Community Additions

ADD
Show:
© 2015 Microsoft