-
Msys2 MinGW64. xmake 2.6.2 一个例子: //warning.c
#pragma GCC warning "A warning"
int main(){
} -- xmake.lua
target("warning")
add_files("warning.c") |
Beta Was this translation helpful? Give feedback.
Answered by
waruqi
Apr 4, 2022
Replies: 1 comment
-
不是,xmake -v 仅用于看编译参数详情,xmake -vD 用于看完整诊断信息,会更详细,所以带了 warning,要想单独看警告 可以用 xmake -w |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
f-zl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
不是,xmake -v 仅用于看编译参数详情,xmake -vD 用于看完整诊断信息,会更详细,所以带了 warning,要想单独看警告 可以用 xmake -w