0

I've got platformio project that compiles and works. Using emacs + lsp-mode + clang. One of the weird errors I get is for structures like this:

#include <queue>
#include <vector>

struct test_v{
    std::vector<int> buff;
};

on the line #include <queue>

in included file: no type named 'pointer' in 'std::allocator_traits<std::allocator<int>>'

on the line of buff definition

In template: no member named 'value' in 'std::is_void<int>'

file is .hpp in case this matters

Drew
  • 29,895
  • 7
  • 74
  • 104
gdanov
  • 312
  • 2
  • 12

1 Answers1

0

the config was incomplete and missing headers that define the needed std:: parts

gdanov
  • 312
  • 2
  • 12