{"action":"created","issue":{"url":"https://api.github.com/repos/k-bx/protocol-buffers/issues/19","labels_url":"https://api.github.com/repos/k-bx/protocol-buffers/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/k-bx/protocol-buffers/issues/19/comments","events_url":"https://api.github.com/repos/k-bx/protocol-buffers/issues/19/events","html_url":"https://github.com/k-bx/protocol-buffers/pull/19","id":123981639,"number":19,"title":"Implement Oneof","user":{"login":"wavewave","id":1031119,"avatar_url":"https://avatars.githubusercontent.com/u/1031119?v=3","gravatar_id":"","url":"https://api.github.com/users/wavewave","html_url":"https://github.com/wavewave","followers_url":"https://api.github.com/users/wavewave/followers","following_url":"https://api.github.com/users/wavewave/following{/other_user}","gists_url":"https://api.github.com/users/wavewave/gists{/gist_id}","starred_url":"https://api.github.com/users/wavewave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wavewave/subscriptions","organizations_url":"https://api.github.com/users/wavewave/orgs","repos_url":"https://api.github.com/users/wavewave/repos","events_url":"https://api.github.com/users/wavewave/events{/privacy}","received_events_url":"https://api.github.com/users/wavewave/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-27T14:35:56Z","updated_at":"2015-12-30T15:48:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/k-bx/protocol-buffers/pulls/19","html_url":"https://github.com/k-bx/protocol-buffers/pull/19","diff_url":"https://github.com/k-bx/protocol-buffers/pull/19.diff","patch_url":"https://github.com/k-bx/protocol-buffers/pull/19.patch"},"body":"Compatible version of protocol-buffers being updated to 2.6.1, this patch enables oneof definition inside message to be defined  as Algebraic Data Type in Haskell. Oneof data type will be generated as a separated module. \r\nTextMsg and Wire instances are implemented and tested between haskell and C++.\r\n"},"comment":{"url":"https://api.github.com/repos/k-bx/protocol-buffers/issues/comments/168022301","html_url":"https://github.com/k-bx/protocol-buffers/pull/19#issuecomment-168022301","issue_url":"https://api.github.com/repos/k-bx/protocol-buffers/issues/19","id":168022301,"user":{"login":"wavewave","id":1031119,"avatar_url":"https://avatars.githubusercontent.com/u/1031119?v=3","gravatar_id":"","url":"https://api.github.com/users/wavewave","html_url":"https://github.com/wavewave","followers_url":"https://api.github.com/users/wavewave/followers","following_url":"https://api.github.com/users/wavewave/following{/other_user}","gists_url":"https://api.github.com/users/wavewave/gists{/gist_id}","starred_url":"https://api.github.com/users/wavewave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wavewave/subscriptions","organizations_url":"https://api.github.com/users/wavewave/orgs","repos_url":"https://api.github.com/users/wavewave/repos","events_url":"https://api.github.com/users/wavewave/events{/privacy}","received_events_url":"https://api.github.com/users/wavewave/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T15:48:18Z","updated_at":"2015-12-30T15:48:18Z","body":"I removed unnecessary debug traces. \r\n\r\nFor cpptest code compilation, I added pkg-config --cflags protobuf for compilation.\r\nThe error looks related to libc++ or libstdc++ difference between clang and g++. If the problem persists, try to add -stdlib=libc++ or -stdlib=libstdc++. I will also find some machine with clang and test it. "}}