{"action":"created","issue":{"url":"https://api.github.com/repos/joncampbell123/dosbox-x/issues/209","repository_url":"https://api.github.com/repos/joncampbell123/dosbox-x","labels_url":"https://api.github.com/repos/joncampbell123/dosbox-x/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/joncampbell123/dosbox-x/issues/209/comments","events_url":"https://api.github.com/repos/joncampbell123/dosbox-x/issues/209/events","html_url":"https://github.com/joncampbell123/dosbox-x/issues/209","id":153673835,"number":209,"title":"Cannot compile dosbox-x under Ubuntu 16.04","user":{"login":"zaxxxxx","id":19254754,"avatar_url":"https://avatars.githubusercontent.com/u/19254754?v=3","gravatar_id":"","url":"https://api.github.com/users/zaxxxxx","html_url":"https://github.com/zaxxxxx","followers_url":"https://api.github.com/users/zaxxxxx/followers","following_url":"https://api.github.com/users/zaxxxxx/following{/other_user}","gists_url":"https://api.github.com/users/zaxxxxx/gists{/gist_id}","starred_url":"https://api.github.com/users/zaxxxxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaxxxxx/subscriptions","organizations_url":"https://api.github.com/users/zaxxxxx/orgs","repos_url":"https://api.github.com/users/zaxxxxx/repos","events_url":"https://api.github.com/users/zaxxxxx/events{/privacy}","received_events_url":"https://api.github.com/users/zaxxxxx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joncampbell123/dosbox-x/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/joncampbell123/dosbox-x/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-08T19:45:23Z","updated_at":"2016-05-08T23:37:37Z","closed_at":null,"body":"\r\nAs per \"INSTALL\" I think I've installed every single libsdl that's required by dosbox but neither vanilla dosbox 0.74 nor this fork doesn't want to compile. I've also tried\r\n\r\napt-get build-dep dosbox\r\n\r\nsince dosbox is in the official repo but it didn't help either.\r\n\r\nHere's the output of ./configure : http://pastebin.com/pFS6AZgt\r\n\r\nAnd here's the output of make (showing only the last lines): http://pastebin.com/Jh2Y8Rtd\r\n\r\nAnd lastly here's the output of make of the vanilla 0.74 dosbox which I'm not really interested in because it's already available in the official repo. It also dosen't build but it's output is a bit different (showing only the last lines) : http://pastebin.com/pNn2NgzS\r\n\r\nAny help is highly welcome! I'd love to check this fork out because of it's windows 98 capabilities."},"comment":{"url":"https://api.github.com/repos/joncampbell123/dosbox-x/issues/comments/217753008","html_url":"https://github.com/joncampbell123/dosbox-x/issues/209#issuecomment-217753008","issue_url":"https://api.github.com/repos/joncampbell123/dosbox-x/issues/209","id":217753008,"user":{"login":"joncampbell123","id":6245486,"avatar_url":"https://avatars.githubusercontent.com/u/6245486?v=3","gravatar_id":"","url":"https://api.github.com/users/joncampbell123","html_url":"https://github.com/joncampbell123","followers_url":"https://api.github.com/users/joncampbell123/followers","following_url":"https://api.github.com/users/joncampbell123/following{/other_user}","gists_url":"https://api.github.com/users/joncampbell123/gists{/gist_id}","starred_url":"https://api.github.com/users/joncampbell123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joncampbell123/subscriptions","organizations_url":"https://api.github.com/users/joncampbell123/orgs","repos_url":"https://api.github.com/users/joncampbell123/repos","events_url":"https://api.github.com/users/joncampbell123/events{/privacy}","received_events_url":"https://api.github.com/users/joncampbell123/received_events","type":"User","site_admin":false},"created_at":"2016-05-08T23:37:37Z","updated_at":"2016-05-08T23:37:37Z","body":"GCC doesn't like it when you declare that the function is like printf(), but then use a non-constant format string. You're supposed to use a string constant with the format string of printf.\r\nYou can eliminate that warning by changing it to LOG_MSG(\"%s\",message.c_str());\r\n\r\nI'm guessing G++ crashed because your #define isinf(x) (std::isinf(x)) makes a recursive macro that never finishes expanding. isinf(x) -> std::isinf(x) -> std::std::isinf(x) -> std::std::std::isinf(x) -> and so on. Try making isinf(x) a static inline function that calls std::isinf().\r\n"}}