{"action":"opened","issue":{"url":"https://api.github.com/repos/vmprof/vmprof-python/issues/23","labels_url":"https://api.github.com/repos/vmprof/vmprof-python/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/vmprof/vmprof-python/issues/23/comments","events_url":"https://api.github.com/repos/vmprof/vmprof-python/issues/23/events","html_url":"https://github.com/vmprof/vmprof-python/issues/23","id":95933704,"number":23,"title":"Build errors","user":{"login":"myint","id":1235108,"avatar_url":"https://avatars.githubusercontent.com/u/1235108?v=3","gravatar_id":"","url":"https://api.github.com/users/myint","html_url":"https://github.com/myint","followers_url":"https://api.github.com/users/myint/followers","following_url":"https://api.github.com/users/myint/following{/other_user}","gists_url":"https://api.github.com/users/myint/gists{/gist_id}","starred_url":"https://api.github.com/users/myint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myint/subscriptions","organizations_url":"https://api.github.com/users/myint/orgs","repos_url":"https://api.github.com/users/myint/repos","events_url":"https://api.github.com/users/myint/events{/privacy}","received_events_url":"https://api.github.com/users/myint/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-19T17:20:11Z","updated_at":"2015-07-19T17:20:11Z","closed_at":null,"body":"I'm seeing the following when running `python setup.py install` on an older machine.\r\n\r\n```\r\ngcc44 -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/disk3/home/myint/tmp/vmprof-0.1.1/3.3/include -I/disk3/home/myint/local/stow/python-3.3.2/include/python3.3m -c src/vmprof.c -o build/temp.linux-i686-3.3/src/vmprof.o -Wno-unused -I/usr/include/elf -I/usr/include/libdwarf\r\nIn file included from src/vmprof.c:19:\r\nsrc/getpc.h:114: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘callunrollinfo’\r\nsrc/getpc.h: In function ‘GetPC’:\r\nsrc/getpc.h:142: error: ‘reinterpret_cast’ undeclared (first use in this function)\r\nsrc/getpc.h:142: error: (Each undeclared identifier is reported only once\r\nsrc/getpc.h:142: error: for each function it appears in.)\r\nsrc/getpc.h:142: error: expected expression before ‘char’\r\nsrc/getpc.h:143: error: ‘for’ loop initial declarations are only allowed in C99 mode\r\nsrc/getpc.h:143: note: use option -std=c99 or -std=gnu99 to compile your code\r\nsrc/getpc.h:143: error: ‘callunrollinfo’ undeclared (first use in this function)\r\nIn file included from src/vmprof.c:93:\r\nsrc/get_custom_offset.c: At top level:\r\nsrc/get_custom_offset.c:15: warning: function declaration isn’t a prototype\r\nsrc/get_custom_offset.c: In function ‘vmprof_unw_get_custom_offset’:\r\nsrc/get_custom_offset.c:59: error: ‘UNW_X86_64_RBP’ undeclared (first use in this function)\r\nerror: command 'gcc44' failed with exit status 1\r\n$ gcc44 --version\r\ngcc44 (GCC) 4.4.7 20120313 (Red Hat 4.4.7-1)\r\nCopyright (C) 2010 Free Software Foundation, Inc.\r\nThis is free software; see the source for copying conditions.  There is NO\r\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r\n```\r\n\r\nIs this code meant to be C++ or C?\r\n\r\nThanks"}}