{"action":"created","issue":{"url":"https://api.github.com/repos/miki151/keeperrl/issues/567","labels_url":"https://api.github.com/repos/miki151/keeperrl/issues/567/labels{/name}","comments_url":"https://api.github.com/repos/miki151/keeperrl/issues/567/comments","events_url":"https://api.github.com/repos/miki151/keeperrl/issues/567/events","html_url":"https://github.com/miki151/keeperrl/issues/567","id":56136233,"number":567,"title":"Compilation issue with boost 1.55.0","user":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-31T19:31:52Z","updated_at":"2015-02-01T14:44:40Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying to build the current master branch (btw it would be great if you could tag the alpha13 release), and I'm faced with the following build error:\r\n```\r\ng++ -MMD -Wall -std=c++0x -Wno-sign-compare -Wno-unused-variable -Wfatal-errors -Wno-shift-count-overflow -Wno-tautological-constant-out-of-range-compare -g -I. -I./extern -I/usr/include/SFML2  -c view_index.cpp -o obj/view_index.o\r\nIn file included from /usr/include/boost/serialization/split_member.hpp:23:0,\r\n                 from /usr/include/boost/serialization/nvp.hpp:33,\r\n                 from /usr/include/boost/serialization/array.hpp:19,\r\n                 from /usr/include/boost/archive/basic_binary_iprimitive.hpp:56,\r\n                 from extern/portable_iarchive.hpp:89,\r\n                 from stdafx.h:53:\r\n/usr/include/boost/serialization/access.hpp: In instantiation of 'static void boost::serialization::access::serialize(Archive&, T&, unsigned int) [with Archive = eos::portable_iarchive; T = std::array<char, 7ul>]':\r\n/usr/include/boost/serialization/serialization.hpp:69:69:   required from 'void boost::serialization::serialize(Archive&, T&, unsigned int) [with Archive = eos::portable_iarchive; T = std::array<char, 7ul>]'\r\n/usr/include/boost/serialization/serialization.hpp:128:27:   required from 'void boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = eos::portable_iarchive; T = std::array<char, 7ul>]'\r\n/usr/include/boost/archive/detail/iserializer.hpp:192:5:   required from 'void boost::archive::detail::iserializer<Archive, T>::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = eos::portable_iarchive; T = std::array<char, 7ul>]'\r\n/usr/include/boost/archive/detail/iserializer.hpp:120:1:   required from 'class boost::archive::detail::iserializer<eos::portable_iarchive, std::array<char, 7ul> >'\r\n/usr/include/boost/archive/detail/iserializer.hpp:387:13:   required from 'static void boost::archive::detail::load_non_pointer_type<Archive>::load_standard::invoke(Archive&, const T&) [with T = std::array<char, 7ul>; Archive = eos::portable_iarchive]'\r\n/usr/include/boost/archive/detail/iserializer.hpp:439:28:   [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]\r\n/usr/include/boost/archive/detail/common_iarchive.hpp:66:40:   required from 'void boost::archive::detail::common_iarchive<Archive>::load_override(T&, int) [with T = const boost::serialization::nvp<std::array<char, 7ul> >; Archive = eos::portable_iarchive]'\r\n/usr/include/boost/archive/basic_binary_iarchive.hpp:70:7:   required from 'void boost::archive::basic_binary_iarchive<Archive>::load_override(T&, int) [with T = const boost::serialization::nvp<std::array<char, 7ul> >; Archive = eos::portable_iarchive]'\r\n/usr/include/boost/archive/detail/interface_iarchive.hpp:60:9:   required from 'Archive& boost::archive::detail::interface_iarchive<Archive>::operator>>(T&) [with T = const boost::serialization::nvp<std::array<char, 7ul> >; Archive = eos::portable_iarchive]'\r\n/usr/include/boost/archive/detail/interface_iarchive.hpp:67:32:   required from 'Archive& boost::archive::detail::interface_iarchive<Archive>::operator&(T&) [with T = const boost::serialization::nvp<std::array<char, 7ul> >; Archive = eos::portable_iarchive]'\r\nview_index.cpp:24:5:   required from 'void ViewIndex::serialize(Archive&, unsigned int) [with Archive = eos::portable_iarchive]'\r\nview_index.cpp:31:1:   required from here\r\n/usr/include/boost/serialization/access.hpp:118:9: error: 'struct std::array<char, 7ul>' has no member named 'serialize'\r\n         t.serialize(ar, file_version);\r\n         ^\r\ncompilation terminated due to -Wfatal-errors.\r\nMakefile:105: recipe for target 'obj/view_index.o' failed\r\n```\r\n\r\nEnvironment:\r\nMageia 5 64bit, gcc 4.9.2, boost 1.55.0"},"comment":{"url":"https://api.github.com/repos/miki151/keeperrl/issues/comments/72367365","html_url":"https://github.com/miki151/keeperrl/issues/567#issuecomment-72367365","issue_url":"https://api.github.com/repos/miki151/keeperrl/issues/567","id":72367365,"user":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T14:44:40Z","updated_at":"2015-02-01T14:44:40Z","body":"I did as you suggested, and it did fix the build of view_index.cpp and brought an error with boost:optional:\r\n```\r\ng++ -MMD -std=c++0x -g -I. -I./extern -I/usr/include/SFML2  -c map_gui.cpp -o obj/map_gui.o\r\nmap_gui.cpp: In member function 'void MapGui::updateObjects(const CreatureView*, MapLayout*, bool, bool)':\r\nmap_gui.cpp:705:20: error: 'class boost::optional<ViewIndex>' has no member named 'emplace'\r\n       objects[pos].emplace();\r\n                    ^\r\nMakefile:97: recipe for target 'obj/map_gui.o' failed\r\n```"}}