{"action":"created","issue":{"url":"https://api.github.com/repos/google/protobuf/issues/2049","repository_url":"https://api.github.com/repos/google/protobuf","labels_url":"https://api.github.com/repos/google/protobuf/issues/2049/labels{/name}","comments_url":"https://api.github.com/repos/google/protobuf/issues/2049/comments","events_url":"https://api.github.com/repos/google/protobuf/issues/2049/events","html_url":"https://github.com/google/protobuf/issues/2049","id":174446153,"number":2049,"title":"c++ std::min problem when use proto map","user":{"login":"molixiaoge","id":1323533,"avatar_url":"https://avatars.githubusercontent.com/u/1323533?v=3","gravatar_id":"","url":"https://api.github.com/users/molixiaoge","html_url":"https://github.com/molixiaoge","followers_url":"https://api.github.com/users/molixiaoge/followers","following_url":"https://api.github.com/users/molixiaoge/following{/other_user}","gists_url":"https://api.github.com/users/molixiaoge/gists{/gist_id}","starred_url":"https://api.github.com/users/molixiaoge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molixiaoge/subscriptions","organizations_url":"https://api.github.com/users/molixiaoge/orgs","repos_url":"https://api.github.com/users/molixiaoge/repos","events_url":"https://api.github.com/users/molixiaoge/events{/privacy}","received_events_url":"https://api.github.com/users/molixiaoge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/protobuf/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/google/protobuf/labels/c++","name":"c++","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-01T06:27:38Z","updated_at":"2016-09-05T08:43:03Z","closed_at":null,"body":"When i use proto map type with c++ source code,the visual studio out put  show:\r\nerror C2589: “(”:“::”\r\n\r\nSo i check the code ,and use (std::min) instead of std::min,because windows.h have min macro conflict with std::min.\r\n\r\nThe filelist i found in 3.0ga show as the follow:\r\n\r\ngoogle/protobuf/map.h:1081\r\ngoogle/protobuf/wire_format_lite_inl.h:278\r\ngoogle/protobuf/wire_format_lite_inl.h:370\r\n\r\nLook forward to your reply.\r\n"},"comment":{"url":"https://api.github.com/repos/google/protobuf/issues/comments/244691498","html_url":"https://github.com/google/protobuf/issues/2049#issuecomment-244691498","issue_url":"https://api.github.com/repos/google/protobuf/issues/2049","id":244691498,"user":{"login":"molixiaoge","id":1323533,"avatar_url":"https://avatars.githubusercontent.com/u/1323533?v=3","gravatar_id":"","url":"https://api.github.com/users/molixiaoge","html_url":"https://github.com/molixiaoge","followers_url":"https://api.github.com/users/molixiaoge/followers","following_url":"https://api.github.com/users/molixiaoge/following{/other_user}","gists_url":"https://api.github.com/users/molixiaoge/gists{/gist_id}","starred_url":"https://api.github.com/users/molixiaoge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molixiaoge/subscriptions","organizations_url":"https://api.github.com/users/molixiaoge/orgs","repos_url":"https://api.github.com/users/molixiaoge/repos","events_url":"https://api.github.com/users/molixiaoge/events{/privacy}","received_events_url":"https://api.github.com/users/molixiaoge/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T08:43:03Z","updated_at":"2016-09-05T08:43:03Z","body":"because windef.h stdlib.h contains min or max macro define,so it is conflict"}}
{"actor":{"display_login":"molixiaoge"}}