I am writing some basic c++ classes that use the stl "vector" library. When I compile the code in the Arduino environment, i get a compile error
The line of code that causes this -
"entries.push_back(entry);"
I am a Java developer so I am new to these kinds of compile errors in core libraries. Am I doing something wrong, or is this not supported by the compiler tooling?
Code:
dh_controller\dh_controller.cpp.o: In function `std::vector<Controller::Entry, std::allocator<Controller::Entry> >::_M_check_len(unsigned int, char const*) const':
c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\4.8.4\bits/stl_vector.h:1339: undefined reference to `std::__throw_length_error(char const*)'
The line of code that causes this -
"entries.push_back(entry);"
I am a Java developer so I am new to these kinds of compile errors in core libraries. Am I doing something wrong, or is this not supported by the compiler tooling?