{"action":"created","issue":{"url":"https://api.github.com/repos/GarageGames/Torque2D/issues/292","labels_url":"https://api.github.com/repos/GarageGames/Torque2D/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/GarageGames/Torque2D/issues/292/comments","events_url":"https://api.github.com/repos/GarageGames/Torque2D/issues/292/events","html_url":"https://github.com/GarageGames/Torque2D/pull/292","id":120933848,"number":292,"title":"On some platforms time.h seems to get included. Avoid time() collision.","user":{"login":"bentley","id":126009,"avatar_url":"https://avatars.githubusercontent.com/u/126009?v=3","gravatar_id":"","url":"https://api.github.com/users/bentley","html_url":"https://github.com/bentley","followers_url":"https://api.github.com/users/bentley/followers","following_url":"https://api.github.com/users/bentley/following{/other_user}","gists_url":"https://api.github.com/users/bentley/gists{/gist_id}","starred_url":"https://api.github.com/users/bentley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bentley/subscriptions","organizations_url":"https://api.github.com/users/bentley/orgs","repos_url":"https://api.github.com/users/bentley/repos","events_url":"https://api.github.com/users/bentley/events{/privacy}","received_events_url":"https://api.github.com/users/bentley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-08T05:27:16Z","updated_at":"2015-12-23T18:43:42Z","closed_at":"2015-12-23T18:43:42Z","pull_request":{"url":"https://api.github.com/repos/GarageGames/Torque2D/pulls/292","html_url":"https://github.com/GarageGames/Torque2D/pull/292","diff_url":"https://github.com/GarageGames/Torque2D/pull/292.diff","patch_url":"https://github.com/GarageGames/Torque2D/pull/292.patch"},"body":"I hit this on OpenBSD:\r\n\r\n    gcc -c -I../../lib/ljpeg -I../../source/persistence/rapidjson/include -I../../source -I/usr/local/include -ggdb -DTORQUE_DEBUG -DTORQUE_DEBUG_GUARD -DTORQUE_NET_STATS ../../source/platformX86UNIX/x86UNIXCPUInfo.cc -o Debug/platformX86UNIX/x86UNIXCPUInfo.cc.o\r\n    ../../source/platformX86UNIX/x86UNIXCPUInfo.cc:42: error: 'U32 time [2]' redeclared as different kind of symbol\r\n    /usr/include/time.h:136: error: previous declaration of 'time_t time(time_t*)'\r\n    ../../source/platformX86UNIX/x86UNIXCPUInfo.cc: In static member function 'static void Processor::init()':\r\n    ../../source/platformX86UNIX/x86UNIXCPUInfo.cc:62: error: pointer to a function used in arithmetic\r\n    ../../source/platformX86UNIX/x86UNIXCPUInfo.cc:62: error: assignment of function 'time_t time(time_t*)'\r\n    ../../source/platformX86UNIX/x86UNIXCPUInfo.cc:62: error: cannot convert 'int' to 'time_t ()(time_t*)' in assignment\r\n    Torque2D:464: recipe for target 'Debug/platformX86UNIX/x86UNIXCPUInfo.cc.o' failed\r\n    gmake: *** [Debug/platformX86UNIX/x86UNIXCPUInfo.cc.o] Error 1"},"comment":{"url":"https://api.github.com/repos/GarageGames/Torque2D/issues/comments/166968022","html_url":"https://github.com/GarageGames/Torque2D/pull/292#issuecomment-166968022","issue_url":"https://api.github.com/repos/GarageGames/Torque2D/issues/292","id":166968022,"user":{"login":"chaigler","id":3131257,"avatar_url":"https://avatars.githubusercontent.com/u/3131257?v=3","gravatar_id":"","url":"https://api.github.com/users/chaigler","html_url":"https://github.com/chaigler","followers_url":"https://api.github.com/users/chaigler/followers","following_url":"https://api.github.com/users/chaigler/following{/other_user}","gists_url":"https://api.github.com/users/chaigler/gists{/gist_id}","starred_url":"https://api.github.com/users/chaigler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaigler/subscriptions","organizations_url":"https://api.github.com/users/chaigler/orgs","repos_url":"https://api.github.com/users/chaigler/repos","events_url":"https://api.github.com/users/chaigler/events{/privacy}","received_events_url":"https://api.github.com/users/chaigler/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T18:43:42Z","updated_at":"2015-12-23T18:43:42Z","body":"Closing this one as well, duplicated in #302."}}