March 20, 2026
6:27 a.m.
No specific use case but I don't think it's right to use the C compiler to compile C++. It mostly works in general because they have heuristics about file name and switch to C++ mode, but it's not right to rely on it. We should either look for and use an actual C++ compiler, or pass -xc++ flag to the C compiler (which is then probably compiler-specific). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10399#note_132986