使用absl::StrFormat时,我在 VisualStudio 2017 中收到静态代码分析警告(红色下划线)。我的代码可以构建并运行,但我不知道为什么会收到此警告。什么可能导致这种情况,我可以做些什么来修复或抑制红色下划线?
这是一个简单的例子,
absl::StrFormat("hello %s", "world");
no instance of function template "absl::lts_20210324::StrFormat" matches the argument list argument types are: (const char[9], const char[6])