-1

gcc throws fatal error: unordered_map.h: No such file or directory on #include . I am using CMAKE, and gcc 4.8.5 compiler.

main:

#include "a.h"
...
void main() { ...}


a.h:
#include <unordered_map>
Mikan
  • 89
  • 8

1 Answers1

0

I wasn't able to cross reference, but it says that unordered_map was introduced in C++11.

Source: https://en.cppreference.com/w/cpp/container/unordered_map