diag0265.c
来自「开放源码的编译器open watcom 1.6.0版的源代码」· C语言 代码 · 共 20 行
C
20 行
typedef char *va_list[1];
#if 0
#define va_arg(ap,type) ((ap)[0]+=\
((sizeof(type)+sizeof(int)-1)&~(sizeof(int)-1)),\
(*(type *)((ap)[0]-((sizeof(type)+sizeof(int)-1)&~(sizeof(int)-1)))))
#else
#define va_arg(ap,type) ((ap)[0]+=\
(7&~(3)),\
(*(int *)((ap)[0]-(7&~(3)))))
#endif
extern va_list al;
void foo() {
va_arg(al,int);
}
#error This should be the only error
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?