{"action":"created","issue":{"url":"https://api.github.com/repos/molpopgen/fwdpp/issues/44","repository_url":"https://api.github.com/repos/molpopgen/fwdpp","labels_url":"https://api.github.com/repos/molpopgen/fwdpp/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/molpopgen/fwdpp/issues/44/comments","events_url":"https://api.github.com/repos/molpopgen/fwdpp/issues/44/events","html_url":"https://github.com/molpopgen/fwdpp/issues/44","id":193991485,"number":44,"title":"OSX/clang compatibility broken by \"mutation keys return pair of key/count in sampler, to aid downstream filtering\"","user":{"login":"ilovezfs","id":5268928,"avatar_url":"https://avatars.githubusercontent.com/u/5268928?v=3","gravatar_id":"","url":"https://api.github.com/users/ilovezfs","html_url":"https://github.com/ilovezfs","followers_url":"https://api.github.com/users/ilovezfs/followers","following_url":"https://api.github.com/users/ilovezfs/following{/other_user}","gists_url":"https://api.github.com/users/ilovezfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ilovezfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilovezfs/subscriptions","organizations_url":"https://api.github.com/users/ilovezfs/orgs","repos_url":"https://api.github.com/users/ilovezfs/repos","events_url":"https://api.github.com/users/ilovezfs/events{/privacy}","received_events_url":"https://api.github.com/users/ilovezfs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-07T08:55:50Z","updated_at":"2016-12-07T17:27:23Z","closed_at":"2016-12-07T13:46:56Z","body":"It looks like cxx11 compatibility was broken by ff696cb80e196b1ea51a3691ce1d943f0e985def.\r\n\r\nBefore this commit, the build is successful with cxx11, but after this commit I have to set libstdcxx or the build fails on macOS (test on 10.10, 10.11, and 10.12) with the following error:\r\n\r\n```\r\n\t/usr/bin/clang++ -std=c++11 -stdlib=libc++ -DHAVE_CONFIG_H -I. -I..   -F/usr/local/Frameworks  -w -pipe -march=native -mmacosx-version-min=10.11 -O2 -MT integration/sugar_matrixTest.o -MD -MP -MF $depbase.Tpo -c -o integration/sugar_matrixTest.o integration/sugar_matrixTest.cc &&\\\r\n\tmv -f $depbase.Tpo $depbase.Po\r\nIn file included from integration/sugar_matrixTest.cc:9:\r\nIn file included from ../fwdpp/sugar/matrix.hpp:76:\r\n../fwdpp/sugar/matrix_details.hpp:161:17: error: no matching constructor for initialization of 'std::vector<std::size_t>' (aka 'vector<unsigned long>')\r\n                std::vector<std::size_t>(n.begin(), n.end()),\r\n                ^                        ~~~~~~~~~~~~~~~~~~\r\n```\r\n\r\nFull build log here: https://gist.github.com/ilovezfs/e32657c623110767e9093932f28eb773"},"comment":{"url":"https://api.github.com/repos/molpopgen/fwdpp/issues/comments/265513126","html_url":"https://github.com/molpopgen/fwdpp/issues/44#issuecomment-265513126","issue_url":"https://api.github.com/repos/molpopgen/fwdpp/issues/44","id":265513126,"user":{"login":"molpopgen","id":6416159,"avatar_url":"https://avatars.githubusercontent.com/u/6416159?v=3","gravatar_id":"","url":"https://api.github.com/users/molpopgen","html_url":"https://github.com/molpopgen","followers_url":"https://api.github.com/users/molpopgen/followers","following_url":"https://api.github.com/users/molpopgen/following{/other_user}","gists_url":"https://api.github.com/users/molpopgen/gists{/gist_id}","starred_url":"https://api.github.com/users/molpopgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molpopgen/subscriptions","organizations_url":"https://api.github.com/users/molpopgen/orgs","repos_url":"https://api.github.com/users/molpopgen/repos","events_url":"https://api.github.com/users/molpopgen/events{/privacy}","received_events_url":"https://api.github.com/users/molpopgen/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T17:27:23Z","updated_at":"2016-12-07T17:27:23Z","body":"So this is not the same issue.  Here, you are having trouble linking the example programs to libsequence, which is only a dependency for building the examples.  (./configure checks for its presence, and will not build examples if not there.)  I am guessing you have libseqeuence installed and compiled using clang, but are attempting to link object code generated using gcc-6.  That combo is not guaranteed to work due to ABI issues."}}
{"actor":{"display_login":"molpopgen"}}