Anonymous Maarten
Anonymous Maarten
> @madebr You're accessing a zero-sized allocated block at line 61 when `arraylen=0` 😁 there's no memory corruptions from qsort. As for your test of non-transitive compare, this usecase, which...
Before delving deeper, what is the behavior when logging using `fprintf`, `std::cout`, `std::cerr` and `OutputDebugStringA`?
Replace ` SDL_Log("DDDDDDDDDDDDDDDDDDDDD \n");` with ```c std::cerr
Can you share a minimal Visual Studio solution that reproduces the issue? Most of use are no C# specialists, so it would help us a lot.
I cannot reproduce your issue. When pressing the "Start" button, the following appears in the "Output" window: ``` output using std::cerr INFO: output using SDL_Log output using fprintf(stderr) output using...
I can reproduce it when I use a prebuilt SDL3 binary from CI. It prints twice when configuring SDL with `-DSDL_LIBC=ON`, printing once with `OutputDebugString` and once with `fprintf(stderr)`. The...
This patch makes it behave as expected when building with SDL_LIBC=ON and OFF. But I don't feel 100% comfortable applying, so can you please have a look at it? The...
I think the only way to fix this now is cache the results ourselves. Like we do for MSVC now, but generated during first configuration. The main issue here is...
We recently did [a similar thing in SDL3](https://github.com/libsdl-org/SDL/commit/3c00af1ac617d72037cb06618b8e0ca3e5d01520) that predefines variables for MSVC only. Using presets would be another solution to this problem. (I had a bad IDE experience with...
> @madebr do you have a version of predefines for MacOS - Clang as well, possibly ARM architecture? This preseeding already speeds up project generation around 10x for Windows/MSVC version...