Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mingw: use runtime from VC 12 (VS 2012) for better C99 support #10799

Merged
merged 1 commit into from
Feb 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dmd/cli.d
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ dmd -cov -unittest myprog.d
If no Visual C installation is detected, a wrapper for the redistributable
VC2010 dynamic runtime library and mingw based platform import libraries will
be linked instead using the LLD linker provided by the LLVM project.
The detection can be skipped explicitly if $(TT msvcrt100) is specified as
The detection can be skipped explicitly if $(TT msvcrt120) is specified as
$(I libname).
If $(I libname) is empty, no C runtime library is automatically linked in.",
TargetOS.windows,
Expand Down
2 changes: 1 addition & 1 deletion src/dmd/link.d
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ version (Windows)
if (getVCLibDir(x64))
return "libcmt";
else
return "msvcrt100"; // mingw replacement
return "msvcrt120"; // mingw replacement
}

/**
Expand Down