cubing / twsearch

🔍 Twizzle Search — a program to find algs and scrambles for twisty puzzles
GNU General Public License v3.0
24 stars 8 forks source link

MSVC compilation likely breaks #46

Closed rokicki closed 7 months ago

rokicki commented 7 months ago

Recent changes (made by me) have introduced usage of gcc-style _builtin... functions in at least three places. These will likely break under MSVC compilation, and should be fixed (with whatever subterfuge is required), and all such system-dependencies moved to util.h with appropriate preprocessor symbol conditionals.

rokicki commented 7 months ago

This is largely fixed now; we can compile without threads cleanly on MSVC. To support threads we need to add in support for Windows threads. We've done this before on other programs but without an actual Windows machine to work with we will not be starting this effort.