{"action":"created","issue":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/520","labels_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/520/comments","events_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/520/events","html_url":"https://github.com/official-stockfish/Stockfish/pull/520","id":120550138,"number":520,"title":"Fix compiling 32-bit executable on 64-bit host","user":{"login":"braich","id":11818460,"avatar_url":"https://avatars.githubusercontent.com/u/11818460?v=3","gravatar_id":"","url":"https://api.github.com/users/braich","html_url":"https://github.com/braich","followers_url":"https://api.github.com/users/braich/followers","following_url":"https://api.github.com/users/braich/following{/other_user}","gists_url":"https://api.github.com/users/braich/gists{/gist_id}","starred_url":"https://api.github.com/users/braich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braich/subscriptions","organizations_url":"https://api.github.com/users/braich/orgs","repos_url":"https://api.github.com/users/braich/repos","events_url":"https://api.github.com/users/braich/events{/privacy}","received_events_url":"https://api.github.com/users/braich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-05T12:11:21Z","updated_at":"2015-12-06T09:20:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/pulls/520","html_url":"https://github.com/official-stockfish/Stockfish/pull/520","diff_url":"https://github.com/official-stockfish/Stockfish/pull/520.diff","patch_url":"https://github.com/official-stockfish/Stockfish/pull/520.patch"},"body":"Fixes #516"},"comment":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/comments/162290692","html_url":"https://github.com/official-stockfish/Stockfish/pull/520#issuecomment-162290692","issue_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/520","id":162290692,"user":{"login":"mstembera","id":5421953,"avatar_url":"https://avatars.githubusercontent.com/u/5421953?v=3","gravatar_id":"","url":"https://api.github.com/users/mstembera","html_url":"https://github.com/mstembera","followers_url":"https://api.github.com/users/mstembera/followers","following_url":"https://api.github.com/users/mstembera/following{/other_user}","gists_url":"https://api.github.com/users/mstembera/gists{/gist_id}","starred_url":"https://api.github.com/users/mstembera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstembera/subscriptions","organizations_url":"https://api.github.com/users/mstembera/orgs","repos_url":"https://api.github.com/users/mstembera/repos","events_url":"https://api.github.com/users/mstembera/events{/privacy}","received_events_url":"https://api.github.com/users/mstembera/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T09:20:09Z","updated_at":"2015-12-06T09:20:09Z","body":"I get the below error when compiling like this\r\nmake build ARCH=x86-32\r\nor\r\nmake build ARCH=x86-32 COMP=mingw\r\nunder Windows.\r\n\r\ng++ -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11  -Wextra -Wshadow -DN\r\nDEBUG -O3 -m32 -msse   -c -o benchmark.o benchmark.cpp\r\nIn file included from c:/MinGW/mingw64/x86_64-w64-mingw32/include/c++/random:49:\r\n0,\r\n                 from c:/MinGW/mingw64/x86_64-w64-mingw32/include/c++/bits/stl_a\r\nlgo.h:66,\r\n                 from c:/MinGW/mingw64/x86_64-w64-mingw32/include/c++/algorithm:\r\n62,\r\n                 from movepick.h:23,\r\n                 from thread.h:31,\r\n                 from benchmark.cpp:28:\r\nc:/MinGW/mingw64/x86_64-w64-mingw32/include/c++/bits/random.h:106:26: error: exp\r\nected unqualified-id before '__int128'\r\n       { typedef unsigned __int128 type; };\r\n                          ^\r\nmake[1]: *** [benchmark.o] Error 1\r\nmake[1]: Leaving directory `/c/Projects/StockfishOF6/src'\r\nmake: *** [build] Error 2\r\n\r\nMaybe the solution is to invoke x86_64-w64-mingw32-c++ for 64 bit compiles and i686-w64-mingw32-c++ for 32 bit compiles instead of g++.  I haven't tested that though."}}