64,647
社区成员
发帖
与我相关
我的任务
分享
D:\>cat 1.c
struct _
{
};
D:\>cl 1.c
用于 x64 的 Microsoft (R) C/C++ 优化编译器 17.00.50727.1 版
版权所有(C) Microsoft Corporation。保留所有权利。
1.c
1.c(3) : error C2016: C 要求一个结构或联合至少有一个成员
D:\>cl /Tp 1.c
用于 x64 的 Microsoft (R) C/C++ 优化编译器 17.00.50727.1 版
版权所有(C) Microsoft Corporation。保留所有权利。
1.c
Microsoft (R) Incremental Linker Version 11.00.50727.1
Copyright (C) Microsoft Corporation. All rights reserved.
/out:1.exe
1.obj
LINK : fatal error LNK1561: 必须定义入口点