Files
2a86ee7527 Windows non-MinGW Clang support (#2429)
* Basic support for building with Visual Studio/clang-cl

Clang is required, MSVC support needs too many code changes.
ARM64 doesn't seem to work at the moment because of a bug in Qt.

* Fix close being used instead of closesocket in GdbStub in Windows

The GdbStub was closing sockets on windows by using "close" rather than "closesocket"

* fix the gdbstub unconditionally including unistd.h on windows and make it default-on again

* detect VS toolchain and arm64 with vcpkg, also get rid of some warnings
on Windows

* fix Qt indexOf ambiguity

* stupid math library issues

* add _USE_MATH_DEFINES so M_PI exists
* work around faad2 uncondtionally linking libm even on Windows where it doesn't exist

* Fix JIT linkage code for x86-64 in clang-cl builds

* Make it build with non-cl clang as well

* fix closesocket change breaking on macOS due to missing unistd include

* little build cleanups

---------

Co-authored-by: Edoardo Lolletti <[email protected]>
Co-authored-by: Gloria Goertz <[email protected]>
2025-11-17 20:50:26 +01:00
..
2024-11-18 22:06:50 +01:00
2024-11-18 22:06:50 +01:00
2023-08-27 13:37:42 +02:00
2024-11-18 22:06:50 +01:00
2023-08-27 13:37:42 +02:00