{"action":"created","issue":{"url":"https://api.github.com/repos/wang-bin/QtAV/issues/788","repository_url":"https://api.github.com/repos/wang-bin/QtAV","labels_url":"https://api.github.com/repos/wang-bin/QtAV/issues/788/labels{/name}","comments_url":"https://api.github.com/repos/wang-bin/QtAV/issues/788/comments","events_url":"https://api.github.com/repos/wang-bin/QtAV/issues/788/events","html_url":"https://github.com/wang-bin/QtAV/issues/788","id":195990489,"number":788,"title":"std::numeric_limits<qint64>::max() 导致VS使用qtav库的时候，编译出错，有解决方法","user":{"login":"lrs0304","id":6349495,"avatar_url":"https://avatars.githubusercontent.com/u/6349495?v=3","gravatar_id":"","url":"https://api.github.com/users/lrs0304","html_url":"https://github.com/lrs0304","followers_url":"https://api.github.com/users/lrs0304/followers","following_url":"https://api.github.com/users/lrs0304/following{/other_user}","gists_url":"https://api.github.com/users/lrs0304/gists{/gist_id}","starred_url":"https://api.github.com/users/lrs0304/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrs0304/subscriptions","organizations_url":"https://api.github.com/users/lrs0304/orgs","repos_url":"https://api.github.com/users/lrs0304/repos","events_url":"https://api.github.com/users/lrs0304/events{/privacy}","received_events_url":"https://api.github.com/users/lrs0304/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-16T06:30:19Z","updated_at":"2016-12-16T06:56:23Z","closed_at":null,"body":"如下图，新版本的AVPlayer.h中使用了std::numeric_limits<qint64>::max()，而STD中同时也是用了宏定义\r\n#define max(a,b)            (((a) > (b)) ? (a) : (b))\r\n导致编译出错。\r\n\r\n解决方法参考这篇博客 http://blog.chinaunix.net/uid-17102734-id-2830143.html\r\n\r\n![qq 20161216141921](https://cloud.githubusercontent.com/assets/6349495/21253782/0f9f53c4-c39c-11e6-8503-a59551d8edec.png)\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40124395-std-numeric_limits-qint64-max-vs-qtav?utm_campaign=plugin&utm_content=tracker%2F307703&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F307703&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/wang-bin/QtAV/issues/comments/267530033","html_url":"https://github.com/wang-bin/QtAV/issues/788#issuecomment-267530033","issue_url":"https://api.github.com/repos/wang-bin/QtAV/issues/788","id":267530033,"user":{"login":"wang-bin","id":785206,"avatar_url":"https://avatars.githubusercontent.com/u/785206?v=3","gravatar_id":"","url":"https://api.github.com/users/wang-bin","html_url":"https://github.com/wang-bin","followers_url":"https://api.github.com/users/wang-bin/followers","following_url":"https://api.github.com/users/wang-bin/following{/other_user}","gists_url":"https://api.github.com/users/wang-bin/gists{/gist_id}","starred_url":"https://api.github.com/users/wang-bin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wang-bin/subscriptions","organizations_url":"https://api.github.com/users/wang-bin/orgs","repos_url":"https://api.github.com/users/wang-bin/repos","events_url":"https://api.github.com/users/wang-bin/events{/privacy}","received_events_url":"https://api.github.com/users/wang-bin/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T06:56:23Z","updated_at":"2016-12-16T06:56:23Z","body":"哪个版本vs？目前没碰到这个问题"}}
{"actor":{"display_login":"wang-bin"}}