Vitaly Novichkov
Vitaly Novichkov
Hello! Just now I got news! I found reason of this problem: it happens ONLY when SDL2 built with `MinSizeRel` config, but it works when SDL2 itself built as `Release`...
Looks absolutely weird...
Try to build this code (save as `test.cpp`) by `g++ test.cpp -o test` ```cpp #include #include static std::deque g_deque; int main() { size_t got = 42; g_deque.resize(666); size_t pos =...
But, what if append `-std=c++98` argument?
Heck: I got that just on GCC-13: 
Slightly adjusted: ```cpp #include #include #include static std::deque g_deque; int main() { size_t got = 42; g_deque.resize(666); size_t pos = g_deque.size(); g_deque.resize(pos + got); return 0; } ``` Now builds...
Then, this seems a bug of gcc-15's headers 🤔
> Is there any workaround for this problem or do I have to change to GCC 14, somehow? Speaking about workaround, I will try to develop some, but first I...
// Okay, I found the PPA, going to try it...
// Nope, it's a mess. However, I can build it from the source, so, I'll try this way.