Open theo77186 opened 7 years ago
After this cleanup patch https://github.com/TomHyer/Roc/commit/5635d83d36263b7904cf88a942e7ed7707e07ec9, Roc still cannot be compiled using gcc. The following have to be fixed:
setjmp
longjmp
GetTickCount64
#define _WIN32_WINNT 0x0600
NullTerminate
check_state
-fpermissive
::main
int
std::find
std::sort
TBProbe
I'll probably do a PR for all but the 3rd (code structure).
After this cleanup patch https://github.com/TomHyer/Roc/commit/5635d83d36263b7904cf88a942e7ed7707e07ec9, Roc still cannot be compiled using gcc. The following have to be fixed:
setjmp
/longjmp
in the UCI main loop.GetTickCount64
is available only on Windows Vista and later and requires#define _WIN32_WINNT 0x0600
on gcc.NullTerminate
andcheck_state
that is called before declaration (but still compiles with-fpermissive
)::main
must beint
though the return statement is unreachablestd::find
andstd::sort
TBProbe
is duplicated (beginning and lines ~1700)I'll probably do a PR for all but the 3rd (code structure).