From 1a414c7b6be312e59a419aa2346a602fa962c94a Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Fri, 27 Oct 2017 01:29:58 -0400 Subject: delete -municode command line argument The solution to this is to always have it on and only use the 'W' versions of respective windows APIs. See the issue for this. --- src/main.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index bee021c6a5..358f1cf255 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -73,7 +73,6 @@ static int usage(const char *arg0) { " -rpath $path add directory to the runtime library search path\n" " -mconsole (windows) --subsystem console to the linker\n" " -mwindows (windows) --subsystem windows to the linker\n" - " -municode (windows) link with unicode\n" " -framework $name (darwin) link against framework\n" " -mios-version-min $ver (darwin) set iOS deployment target\n" " -mmacosx-version-min $ver (darwin) set Mac OS X deployment target\n" @@ -302,7 +301,6 @@ int main(int argc, char **argv) { const char *target_environ = nullptr; bool mwindows = false; bool mconsole = false; - bool municode = false; bool rdynamic = false; const char *mmacosx_version_min = nullptr; const char *mios_version_min = nullptr; @@ -487,8 +485,6 @@ int main(int argc, char **argv) { mwindows = true; } else if (strcmp(arg, "-mconsole") == 0) { mconsole = true; - } else if (strcmp(arg, "-municode") == 0) { - municode = true; } else if (strcmp(arg, "-rdynamic") == 0) { rdynamic = true; } else if (strcmp(arg, "--each-lib-rpath") == 0) { @@ -790,7 +786,6 @@ int main(int argc, char **argv) { } codegen_set_windows_subsystem(g, mwindows, mconsole); - codegen_set_windows_unicode(g, municode); codegen_set_rdynamic(g, rdynamic); if (mmacosx_version_min && mios_version_min) { fprintf(stderr, "-mmacosx-version-min and -mios-version-min options not allowed together\n"); -- cgit v1.2.3