{"action":"created","issue":{"url":"https://api.github.com/repos/Cryptyc/Sc2LadderServer/issues/93","repository_url":"https://api.github.com/repos/Cryptyc/Sc2LadderServer","labels_url":"https://api.github.com/repos/Cryptyc/Sc2LadderServer/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/Cryptyc/Sc2LadderServer/issues/93/comments","events_url":"https://api.github.com/repos/Cryptyc/Sc2LadderServer/issues/93/events","html_url":"https://github.com/Cryptyc/Sc2LadderServer/issues/93","id":388933765,"node_id":"MDU6SXNzdWUzODg5MzM3NjU=","number":93,"title":"Compile errors building Sc2LadderServer on OSX","user":{"login":"ericbroda","id":5667367,"node_id":"MDQ6VXNlcjU2NjczNjc=","avatar_url":"https://avatars1.githubusercontent.com/u/5667367?v=4","gravatar_id":"","url":"https://api.github.com/users/ericbroda","html_url":"https://github.com/ericbroda","followers_url":"https://api.github.com/users/ericbroda/followers","following_url":"https://api.github.com/users/ericbroda/following{/other_user}","gists_url":"https://api.github.com/users/ericbroda/gists{/gist_id}","starred_url":"https://api.github.com/users/ericbroda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericbroda/subscriptions","organizations_url":"https://api.github.com/users/ericbroda/orgs","repos_url":"https://api.github.com/users/ericbroda/repos","events_url":"https://api.github.com/users/ericbroda/events{/privacy}","received_events_url":"https://api.github.com/users/ericbroda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-12-08T15:57:21Z","updated_at":"2019-01-02T11:16:49Z","closed_at":null,"author_association":"NONE","body":"I am using OSX (MacOS, High Sierra, 10.13.6) and am getting the following error when building Sc2LadderServer.  Any help is appreciated.\r\n\r\nFollowed instructions and tried command:  make Sc2LadderServer.\r\n\r\nMuch of the code built (with lots of warnings) but the following error stopped the build:\r\n\r\nBuilding C object s2client-api/contrib/civetweb/src/CMakeFiles/civetweb-c-library.dir/civetweb.c.o\r\n[working-dir]/Sc2LadderServer/s2client-api/contrib/civetweb/src/civetweb.c:32:9: warning: macro name is a reserved identifier\r\n      [-Wreserved-id-macro]\r\n#define _GNU_SOURCE /* for setgroups() */\r\n        ^\r\n[working-dir]/Sc2LadderServer/s2client-api/contrib/civetweb/src/civetweb.c:38:9: warning: macro name is a reserved identifier\r\n      [-Wreserved-id-macro]\r\n#define _LARGEFILE_SOURCE /* For fseeko(), ftello() */\r\n        ^\r\n[working-dir]/Sc2LadderServer/s2client-api/contrib/civetweb/src/civetweb.c:41:9: warning: macro name is a reserved identifier\r\n      [-Wreserved-id-macro]\r\n#define _FILE_OFFSET_BITS 64 /* Use 64-bit file offsets by default */\r\n        ^\r\n[working-dir]/Sc2LadderServer/s2client-api/contrib/civetweb/src/civetweb.c:44:9: warning: macro name is a reserved identifier\r\n      [-Wreserved-id-macro]\r\n#define __STDC_FORMAT_MACROS /* <inttypes.h> wants this for C++ */\r\n        ^\r\n[working-dir]/Sc2LadderServer/s2client-api/contrib/civetweb/src/civetweb.c:47:9: warning: macro name is a reserved identifier\r\n      [-Wreserved-id-macro]\r\n#define __STDC_LIMIT_MACROS /* C++ wants that for INT64_MAX */\r\n        ^\r\n[working-dir]/python/Sc2LadderServer/s2client-api/contrib/civetweb/src/civetweb.c:1556:9: warning: macro name is a reserved identifier\r\n      [-Wreserved-id-macro]\r\n#define _DARWIN_UNLIMITED_SELECT\r\n        ^\r\n[working-dir]/Sc2LadderServer/s2client-api/contrib/civetweb/src/civetweb.c:5725:17: warning: implicit conversion loses integer precision:\r\n      'long' to '__darwin_suseconds_t' (aka 'int') [-Wshorten-64-to-32]\r\n                        tv.tv_usec = (long)((ms_wait % 1000) * 1000);\r\n                                   ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n[working-dir]/Sc2LadderServer/s2client-api/contrib/civetweb/src/civetweb.c:17867:32: error: unknown warning group '-Werror', ignored\r\n      [-Werror,-Wunknown-warning-option]\r\n#pragma GCC diagnostic ignored \"-Werror\"\r\n                               ^\r\n7 warnings and 1 error generated.\r\nmake[3]: *** [s2client-api/contrib/civetweb/src/CMakeFiles/civetweb-c-library.dir/civetweb.c.o] Error 1\r\nmake[2]: *** [s2client-api/contrib/civetweb/src/CMakeFiles/civetweb-c-library.dir/all] Error 2\r\nmake[1]: *** [src/CMakeFiles/Sc2LadderServer.dir/rule] Error 2\r\nmake: *** [Sc2LadderServer] Error 2"},"comment":{"url":"https://api.github.com/repos/Cryptyc/Sc2LadderServer/issues/comments/450839070","html_url":"https://github.com/Cryptyc/Sc2LadderServer/issues/93#issuecomment-450839070","issue_url":"https://api.github.com/repos/Cryptyc/Sc2LadderServer/issues/93","id":450839070,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDgzOTA3MA==","user":{"login":"alkurbatov","id":4321293,"node_id":"MDQ6VXNlcjQzMjEyOTM=","avatar_url":"https://avatars3.githubusercontent.com/u/4321293?v=4","gravatar_id":"","url":"https://api.github.com/users/alkurbatov","html_url":"https://github.com/alkurbatov","followers_url":"https://api.github.com/users/alkurbatov/followers","following_url":"https://api.github.com/users/alkurbatov/following{/other_user}","gists_url":"https://api.github.com/users/alkurbatov/gists{/gist_id}","starred_url":"https://api.github.com/users/alkurbatov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alkurbatov/subscriptions","organizations_url":"https://api.github.com/users/alkurbatov/orgs","repos_url":"https://api.github.com/users/alkurbatov/repos","events_url":"https://api.github.com/users/alkurbatov/events{/privacy}","received_events_url":"https://api.github.com/users/alkurbatov/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T11:16:49Z","updated_at":"2019-01-02T11:16:49Z","author_association":"CONTRIBUTOR","body":"@ericbroda Now compilation is fixed. Feel free to try :)"}}
{"actor":{"display_login":"alkurbatov"}}