{"action":"created","issue":{"url":"https://api.github.com/repos/SimonKagstrom/emilpro/issues/57","repository_url":"https://api.github.com/repos/SimonKagstrom/emilpro","labels_url":"https://api.github.com/repos/SimonKagstrom/emilpro/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/SimonKagstrom/emilpro/issues/57/comments","events_url":"https://api.github.com/repos/SimonKagstrom/emilpro/issues/57/events","html_url":"https://github.com/SimonKagstrom/emilpro/issues/57","id":286800883,"node_id":"MDU6SXNzdWUyODY4MDA4ODM=","number":57,"title":"Compilation issue","user":{"login":"wolfv","id":885054,"node_id":"MDQ6VXNlcjg4NTA1NA==","avatar_url":"https://avatars0.githubusercontent.com/u/885054?v=4","gravatar_id":"","url":"https://api.github.com/users/wolfv","html_url":"https://github.com/wolfv","followers_url":"https://api.github.com/users/wolfv/followers","following_url":"https://api.github.com/users/wolfv/following{/other_user}","gists_url":"https://api.github.com/users/wolfv/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfv/subscriptions","organizations_url":"https://api.github.com/users/wolfv/orgs","repos_url":"https://api.github.com/users/wolfv/repos","events_url":"https://api.github.com/users/wolfv/events{/privacy}","received_events_url":"https://api.github.com/users/wolfv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-08T16:23:00Z","updated_at":"2018-07-26T14:13:02Z","closed_at":"2018-01-15T11:49:28Z","author_association":"CONTRIBUTOR","body":"When trying to compile master, I get:\r\n\r\n`conflicting types for ‘ps_get_thread_area’`\r\n\r\nI think it's during compilation of gdb?\r\n\r\n```\r\nremote-m32r-sdi.c: In function ‘m32r_open’:\r\nremote-m32r-sdi.c:411:23: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized]\r\n   max_access_breaks = recv_char_data ();\r\n                       ^~~~~~~~~~~~~~~~~\r\nremote-m32r-sdi.c:401:24: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized]\r\n   max_ib_breakpoints = recv_char_data ();\r\n                        ^~~~~~~~~~~~~~~~~\r\nxcoffread.c: In function ‘scan_xcoff_symtab’:\r\nxcoffread.c:2375:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]\r\n       if (first_fun_line_offset == 0 && symbol.n_numaux > 1)\r\n       ^~\r\nxcoffread.c:2378:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’\r\n         {\r\n         ^\r\nlinux-record.c: In function ‘record_linux_sockaddr’:\r\nlinux-record.c:109:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]\r\n       if (record_debug)\r\n       ^~\r\nlinux-record.c:115:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’\r\n         return -1;\r\n         ^~~~~~\r\nlinux-record.c: In function ‘record_linux_msghdr’:\r\nlinux-record.c:146:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]\r\n       if (record_debug)\r\n       ^~\r\nlinux-record.c:153:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’\r\n         return -1;\r\n         ^~~~~~\r\nlinux-record.c:181:15: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]\r\n               if (record_debug)\r\n               ^~\r\nlinux-record.c:189:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’\r\n                 return -1;\r\n                 ^~~~~~\r\nlinux-record.c: In function ‘record_linux_system_call’:\r\nlinux-record.c:945:19: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]\r\n                   if (record_debug)\r\n                   ^~\r\nlinux-record.c:951:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’\r\n                     return -1;\r\n                     ^~~~~~\r\naarch64-tdep.c: In function ‘aarch64_record_asimd_load_store’:\r\naarch64-tdep.c:3239:11: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]\r\n           for (sindex = 0; sindex < selem; sindex++)\r\n           ^~~\r\naarch64-tdep.c:3247:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’\r\n             addr_offset = addr_offset + (esize / 8);\r\n             ^~~~~~~~~~~\r\namd64-linux-nat.c:247:1: error: conflicting types for ‘ps_get_thread_area’\r\n ps_get_thread_area (const struct ps_prochandle *ph,\r\n ^~~~~~~~~~~~~~~~~~\r\nIn file included from gdb_proc_service.h:30:0,\r\n                 from amd64-linux-nat.c:30:\r\n/usr/include/proc_service.h:72:17: note: previous declaration of ‘ps_get_thread_area’ was here\r\n extern ps_err_e ps_get_thread_area (struct ps_prochandle *,\r\n                 ^~~~~~~~~~~~~~~~~~\r\nmake[5]: *** [Makefile:1138: amd64-linux-nat.o] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/SimonKagstrom/emilpro/issues/comments/408111409","html_url":"https://github.com/SimonKagstrom/emilpro/issues/57#issuecomment-408111409","issue_url":"https://api.github.com/repos/SimonKagstrom/emilpro/issues/57","id":408111409,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODExMTQwOQ==","user":{"login":"wolfv","id":885054,"node_id":"MDQ6VXNlcjg4NTA1NA==","avatar_url":"https://avatars0.githubusercontent.com/u/885054?v=4","gravatar_id":"","url":"https://api.github.com/users/wolfv","html_url":"https://github.com/wolfv","followers_url":"https://api.github.com/users/wolfv/followers","following_url":"https://api.github.com/users/wolfv/following{/other_user}","gists_url":"https://api.github.com/users/wolfv/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfv/subscriptions","organizations_url":"https://api.github.com/users/wolfv/orgs","repos_url":"https://api.github.com/users/wolfv/repos","events_url":"https://api.github.com/users/wolfv/events{/privacy}","received_events_url":"https://api.github.com/users/wolfv/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T14:13:02Z","updated_at":"2018-07-26T14:13:02Z","author_association":"CONTRIBUTOR","body":"I've created a flatpak which you can build on linux (when you have flatpak-builder installed) by doing something like \r\n\r\n```\r\nflatpak-builder --install flatpak_build_directory flatpak.json\r\n```\r\n\r\nthis will build the flatpak in the `flatpak_build_directory`.\r\n\r\nThen the flatpak will be installed and you can start emilpro by running `flatpak run de.simonkagstrom.emilpro`"}}
{"actor":{"display_login":"wolfv"}}