Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 664 Bytes

compiler-warning-level-1-c4329.md

File metadata and controls

23 lines (20 loc) · 664 Bytes
description title ms.date f1_keywords helpviewer_keywords
Learn more about: Compiler Warning (level 1) C4329
Compiler Warning (level 1) C4329
11/04/2016
C4329
C4329

Compiler Warning (level 1) C4329

alignment specifier is ignored on enum

Use of the alignment specifiers on enum isn't allowed. This pattern includes the use of the align __declspec modifier. 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;