{"action":"closed","issue":{"url":"https://api.github.com/repos/acfr/comma/issues/55","labels_url":"https://api.github.com/repos/acfr/comma/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/acfr/comma/issues/55/comments","events_url":"https://api.github.com/repos/acfr/comma/issues/55/events","html_url":"https://github.com/acfr/comma/issues/55","id":71797983,"number":55,"title":"name-value-convert compilation error with Boost 1.56+","user":{"login":"andrew-hill","id":368167,"avatar_url":"https://avatars.githubusercontent.com/u/368167?v=3","gravatar_id":"","url":"https://api.github.com/users/andrew-hill","html_url":"https://github.com/andrew-hill","followers_url":"https://api.github.com/users/andrew-hill/followers","following_url":"https://api.github.com/users/andrew-hill/following{/other_user}","gists_url":"https://api.github.com/users/andrew-hill/gists{/gist_id}","starred_url":"https://api.github.com/users/andrew-hill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrew-hill/subscriptions","organizations_url":"https://api.github.com/users/andrew-hill/orgs","repos_url":"https://api.github.com/users/andrew-hill/repos","events_url":"https://api.github.com/users/andrew-hill/events{/privacy}","received_events_url":"https://api.github.com/users/andrew-hill/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-29T07:11:33Z","updated_at":"2015-04-30T05:25:57Z","closed_at":"2015-04-30T05:25:57Z","body":"Apparently there's an API change from Boost 1.56 (compared to 1.55) for boost::property_tree\r\n\r\nIn comma, this affects name-value-convert.cpp line 95 where the xml_writer_settings are templated on char type.\r\n\r\nHere's the changes from another project, which now supports both pre-1.56 and post-1.56 APIs. I'm not sure if there is a simpler way...\r\nhttps://github.com/PointCloudLibrary/pcl/pull/867/files\r\n\r\nAs a simple test for Boost 1.56+, the following change to line 95 resolves the compilation error\r\nreplace this line:\r\n```\r\nstatic boost::property_tree::xml_parser::xml_writer_settings< char > xml_writer_settings;\r\n```\r\nwith this line:\r\n```\r\nstatic boost::property_tree::xml_parser::xml_writer_settings< std::string> xml_writer_settings = boost::property_tree::xml_writer_make_settings< std::string >();\r\n```\r\n\r\nA portable solution, assuming you want pre-1.56 and post-1.56 compatibility would be more along the lines of the changes linked above, i.e. wrapped in `#if (BOOST_VERSION >= 105600)`"}}