{"action":"opened","issue":{"url":"https://api.github.com/repos/mkleehammer/pyodbc/issues/58","labels_url":"https://api.github.com/repos/mkleehammer/pyodbc/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/mkleehammer/pyodbc/issues/58/comments","events_url":"https://api.github.com/repos/mkleehammer/pyodbc/issues/58/events","html_url":"https://github.com/mkleehammer/pyodbc/issues/58","id":89114526,"number":58,"title":"Inline errors when building on Solaris 10 sparc","user":{"login":"mbertolina","id":11450387,"avatar_url":"https://avatars.githubusercontent.com/u/11450387?v=3","gravatar_id":"","url":"https://api.github.com/users/mbertolina","html_url":"https://github.com/mbertolina","followers_url":"https://api.github.com/users/mbertolina/followers","following_url":"https://api.github.com/users/mbertolina/following{/other_user}","gists_url":"https://api.github.com/users/mbertolina/gists{/gist_id}","starred_url":"https://api.github.com/users/mbertolina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbertolina/subscriptions","organizations_url":"https://api.github.com/users/mbertolina/orgs","repos_url":"https://api.github.com/users/mbertolina/repos","events_url":"https://api.github.com/users/mbertolina/events{/privacy}","received_events_url":"https://api.github.com/users/mbertolina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-17T20:17:20Z","updated_at":"2015-06-17T20:17:20Z","closed_at":null,"body":"Hello, when building the source code on Solaris 10 (sparc) I get some errors related to inline functions. Any hint to fix this?\r\n\r\nbash-3.2# uname -a\r\nSunOS martin 5.10 Generic_147147-26 sun4v sparc sun4v\r\n\r\nbash-3.2# CC -V\r\nCC: Sun C++ 5.13 SunOS_sparc 2014/10/20\r\n\r\nbash-3.2# python setup.py build\r\nsh: git: not found\r\nWARNING: git describe failed with: 256\r\nWARNING: Unable to determine version.  Using 3.0.0.0\r\nrunning build\r\nrunning build_ext\r\nbuilding 'pyodbc' extension\r\n/usr/lib/python2.6/pycc -DNDEBUG -KPIC -DPYODBC_VERSION=3.0.0-unsupported -DPYODBC_UNICODE_WIDTH=2 -I/opt/DataAccess64/ODBC/dm/include -I/usr/include/python2.6 -c /tmp/pyodbc-master/src/buffer.cpp -o build/temp.solaris-2.10-sun4v-2.6/tmp/pyodbc-master/src/buffer.o -g0\r\n\"/tmp/pyodbc-master/src/pyodbc.h\", line 69: Error: \"inline\" is not allowed here.\r\n\"/tmp/pyodbc-master/src/pyodbc.h\", line 69: Error: DWORD is not defined.\r\n\"/tmp/pyodbc-master/src/pyodbc.h\", line 69: Error: grf is not defined.\r\n\"/tmp/pyodbc-master/src/pyodbc.h\", line 69: Error: Badly formed expression.\r\n4 Error(s) detected.\r\nerror: command '/usr/lib/python2.6/pycc' failed with exit status 2\r\n"}}