{"action":"created","issue":{"url":"https://api.github.com/repos/swig/swig/issues/659","repository_url":"https://api.github.com/repos/swig/swig","labels_url":"https://api.github.com/repos/swig/swig/issues/659/labels{/name}","comments_url":"https://api.github.com/repos/swig/swig/issues/659/comments","events_url":"https://api.github.com/repos/swig/swig/issues/659/events","html_url":"https://github.com/swig/swig/pull/659","id":148495335,"number":659,"title":"Fixed clang memset warning in Python","user":{"login":"johnwason","id":7517859,"avatar_url":"https://avatars.githubusercontent.com/u/7517859?v=3","gravatar_id":"","url":"https://api.github.com/users/johnwason","html_url":"https://github.com/johnwason","followers_url":"https://api.github.com/users/johnwason/followers","following_url":"https://api.github.com/users/johnwason/following{/other_user}","gists_url":"https://api.github.com/users/johnwason/gists{/gist_id}","starred_url":"https://api.github.com/users/johnwason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnwason/subscriptions","organizations_url":"https://api.github.com/users/johnwason/orgs","repos_url":"https://api.github.com/users/johnwason/repos","events_url":"https://api.github.com/users/johnwason/events{/privacy}","received_events_url":"https://api.github.com/users/johnwason/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-14T22:01:41Z","updated_at":"2016-04-15T00:59:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/swig/swig/pulls/659","html_url":"https://github.com/swig/swig/pull/659","diff_url":"https://github.com/swig/swig/pull/659.diff","patch_url":"https://github.com/swig/swig/pull/659.patch"},"body":"A warning is created by the `memset` function in `traits_as<>::as` in Python when compiling with clang.  Adding a  `void*` cast fixes this warning.\r\n\r\n(This is a replacement for pull request #658 that had too many commits)"},"comment":{"url":"https://api.github.com/repos/swig/swig/issues/comments/210229163","html_url":"https://github.com/swig/swig/pull/659#issuecomment-210229163","issue_url":"https://api.github.com/repos/swig/swig/issues/659","id":210229163,"user":{"login":"johnwason","id":7517859,"avatar_url":"https://avatars.githubusercontent.com/u/7517859?v=3","gravatar_id":"","url":"https://api.github.com/users/johnwason","html_url":"https://github.com/johnwason","followers_url":"https://api.github.com/users/johnwason/followers","following_url":"https://api.github.com/users/johnwason/following{/other_user}","gists_url":"https://api.github.com/users/johnwason/gists{/gist_id}","starred_url":"https://api.github.com/users/johnwason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnwason/subscriptions","organizations_url":"https://api.github.com/users/johnwason/orgs","repos_url":"https://api.github.com/users/johnwason/repos","events_url":"https://api.github.com/users/johnwason/events{/privacy}","received_events_url":"https://api.github.com/users/johnwason/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T00:59:03Z","updated_at":"2016-04-15T00:59:03Z","body":"It was warning about overwriting the vtable of a class with virtual members. In this case it isn't an issue since it is zeroing about a block of memory that was just allocated."}}