我有编译和工作的 platformio 项目。使用 emacs + lsp-mode + clang。我得到的一个奇怪的错误是这样的结构:
#include <queue>
#include <vector>
struct test_v{
std::vector<int> buff;
};
在线上#include <queue>
in included file: no type named 'pointer' in 'std::allocator_traits<std::allocator<int>>'
在buff定义线上
In template: no member named 'value' in 'std::is_void<int>'
文件.hpp
以防万一