{"action":"created","issue":{"url":"https://api.github.com/repos/pybind/pybind11/issues/280","repository_url":"https://api.github.com/repos/pybind/pybind11","labels_url":"https://api.github.com/repos/pybind/pybind11/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/pybind/pybind11/issues/280/comments","events_url":"https://api.github.com/repos/pybind/pybind11/issues/280/events","html_url":"https://github.com/pybind/pybind11/issues/280","id":165345336,"number":280,"title":"Compilation problems with clang","user":{"login":"s-koch","id":14203182,"avatar_url":"https://avatars.githubusercontent.com/u/14203182?v=3","gravatar_id":"","url":"https://api.github.com/users/s-koch","html_url":"https://github.com/s-koch","followers_url":"https://api.github.com/users/s-koch/followers","following_url":"https://api.github.com/users/s-koch/following{/other_user}","gists_url":"https://api.github.com/users/s-koch/gists{/gist_id}","starred_url":"https://api.github.com/users/s-koch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-koch/subscriptions","organizations_url":"https://api.github.com/users/s-koch/orgs","repos_url":"https://api.github.com/users/s-koch/repos","events_url":"https://api.github.com/users/s-koch/events{/privacy}","received_events_url":"https://api.github.com/users/s-koch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-13T15:08:18Z","updated_at":"2016-07-13T15:19:00Z","closed_at":null,"body":"Hi Wenzel,\r\nwe get an error when we try to compile the following function (added to the eigen.cpp example) with clang 3.7, whereas it works with gcc and VS. \r\n\r\n`\r\nm.def(\"foo\", [] (\r\n      const std::vector<Eigen::Quaternion<double> >& v\r\n    )\r\n    {\r\n      return v;\r\n    }, \"foo\",\r\n    py::arg(\"v\"));\r\n`\r\n\r\nSomething goes wrong with the parameter casting: \r\n> errror: no matching function for call to 'conditional_aligned_malloc'\r\n  EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(IsAligned)\r\n\r\nDo you have an idea on how to fix this?"},"comment":{"url":"https://api.github.com/repos/pybind/pybind11/issues/comments/232388831","html_url":"https://github.com/pybind/pybind11/issues/280#issuecomment-232388831","issue_url":"https://api.github.com/repos/pybind/pybind11/issues/280","id":232388831,"user":{"login":"wjakob","id":1203629,"avatar_url":"https://avatars.githubusercontent.com/u/1203629?v=3","gravatar_id":"","url":"https://api.github.com/users/wjakob","html_url":"https://github.com/wjakob","followers_url":"https://api.github.com/users/wjakob/followers","following_url":"https://api.github.com/users/wjakob/following{/other_user}","gists_url":"https://api.github.com/users/wjakob/gists{/gist_id}","starred_url":"https://api.github.com/users/wjakob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjakob/subscriptions","organizations_url":"https://api.github.com/users/wjakob/orgs","repos_url":"https://api.github.com/users/wjakob/repos","events_url":"https://api.github.com/users/wjakob/events{/privacy}","received_events_url":"https://api.github.com/users/wjakob/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T15:19:00Z","updated_at":"2016-07-13T15:19:00Z","body":"Did you remember to include \"Eigen/Geometry\"?"}}
{"actor":{"display_login":"wjakob"}}