{"action":"created","issue":{"url":"https://api.github.com/repos/xavierdidelot/ClonalFrameML/issues/22","labels_url":"https://api.github.com/repos/xavierdidelot/ClonalFrameML/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/xavierdidelot/ClonalFrameML/issues/22/comments","events_url":"https://api.github.com/repos/xavierdidelot/ClonalFrameML/issues/22/events","html_url":"https://github.com/xavierdidelot/ClonalFrameML/issues/22","id":121063477,"number":22,"title":"Compile error","user":{"login":"aunderwo","id":423,"avatar_url":"https://avatars.githubusercontent.com/u/423?v=3","gravatar_id":"","url":"https://api.github.com/users/aunderwo","html_url":"https://github.com/aunderwo","followers_url":"https://api.github.com/users/aunderwo/followers","following_url":"https://api.github.com/users/aunderwo/following{/other_user}","gists_url":"https://api.github.com/users/aunderwo/gists{/gist_id}","starred_url":"https://api.github.com/users/aunderwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aunderwo/subscriptions","organizations_url":"https://api.github.com/users/aunderwo/orgs","repos_url":"https://api.github.com/users/aunderwo/repos","events_url":"https://api.github.com/users/aunderwo/events{/privacy}","received_events_url":"https://api.github.com/users/aunderwo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-08T17:57:38Z","updated_at":"2015-12-08T19:24:36Z","closed_at":"2015-12-08T19:07:06Z","body":"Hi when I try to compile the latest src I get the following error. Please could you advise on if this is an environment issue  or code bug?\r\n\r\nMany thanks\r\n\r\n```\r\nIn file included from ./coalesce/coalesce.h:22,\r\n                 from ./main.h:24,\r\n                 from main.cpp:20:\r\n./coalesce/coalescent_control.h: In member function ‘Control& Control::read_input(char*)’:\r\n./coalesce/coalescent_control.h:121: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h:124: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h:128: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h:135: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h:136: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h:144: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h:159: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h:162: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h:170: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h: In member function ‘Control& Control::vector_to_Matrix(std::vector<double, std::allocator<double> >*, myutils::Matrix<double>*, int, int)’:\r\n./coalesce/coalescent_control.h:202: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h:203: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h: In member function ‘Control& Control::read_mut_matrix(myutils::Matrix<double>&, std::vector<double, std::allocator<double> >&)’:\r\n./coalesce/coalescent_control.h:224: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h:231: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h:234: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h:239: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h:243: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_control.h:246: warning: deprecated conversion from string constant to ‘char*’\r\nIn file included from ./coalesce/coalescent_process.h:35,\r\n                 from ./coalesce/coalesce.h:23,\r\n                 from ./main.h:24,\r\n                 from main.cpp:20:\r\n./coalesce/coalescent_record.h: In member function ‘mt_node* marginal_tree::coalesce(double&, int&, int&)’:\r\n./coalesce/coalescent_record.h:119: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_record.h:126: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_record.h: In member function ‘mt_node* marginal_tree::migrate_coalesce(double&, int&, int&)’:\r\n./coalesce/coalescent_record.h:148: warning: deprecated conversion from string constant to ‘char*’\r\n./coalesce/coalescent_record.h:155: warning: deprecated conversion from string constant to ‘char*’\r\nmain.cpp: In function ‘void write_importation_status_intervals(std::vector<std::vector<ImportationState, std::allocator<ImportationState> >, std::allocator<std::vector<ImportationState, std::allocator<ImportationState> > > >&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::vector<bool, std::allocator<bool> >&, std::vector<int, std::allocator<int> >&, std::ofstream&, int, const char*)’:\r\nmain.cpp:1892: error: ‘strlen’ was not declared in this scope\r\nmain.cpp:1903: error: ‘strlen’ was not declared in this scope\r\nmain.cpp:1916: error: ‘strlen’ was not declared in this scope\r\n```"},"comment":{"url":"https://api.github.com/repos/xavierdidelot/ClonalFrameML/issues/comments/162988534","html_url":"https://github.com/xavierdidelot/ClonalFrameML/issues/22#issuecomment-162988534","issue_url":"https://api.github.com/repos/xavierdidelot/ClonalFrameML/issues/22","id":162988534,"user":{"login":"aunderwo","id":423,"avatar_url":"https://avatars.githubusercontent.com/u/423?v=3","gravatar_id":"","url":"https://api.github.com/users/aunderwo","html_url":"https://github.com/aunderwo","followers_url":"https://api.github.com/users/aunderwo/followers","following_url":"https://api.github.com/users/aunderwo/following{/other_user}","gists_url":"https://api.github.com/users/aunderwo/gists{/gist_id}","starred_url":"https://api.github.com/users/aunderwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aunderwo/subscriptions","organizations_url":"https://api.github.com/users/aunderwo/orgs","repos_url":"https://api.github.com/users/aunderwo/repos","events_url":"https://api.github.com/users/aunderwo/events{/privacy}","received_events_url":"https://api.github.com/users/aunderwo/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T19:24:36Z","updated_at":"2015-12-08T19:24:36Z","body":"Thanks that fixed it :)"}}