源码文件
#include "struct-layout-1.h" #define F(n, x, v, w) \ if (info.flds[i] != &s##n.x) \ FAIL (n, 50); \ if (in…
汇集 Layout+Manager 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
#include "struct-layout-1.h" #define F(n, x, v, w) \ if (info.flds[i] != &s##n.x) \ FAIL (n, 50); \ if (in…
#undef F #undef N #undef B #undef TX #ifdef SKIP_VA const int test_va = 0; #else const int test_va = 1; #endif #define F(n, x, v…
struct { long f8:8; long f24:24; } a; struct { long f32:32; } b; main () { if (sizeof (a) != sizeof (b)) abort (); exit (…