{"action":"created","issue":{"url":"https://api.github.com/repos/stepmania/stepmania/issues/696","labels_url":"https://api.github.com/repos/stepmania/stepmania/issues/696/labels{/name}","comments_url":"https://api.github.com/repos/stepmania/stepmania/issues/696/comments","events_url":"https://api.github.com/repos/stepmania/stepmania/issues/696/events","html_url":"https://github.com/stepmania/stepmania/issues/696","id":90276994,"number":696,"title":"CMake: MinGW and MSYS Makefiles does not auto-check byte order.","user":{"login":"Prcuvu","id":7923857,"avatar_url":"https://avatars.githubusercontent.com/u/7923857?v=3","gravatar_id":"","url":"https://api.github.com/users/Prcuvu","html_url":"https://github.com/Prcuvu","followers_url":"https://api.github.com/users/Prcuvu/followers","following_url":"https://api.github.com/users/Prcuvu/following{/other_user}","gists_url":"https://api.github.com/users/Prcuvu/gists{/gist_id}","starred_url":"https://api.github.com/users/Prcuvu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prcuvu/subscriptions","organizations_url":"https://api.github.com/users/Prcuvu/orgs","repos_url":"https://api.github.com/users/Prcuvu/repos","events_url":"https://api.github.com/users/Prcuvu/events{/privacy}","received_events_url":"https://api.github.com/users/Prcuvu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stepmania/stepmania/labels/cmake","name":"cmake","color":"fffeff"},{"url":"https://api.github.com/repos/stepmania/stepmania/labels/windows","name":"windows","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"wolfman2000","id":148345,"avatar_url":"https://avatars.githubusercontent.com/u/148345?v=3","gravatar_id":"","url":"https://api.github.com/users/wolfman2000","html_url":"https://github.com/wolfman2000","followers_url":"https://api.github.com/users/wolfman2000/followers","following_url":"https://api.github.com/users/wolfman2000/following{/other_user}","gists_url":"https://api.github.com/users/wolfman2000/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfman2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfman2000/subscriptions","organizations_url":"https://api.github.com/users/wolfman2000/orgs","repos_url":"https://api.github.com/users/wolfman2000/repos","events_url":"https://api.github.com/users/wolfman2000/events{/privacy}","received_events_url":"https://api.github.com/users/wolfman2000/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/stepmania/stepmania/milestones/2","html_url":"https://github.com/stepmania/stepmania/milestones/StepMania%205.1+","labels_url":"https://api.github.com/repos/stepmania/stepmania/milestones/2/labels","id":549406,"number":2,"title":"StepMania 5.1+","description":"","creator":{"login":"roothorick","id":6509603,"avatar_url":"https://avatars.githubusercontent.com/u/6509603?v=3","gravatar_id":"","url":"https://api.github.com/users/roothorick","html_url":"https://github.com/roothorick","followers_url":"https://api.github.com/users/roothorick/followers","following_url":"https://api.github.com/users/roothorick/following{/other_user}","gists_url":"https://api.github.com/users/roothorick/gists{/gist_id}","starred_url":"https://api.github.com/users/roothorick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roothorick/subscriptions","organizations_url":"https://api.github.com/users/roothorick/orgs","repos_url":"https://api.github.com/users/roothorick/repos","events_url":"https://api.github.com/users/roothorick/events{/privacy}","received_events_url":"https://api.github.com/users/roothorick/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":32,"state":"open","created_at":"2014-01-27T19:08:23Z","updated_at":"2015-07-27T23:13:32Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-06-23T03:34:38Z","updated_at":"2015-08-31T10:13:36Z","closed_at":null,"body":"When g++ started to build StepMania, it failed with such output:\r\n\r\n```\r\n[ 43%] Building CXX object src/CMakeFiles/StepMania.dir/GameLoop.cpp.obj\r\nIn file included from D:\\Users\\Prcuvu\\stepmania\\src\\GameLoop.cpp:1:0:\r\nD:\\Users\\Prcuvu\\stepmania\\src\\global.h:29:2: error: #error Neither ENDIAN_LITTLE nor ENDIAN_BIG defined\r\n #error Neither ENDIAN_LITTLE nor ENDIAN_BIG defined\r\n  ^\r\nsrc\\CMakeFiles\\StepMania.dir\\build.make:88: recipe for target 'src/CMakeFiles/StepMania.dir/GameLoop.cpp.obj' failed\r\n```\r\n\r\nSame thing happened when using MSYS Makefiles generator. Seems that CMake does not automatically check byte order with MinGW and MSYS."},"comment":{"url":"https://api.github.com/repos/stepmania/stepmania/issues/comments/136322989","html_url":"https://github.com/stepmania/stepmania/issues/696#issuecomment-136322989","issue_url":"https://api.github.com/repos/stepmania/stepmania/issues/696","id":136322989,"user":{"login":"droope","id":152786,"avatar_url":"https://avatars.githubusercontent.com/u/152786?v=3","gravatar_id":"","url":"https://api.github.com/users/droope","html_url":"https://github.com/droope","followers_url":"https://api.github.com/users/droope/followers","following_url":"https://api.github.com/users/droope/following{/other_user}","gists_url":"https://api.github.com/users/droope/gists{/gist_id}","starred_url":"https://api.github.com/users/droope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droope/subscriptions","organizations_url":"https://api.github.com/users/droope/orgs","repos_url":"https://api.github.com/users/droope/repos","events_url":"https://api.github.com/users/droope/events{/privacy}","received_events_url":"https://api.github.com/users/droope/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T10:13:36Z","updated_at":"2015-08-31T10:13:36Z","body":"This might be a silly question (I am not used to compiling things on Windows): I am getting the same errors as @Prcuvu. How can I resolve this without modifying the source code and possibly breaking it for other people?\r\n\r\nI attach a screenie of the error I am getting\r\n![capture](https://cloud.githubusercontent.com/assets/152786/9576619/66e340fc-502d-11e5-8e48-83d48c987eb1.JPG)\r\n"}}