Open denniskb opened 2 years ago
To elaborate: Spice uses Linux- and GCC-specific commands/options to various degrees.
This task is not about porting the entirety of Spice to Windows, but just to get it to build so Windows-users can at least run the samples. For this purpose:
kahan_sum
implementation which won't work properly unless float optimizations are suspended just for its operator+=
. That means we have to find the MSVC equivalent of GCC's __attribute__((optimize("-fno-fast-math")))
.TODO: Add disclaimer to readme that full performance on Windows cannot be achieved due to lack of async support (only available with Windows Datacenter Edition).
@oikonom This is fairly simple. We don't care about finding equivalent options/commands for VS so it's just a question of guarding VS from seeing linux-specific stuff.