Skip to content

Commit a6d5e11

Browse files
committed
Windows: remove subsystem flag to fix MinGW 14.2 locale crash
1 parent e52e0c9 commit a6d5e11

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

mode/CppMode.jar

-29 Bytes
Binary file not shown.

src/java/CppBuild.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3195,9 +3195,7 @@ else if (!cmd.contains(defaultsCpp.getAbsolutePath()))
31953195
Collections.addAll(cmd,
31963196
"-lglfw3", "-lglew32", "-lopengl32", "-lglu32",
31973197
"-lcomdlg32", "-lshell32", "-lole32", "-luuid",
3198-
"-pthread", "-D_USE_MATH_DEFINES",
3199-
"-Wl,--subsystem,windows",
3200-
"-Wl,--allow-multiple-definition");
3198+
"-pthread", "-D_USE_MATH_DEFINES");
32013199
} else if (mac) {
32023200
// macOS: prefer bundled dylibs shipped with the mode (libs/macos)
32033201
// universal dylibs work on both arm64 and x64.

0 commit comments

Comments
 (0)