Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 631 Bytes

compiler-warning-level-4-c4324.md

File metadata and controls

28 lines (23 loc) · 631 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 4) C4324
Compiler Warning (level 4) C4324
11/04/2016
C4324
C4324
420fa929-d9c0-40b4-8808-2d8ad3ca8090

Compiler Warning (level 4) C4324

'struct_name' : structure was padded due to __declspec(align())

Padding was added at the end of a structure because you specified a __declspec(align) value.

For example, the following code generates C4324:

// C4324.cpp
// compile with: /W4
struct __declspec(align(32)) A
{
   char a;
};   // C4324

int main()
{
}