Compiler Warning (level 4) C4324
'structname': structure was padded due to alignment specifier
Padding was added at the end of a structure because you specified an alignment specifier, such as __declspec(align).
For example, the following code generates C4324:
// C4324.cpp
// compile with: /W4
struct __declspec(align(32)) A
{
char a;
}; // C4324
int main()
{
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for