Bug 8554 - Old runtime used on Windows
Summary: Old runtime used on Windows
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Build system (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on: 8412
Blocks:
  Show dependency treegraph
 
Reported: 2025-03-25 10:40 CET by Pierre Ossman
Modified: 2025-03-25 13:52 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2025-03-25 10:40:55 CET
Our Windows binaries are currently using the classical C runtime on Windows (MSVCRT), because that is what MinGW uses. This runtime is old and does not conform to the C standard properly. MinGW has hacks to work around this, but there is still a risk of buggy corner cases.

Windows 10 and onwards has a new C runtime (UCRT), that they claim follows the standard closely. We already require Windows 10, so using this runtime would be a nice improvement.

I'm unable to find any clear information on MinGW's or gcc's stance on this, or how to switch. MSYS2 provides tools for both runtimes, and they have started recommending the UCRT one over the MSVCRT one (although the GitHub actions still default to the older one).

Note You need to log in before you can comment on or make changes to this bug.