{"action":"created","issue":{"url":"https://api.github.com/repos/LudovicRousseau/PyKCS11/issues/29","repository_url":"https://api.github.com/repos/LudovicRousseau/PyKCS11","labels_url":"https://api.github.com/repos/LudovicRousseau/PyKCS11/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/LudovicRousseau/PyKCS11/issues/29/comments","events_url":"https://api.github.com/repos/LudovicRousseau/PyKCS11/issues/29/events","html_url":"https://github.com/LudovicRousseau/PyKCS11/pull/29","id":306720405,"number":29,"title":"Appveyor configuration","user":{"login":"denisenkom","id":2815692,"avatar_url":"https://avatars3.githubusercontent.com/u/2815692?v=4","gravatar_id":"","url":"https://api.github.com/users/denisenkom","html_url":"https://github.com/denisenkom","followers_url":"https://api.github.com/users/denisenkom/followers","following_url":"https://api.github.com/users/denisenkom/following{/other_user}","gists_url":"https://api.github.com/users/denisenkom/gists{/gist_id}","starred_url":"https://api.github.com/users/denisenkom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisenkom/subscriptions","organizations_url":"https://api.github.com/users/denisenkom/orgs","repos_url":"https://api.github.com/users/denisenkom/repos","events_url":"https://api.github.com/users/denisenkom/events{/privacy}","received_events_url":"https://api.github.com/users/denisenkom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-20T03:53:48Z","updated_at":"2018-03-20T15:29:34Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/LudovicRousseau/PyKCS11/pulls/29","html_url":"https://github.com/LudovicRousseau/PyKCS11/pull/29","diff_url":"https://github.com/LudovicRousseau/PyKCS11/pull/29.diff","patch_url":"https://github.com/LudovicRousseau/PyKCS11/pull/29.patch"},"body":"This change introduces configuration for Appveyor which allows testing on Windows platform."},"comment":{"url":"https://api.github.com/repos/LudovicRousseau/PyKCS11/issues/comments/374640797","html_url":"https://github.com/LudovicRousseau/PyKCS11/pull/29#issuecomment-374640797","issue_url":"https://api.github.com/repos/LudovicRousseau/PyKCS11/issues/29","id":374640797,"user":{"login":"LudovicRousseau","id":398496,"avatar_url":"https://avatars1.githubusercontent.com/u/398496?v=4","gravatar_id":"","url":"https://api.github.com/users/LudovicRousseau","html_url":"https://github.com/LudovicRousseau","followers_url":"https://api.github.com/users/LudovicRousseau/followers","following_url":"https://api.github.com/users/LudovicRousseau/following{/other_user}","gists_url":"https://api.github.com/users/LudovicRousseau/gists{/gist_id}","starred_url":"https://api.github.com/users/LudovicRousseau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LudovicRousseau/subscriptions","organizations_url":"https://api.github.com/users/LudovicRousseau/orgs","repos_url":"https://api.github.com/users/LudovicRousseau/repos","events_url":"https://api.github.com/users/LudovicRousseau/events{/privacy}","received_events_url":"https://api.github.com/users/LudovicRousseau/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T15:29:34Z","updated_at":"2018-03-20T15:29:34Z","author_association":"OWNER","body":"I included most of your changes in my test project https://github.com/LudovicRousseau/PyKCS11-debug\r\n\r\nAll works https://ci.appveyor.com/project/LudovicRousseau/pykcs11-debug except the build on Windows for Python 2.7. The error is:\r\n```\r\nsrc/pykcs11_wrap.cpp(15491) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'\r\n        with\r\n        [\r\n            _Ty=unsigned char\r\n        ]\r\nerror: command 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 9.0\\\\VC\\\\BIN\\\\cl.exe' failed with exit status 2\r\n```\r\n\r\nI see you changed src/pykcs11.i in https://github.com/LudovicRousseau/PyKCS11/pull/29/files#diff-65d3a6436b9f69065c5876342612e395L236\r\nAfter searching a bit it looks like ``data()`` for vectors has been introduced in C++11 and should be preferred to ``operator[](0)``. See https://stackoverflow.com/a/10740266\r\n\r\nIs it possible to make Microsoft Visual Studio 9.0 use C++11?\r\nWhy does the build works for Python 3.6 and all Python for Windows 64-bits? The compiler used is different?"}}
{"actor":{"display_login":"LudovicRousseau"}}