{"action":"created","issue":{"url":"https://api.github.com/repos/nanopb/nanopb/issues/225","repository_url":"https://api.github.com/repos/nanopb/nanopb","labels_url":"https://api.github.com/repos/nanopb/nanopb/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/nanopb/nanopb/issues/225/comments","events_url":"https://api.github.com/repos/nanopb/nanopb/issues/225/events","html_url":"https://github.com/nanopb/nanopb/issues/225","id":190898328,"number":225,"title":"Error when compiling nanopb.proto with Google's protoc C++ generator.","user":{"login":"punitsoni","id":1377268,"avatar_url":"https://avatars.githubusercontent.com/u/1377268?v=3","gravatar_id":"","url":"https://api.github.com/users/punitsoni","html_url":"https://github.com/punitsoni","followers_url":"https://api.github.com/users/punitsoni/followers","following_url":"https://api.github.com/users/punitsoni/following{/other_user}","gists_url":"https://api.github.com/users/punitsoni/gists{/gist_id}","starred_url":"https://api.github.com/users/punitsoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/punitsoni/subscriptions","organizations_url":"https://api.github.com/users/punitsoni/orgs","repos_url":"https://api.github.com/users/punitsoni/repos","events_url":"https://api.github.com/users/punitsoni/events{/privacy}","received_events_url":"https://api.github.com/users/punitsoni/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-22T03:26:02Z","updated_at":"2016-11-22T20:05:43Z","closed_at":"2016-11-22T19:05:52Z","body":"When trying to generate C++ code using google's protoc generator, I am running into following errors in generated code. \r\n\r\nnanopb.pb.cc: In function ‘void protobuf_AddDesc_nanopb_2eproto()’: \r\nnanopb.pb.cc:92:3: error: ‘protobuf_AddDesc_descriptor_2eproto’ is not a member of ‘google::protobuf’ \r\n   ::google::protobuf::protobuf_AddDesc_descriptor_2eproto(); \r\n\r\n\r\nIs there any limitation / known issue on nanopb that might cause incompatibility with google's C++ protobuf generator? \r\n\r\nNote: this issue only happens when the API proto file uses nanopb specific options. "},"comment":{"url":"https://api.github.com/repos/nanopb/nanopb/issues/comments/262350683","html_url":"https://github.com/nanopb/nanopb/issues/225#issuecomment-262350683","issue_url":"https://api.github.com/repos/nanopb/nanopb/issues/225","id":262350683,"user":{"login":"punitsoni","id":1377268,"avatar_url":"https://avatars.githubusercontent.com/u/1377268?v=3","gravatar_id":"","url":"https://api.github.com/users/punitsoni","html_url":"https://github.com/punitsoni","followers_url":"https://api.github.com/users/punitsoni/followers","following_url":"https://api.github.com/users/punitsoni/following{/other_user}","gists_url":"https://api.github.com/users/punitsoni/gists{/gist_id}","starred_url":"https://api.github.com/users/punitsoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/punitsoni/subscriptions","organizations_url":"https://api.github.com/users/punitsoni/orgs","repos_url":"https://api.github.com/users/punitsoni/repos","events_url":"https://api.github.com/users/punitsoni/events{/privacy}","received_events_url":"https://api.github.com/users/punitsoni/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T20:05:43Z","updated_at":"2016-11-22T20:05:43Z","body":"029\n\nOn Nov 22, 2016 11:12 AM, \"Petteri Aimonen\" <notifications@github.com>\nwrote:\n\n> For future readers, see further discussion on forum:\n> https://groups.google.com/forum/?fromgroups#!topic/nanopb/dx37fW8C9s4\n>\n> —\n> You are receiving this because you modified the open/close state.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/nanopb/nanopb/issues/225#issuecomment-262335824>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/ABUD9Bwo7Dl0taAhcD6MryHDxKSYsV1aks5rAz6SgaJpZM4K497f>\n> .\n>\n"}}
{"actor":{"display_login":"punitsoni"}}