在settings.json里添加
{ "C_Cpp.default.cStandard": "gnu99" }
关键是那个gnu,因为getopt.h是unix c标准里的,在standard c库里
- quot identifier undefined 语言 代码quot identifier undefined语言 identifier undefined esp-idf vscode quoted_identifier quoted_identifier identifier quoted set quot u-bg-color sasserror undefined quot undefined property cannot quot properties typeerror undefined quot undefined instance model identifier标识windows代码 quot syntaxerror undefined valid