{"action":"created","issue":{"url":"https://api.github.com/repos/Wargus/stratagus/issues/21","labels_url":"https://api.github.com/repos/Wargus/stratagus/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/Wargus/stratagus/issues/21/comments","events_url":"https://api.github.com/repos/Wargus/stratagus/issues/21/events","html_url":"https://github.com/Wargus/stratagus/issues/21","id":117890369,"number":21,"title":"Compiling a Debug-Version of Rev7939 ","user":{"login":"timfel","id":46235,"avatar_url":"https://avatars.githubusercontent.com/u/46235?v=3","gravatar_id":"","url":"https://api.github.com/users/timfel","html_url":"https://github.com/timfel","followers_url":"https://api.github.com/users/timfel/followers","following_url":"https://api.github.com/users/timfel/following{/other_user}","gists_url":"https://api.github.com/users/timfel/gists{/gist_id}","starred_url":"https://api.github.com/users/timfel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timfel/subscriptions","organizations_url":"https://api.github.com/users/timfel/orgs","repos_url":"https://api.github.com/users/timfel/repos","events_url":"https://api.github.com/users/timfel/events{/privacy}","received_events_url":"https://api.github.com/users/timfel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Wargus/stratagus/labels/Fix%20Released","name":"Fix Released","color":"ddffdd"},{"url":"https://api.github.com/repos/Wargus/stratagus/labels/Medium","name":"Medium","color":"ffdddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-19T19:33:56Z","updated_at":"2015-11-19T20:20:32Z","closed_at":null,"body":"On Ubuntu (maverick 64bit) I have to modify the source of the latest trunk-Revision (7939). Otherwise the debug-version (./configure --enable-debug) stops compiling..\n\n--------------------------------------------------------------------------------------------\nbzr diff\n=== modified file 'src/tolua/tolua.cpp'\n--- src/tolua/tolua.cpp\t2011-02-26 20:35:26 +0000\n+++ src/tolua/tolua.cpp\t2011-03-06 20:12:38 +0000\n@@ -20440,6 +20440,6 @@\n #if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501\n  TOLUA_API int luaopen_stratagus (lua_State* tolua_S) {\n  return tolua_stratagus_open(tolua_S);\n-};\n+}\n #endif\n \n\n=== modified file 'src/video/font.cpp'\n--- src/video/font.cpp\t2011-02-27 10:49:24 +0000\n+++ src/video/font.cpp\t2011-03-06 20:13:47 +0000\n@@ -475,7 +475,7 @@\n \treturn w + 1;\n }\n \n-CGraphic *CFont::GetFontColorGraphic(const CFontColor *fontColor) const\n+CGraphic *CFont::GetFontColorGraphic(const CFontColor *) const\n {\n \tif (!UseOpenGL) {\n \t\treturn this->G;\n--------------------------------------------------------------------------------------------"},"comment":{"url":"https://api.github.com/repos/Wargus/stratagus/issues/comments/158185882","html_url":"https://github.com/Wargus/stratagus/issues/21#issuecomment-158185882","issue_url":"https://api.github.com/repos/Wargus/stratagus/issues/21","id":158185882,"user":{"login":"timfel","id":46235,"avatar_url":"https://avatars.githubusercontent.com/u/46235?v=3","gravatar_id":"","url":"https://api.github.com/users/timfel","html_url":"https://github.com/timfel","followers_url":"https://api.github.com/users/timfel/followers","following_url":"https://api.github.com/users/timfel/following{/other_user}","gists_url":"https://api.github.com/users/timfel/gists{/gist_id}","starred_url":"https://api.github.com/users/timfel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timfel/subscriptions","organizations_url":"https://api.github.com/users/timfel/orgs","repos_url":"https://api.github.com/users/timfel/repos","events_url":"https://api.github.com/users/timfel/events{/privacy}","received_events_url":"https://api.github.com/users/timfel/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T20:20:32Z","updated_at":"2015-11-19T20:20:32Z","body":"(by joris-dauphin)\n- I make a typo in GetFontColorGraphic (use global FontColor instead of arg fontColor)\nFor tolua, the file is generated (from *.pkg) and the modification in pkg file seem good (for this commit)\nI will try to fix it the correct way."}}