{"action":"created","issue":{"url":"https://api.github.com/repos/StephanTLavavej/mingw-distro/issues/10","repository_url":"https://api.github.com/repos/StephanTLavavej/mingw-distro","labels_url":"https://api.github.com/repos/StephanTLavavej/mingw-distro/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/StephanTLavavej/mingw-distro/issues/10/comments","events_url":"https://api.github.com/repos/StephanTLavavej/mingw-distro/issues/10/events","html_url":"https://github.com/StephanTLavavej/mingw-distro/issues/10","id":114500733,"number":10,"title":"SDL needs --disable-render-d3d because mingw-w64 is incomplete","user":{"login":"StephanTLavavej","id":4231088,"avatar_url":"https://avatars.githubusercontent.com/u/4231088?v=3","gravatar_id":"","url":"https://api.github.com/users/StephanTLavavej","html_url":"https://github.com/StephanTLavavej","followers_url":"https://api.github.com/users/StephanTLavavej/followers","following_url":"https://api.github.com/users/StephanTLavavej/following{/other_user}","gists_url":"https://api.github.com/users/StephanTLavavej/gists{/gist_id}","starred_url":"https://api.github.com/users/StephanTLavavej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephanTLavavej/subscriptions","organizations_url":"https://api.github.com/users/StephanTLavavej/orgs","repos_url":"https://api.github.com/users/StephanTLavavej/repos","events_url":"https://api.github.com/users/StephanTLavavej/events{/privacy}","received_events_url":"https://api.github.com/users/StephanTLavavej/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/StephanTLavavej/mingw-distro/labels/external","name":"external","color":"fbca04"},{"url":"https://api.github.com/repos/StephanTLavavej/mingw-distro/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-01T23:31:25Z","updated_at":"2016-04-14T06:37:15Z","closed_at":null,"body":"When I upgraded mingw-w64 from 3.3.0 to 4.0.2, I had to add `--disable-render-d3d` to SDL's build. Apparently, mingw-w64 contains some-but-not-all D3D machinery, causing SDL's `configure` to detect its presence, but the following build fails.\r\n\r\nmingw-w64 should fully support this, whatever it is."},"comment":{"url":"https://api.github.com/repos/StephanTLavavej/mingw-distro/issues/comments/209782426","html_url":"https://github.com/StephanTLavavej/mingw-distro/issues/10#issuecomment-209782426","issue_url":"https://api.github.com/repos/StephanTLavavej/mingw-distro/issues/10","id":209782426,"user":{"login":"StephanTLavavej","id":4231088,"avatar_url":"https://avatars.githubusercontent.com/u/4231088?v=3","gravatar_id":"","url":"https://api.github.com/users/StephanTLavavej","html_url":"https://github.com/StephanTLavavej","followers_url":"https://api.github.com/users/StephanTLavavej/followers","following_url":"https://api.github.com/users/StephanTLavavej/following{/other_user}","gists_url":"https://api.github.com/users/StephanTLavavej/gists{/gist_id}","starred_url":"https://api.github.com/users/StephanTLavavej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephanTLavavej/subscriptions","organizations_url":"https://api.github.com/users/StephanTLavavej/orgs","repos_url":"https://api.github.com/users/StephanTLavavej/repos","events_url":"https://api.github.com/users/StephanTLavavej/events{/privacy}","received_events_url":"https://api.github.com/users/StephanTLavavej/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T06:37:15Z","updated_at":"2016-04-14T06:37:15Z","body":"Still repros with mingw-w64 4.0.6 and SDL 2.0.4:\r\n\r\n```\r\n../src/src/render/direct3d11/SDL_render_d3d11.c:140:19: error: static declaration of 'IID_IDXGIFactory2' follows non-static declaration\r\n static const GUID IID_IDXGIFactory2 = { 0x50c83a1c, 0xe072, 0x4c48, { 0x87, 0xb0, 0x36, 0x30, 0xfa, 0x36, 0xa6, 0xd0 } };\r\n                   ^\r\nIn file included from c:\\mingw\\x86_64-w64-mingw32\\include\\combaseapi.h:156:0,\r\n                 from c:\\mingw\\x86_64-w64-mingw32\\include\\objbase.h:14,\r\n                 from c:\\mingw\\x86_64-w64-mingw32\\include\\ole2.h:17,\r\n                 from c:\\mingw\\x86_64-w64-mingw32\\include\\d3d11_1.h:12,\r\n                 from ../src/src/render/direct3d11/SDL_render_d3d11.c:34:\r\nc:\\mingw\\x86_64-w64-mingw32\\include\\dxgi1_2.h:759:1: note: previous declaration of 'IID_IDXGIFactory2' was here\r\n DEFINE_GUID(IID_IDXGIFactory2, 0x50c83a1c, 0xe072, 0x4c48, 0x87,0xb0, 0x36,0x30,0xfa,0x36,0xa6,0xd0);\r\n ^\r\n```"}}