Advertisement
Guest User

Untitled

a guest
Apr 26th, 2016
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. zachary@eng701 ~/cerealtest
  2. $ g++ main.cpp -std=c++11 -I .
  3. In file included from ./cereal/archives/json.hpp:32:0,
  4. from main.cpp:2:
  5. ./cereal/cereal.hpp: In member function ‘std::shared_ptr<void> cereal::InputArchive<ArchiveType, Flags>::getSharedPointer(uint32_t)’:
  6. ./cereal/cereal.hpp:650:101: error: ‘to_string’ is not a member of ‘std’
  7. throw Exception("Error while trying to deserialize a smart pointer. Could not find id " + std::to_string(id));
  8. ^
  9. ./cereal/cereal.hpp: In member function ‘std::string cereal::InputArchive<ArchiveType, Flags>::getPolymorphicName(uint32_t)’:
  10. ./cereal/cereal.hpp:678:112: error: ‘to_string’ is not a member of ‘std’
  11. throw Exception("Error while trying to deserialize a polymorphic pointer. Could not find type id " + std::to_string(id));
  12. ^
  13. In file included from main.cpp:2:0:
  14. ./cereal/archives/json.hpp: In member function ‘void cereal::JSONOutputArchive::writeName()’:
  15. ./cereal/archives/json.hpp:330:40: error: ‘to_string’ is not a member of ‘std’
  16. std::string name = "value" + std::to_string( itsNameCounter.top()++ ) + "\0";
  17. ^
  18. ./cereal/archives/json.hpp: In member function ‘void cereal::JSONInputArchive::stringToNumber(const string&, long long int&)’:
  19. ./cereal/archives/json.hpp:658:79: error: ‘stoll’ is not a member of ‘std’
  20. void stringToNumber( std::string const & str, long long & val ) { val = std::stoll( str ); }
  21. ^
  22. ./cereal/archives/json.hpp: In member function ‘void cereal::JSONInputArchive::stringToNumber(const string&, long long unsigned int&)’:
  23. ./cereal/archives/json.hpp:660:88: error: ‘stoull’ is not a member of ‘std’
  24. void stringToNumber( std::string const & str, unsigned long long & val ) { val = std::stoull( str ); }
  25. ^
  26. ./cereal/archives/json.hpp: In member function ‘void cereal::JSONInputArchive::stringToNumber(const string&, long double&)’:
  27. ./cereal/archives/json.hpp:662:81: error: ‘stold’ is not a member of ‘std’
  28. void stringToNumber( std::string const & str, long double & val ) { val = std::stold( str ); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement