Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- zachary@eng701 ~/cerealtest
- $ g++ main.cpp -std=c++11 -I .
- In file included from ./cereal/archives/json.hpp:32:0,
- from main.cpp:2:
- ./cereal/cereal.hpp: In member function ‘std::shared_ptr<void> cereal::InputArchive<ArchiveType, Flags>::getSharedPointer(uint32_t)’:
- ./cereal/cereal.hpp:650:101: error: ‘to_string’ is not a member of ‘std’
- throw Exception("Error while trying to deserialize a smart pointer. Could not find id " + std::to_string(id));
- ^
- ./cereal/cereal.hpp: In member function ‘std::string cereal::InputArchive<ArchiveType, Flags>::getPolymorphicName(uint32_t)’:
- ./cereal/cereal.hpp:678:112: error: ‘to_string’ is not a member of ‘std’
- throw Exception("Error while trying to deserialize a polymorphic pointer. Could not find type id " + std::to_string(id));
- ^
- In file included from main.cpp:2:0:
- ./cereal/archives/json.hpp: In member function ‘void cereal::JSONOutputArchive::writeName()’:
- ./cereal/archives/json.hpp:330:40: error: ‘to_string’ is not a member of ‘std’
- std::string name = "value" + std::to_string( itsNameCounter.top()++ ) + "\0";
- ^
- ./cereal/archives/json.hpp: In member function ‘void cereal::JSONInputArchive::stringToNumber(const string&, long long int&)’:
- ./cereal/archives/json.hpp:658:79: error: ‘stoll’ is not a member of ‘std’
- void stringToNumber( std::string const & str, long long & val ) { val = std::stoll( str ); }
- ^
- ./cereal/archives/json.hpp: In member function ‘void cereal::JSONInputArchive::stringToNumber(const string&, long long unsigned int&)’:
- ./cereal/archives/json.hpp:660:88: error: ‘stoull’ is not a member of ‘std’
- void stringToNumber( std::string const & str, unsigned long long & val ) { val = std::stoull( str ); }
- ^
- ./cereal/archives/json.hpp: In member function ‘void cereal::JSONInputArchive::stringToNumber(const string&, long double&)’:
- ./cereal/archives/json.hpp:662:81: error: ‘stold’ is not a member of ‘std’
- void stringToNumber( std::string const & str, long double & val ) { val = std::stold( str ); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement