📄 tr-warn2.c
字号:
/* K+R rejects use of function-like macros in non-function context. ANSI C explicitly permits this (the macro is not expanded). *//* { dg-do compile } *//* { dg-options -Wtraditional } */enum { SIGN_EXTEND = 23 };#define SIGN_EXTEND(v) (((v) < 0) ? -1 : 0)int fun(void){ return SIGN_EXTEND; /* { dg-warning "must be used with arguments" } */}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -