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()
{
}
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ