{"action":"opened","issue":{"url":"https://api.github.com/repos/OSGeo/proj.4/issues/341","labels_url":"https://api.github.com/repos/OSGeo/proj.4/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/OSGeo/proj.4/issues/341/comments","events_url":"https://api.github.com/repos/OSGeo/proj.4/issues/341/events","html_url":"https://github.com/OSGeo/proj.4/issues/341","id":125208903,"number":341,"title":"pyproj will not compile using Microsoft Compiler for Python 2.7","user":{"login":"PaulPorthouse","id":8049270,"avatar_url":"https://avatars.githubusercontent.com/u/8049270?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulPorthouse","html_url":"https://github.com/PaulPorthouse","followers_url":"https://api.github.com/users/PaulPorthouse/followers","following_url":"https://api.github.com/users/PaulPorthouse/following{/other_user}","gists_url":"https://api.github.com/users/PaulPorthouse/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulPorthouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulPorthouse/subscriptions","organizations_url":"https://api.github.com/users/PaulPorthouse/orgs","repos_url":"https://api.github.com/users/PaulPorthouse/repos","events_url":"https://api.github.com/users/PaulPorthouse/events{/privacy}","received_events_url":"https://api.github.com/users/PaulPorthouse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-06T16:16:28Z","updated_at":"2016-01-06T16:16:28Z","closed_at":null,"body":"It appears that the Microsoft Compiler for Python 2.7 \r\ndoesn't like the warning pragma and raises a fatal error while compiling when trying to install using pip.\r\n\r\n```\r\nC:\\Users\\ishare\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Isrc -IC:\\Python27\\include -IC:\\Python27\\PC /Tcsrc\\pj_strtod.c /Fobuild\\temp.win32-2.7\\Release\\src\\pj_strtod.obj\r\npj_strtod.c\r\nsrc\\pj_strtod.c(79) : fatal error C1021: invalid preprocessor command 'warning'\r\nerror: command 'C:\\\\Users\\\\ishare\\\\AppData\\\\Local\\\\Programs\\\\Common\\\\Microsoft\\\\Visual C++ for Python\\\\9.0\\\\VC\\\\Bin\\\\cl.exe' failed with exit status 2\r\n```\r\n\r\nI have locally commented out the [offending line](https://github.com/OSGeo/proj.4/blob/master/src/pj_strtod.c#L79), and then successfully installed it using pip.\r\n\r\n[FailedInstallLog.txt](https://github.com/OSGeo/proj.4/files/80038/FailedInstallLog.txt)\r\n"}}