ESP8266 for Arduino IDE (xtensa-lx106-elf-gcc) and std::map linking error
Is it possible at all to use map with ESP8266 for Arduino package? Here is my code: #include <map> typedef std::map<int, int> Items; void setup() { Items items; items[2]=5; //items.emplace(4,5); } void loop() { } Here is compilation/linking erorrs: Arduino: 1.6.5 (Windows 8.1), Board: "Generic ESP8266 Module, Serial, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS)" sketch_oct31a.cpp.o: In function `loop': C:\Program Files (x86)\Arduino/sketch_oct31a.ino:11: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base