{"action":"created","issue":{"url":"https://api.github.com/repos/igraph/igraph/issues/909","repository_url":"https://api.github.com/repos/igraph/igraph","labels_url":"https://api.github.com/repos/igraph/igraph/issues/909/labels{/name}","comments_url":"https://api.github.com/repos/igraph/igraph/issues/909/comments","events_url":"https://api.github.com/repos/igraph/igraph/issues/909/events","html_url":"https://github.com/igraph/igraph/issues/909","id":123834318,"number":909,"title":"Igraph does not compile with Visual Studio 2015","user":{"login":"nvanbalen","id":10747693,"avatar_url":"https://avatars.githubusercontent.com/u/10747693?v=3","gravatar_id":"","url":"https://api.github.com/users/nvanbalen","html_url":"https://github.com/nvanbalen","followers_url":"https://api.github.com/users/nvanbalen/followers","following_url":"https://api.github.com/users/nvanbalen/following{/other_user}","gists_url":"https://api.github.com/users/nvanbalen/gists{/gist_id}","starred_url":"https://api.github.com/users/nvanbalen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvanbalen/subscriptions","organizations_url":"https://api.github.com/users/nvanbalen/orgs","repos_url":"https://api.github.com/users/nvanbalen/repos","events_url":"https://api.github.com/users/nvanbalen/events{/privacy}","received_events_url":"https://api.github.com/users/nvanbalen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/igraph/igraph/labels/C","name":"C","color":"207de5"},{"url":"https://api.github.com/repos/igraph/igraph/labels/Confirmed","name":"Confirmed","color":"ddffdd"},{"url":"https://api.github.com/repos/igraph/igraph/labels/Help%20needed","name":"Help needed","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2015-12-24T21:04:16Z","updated_at":"2016-07-08T12:47:22Z","closed_at":null,"body":"I tried to build the igraph c library with Visual Studio 2015 and got the following error:\r\n\r\n`fatal error C1189: #error:  Macro definition of snprintf conflicts with Standard Library function declaration'`\r\n\r\nI was able to build it by reverting back to Visual Studio 2013, but I feel that this is an issue that should be addressed."},"comment":{"url":"https://api.github.com/repos/igraph/igraph/issues/comments/231350456","html_url":"https://github.com/igraph/igraph/issues/909#issuecomment-231350456","issue_url":"https://api.github.com/repos/igraph/igraph/issues/909","id":231350456,"user":{"login":"ntamas","id":195637,"avatar_url":"https://avatars.githubusercontent.com/u/195637?v=3","gravatar_id":"","url":"https://api.github.com/users/ntamas","html_url":"https://github.com/ntamas","followers_url":"https://api.github.com/users/ntamas/followers","following_url":"https://api.github.com/users/ntamas/following{/other_user}","gists_url":"https://api.github.com/users/ntamas/gists{/gist_id}","starred_url":"https://api.github.com/users/ntamas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntamas/subscriptions","organizations_url":"https://api.github.com/users/ntamas/orgs","repos_url":"https://api.github.com/users/ntamas/repos","events_url":"https://api.github.com/users/ntamas/events{/privacy}","received_events_url":"https://api.github.com/users/ntamas/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T12:47:22Z","updated_at":"2016-07-08T12:47:22Z","body":"That's not an error; you either need to define `PRPACK_IGRAPH_SUPPORT` in the compiler flags (which will define `prpack_igraph_graph in `prpack/prpack_igraph_graph.h`) or exclude `prpack.cpp` from the build. (It is a bit convoluted this way but I preferred a flag so I can leave most of the PRPACK source code untouched - makes it easier to merge any changes in upstream)."}}
{"actor":{"display_login":"ntamas"}}