diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-25 18:31:17 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-25 18:31:17 +0000 |
commit | 3d2f1da7c8062a4932ea29a0d37a769991764cc5 (patch) | |
tree | bdb8cd767b97d1f097973627d8a683bdea153072 | |
parent | 0b23bc6179b7a8e6c8664374d7d6f66fe9c9bdcb (diff) | |
download | MWCC-3d2f1da7c8062a4932ea29a0d37a769991764cc5.tar.gz MWCC-3d2f1da7c8062a4932ea29a0d37a769991764cc5.zip |
note updates
Diffstat (limited to '')
-rw-r--r-- | command_line/CmdLine/Src/CLMain.c | 4 | ||||
-rw-r--r-- | includes/cmdline.h | 2 | ||||
-rw-r--r-- | notes | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/command_line/CmdLine/Src/CLMain.c b/command_line/CmdLine/Src/CLMain.c index ef55b55..57df9fb 100644 --- a/command_line/CmdLine/Src/CLMain.c +++ b/command_line/CmdLine/Src/CLMain.c @@ -153,6 +153,8 @@ static Boolean special_stdout_base(Boolean pre, char *) { } } +// TODO: special function goes here for license file + struct SpecialOption { const char *optname; char **argp; @@ -239,6 +241,8 @@ int Main_Initialize(int argc, char **argv) { Main_PreParse(&argc, &argv); clState.argc = argc; clState.argv = argv; + + // TODO: this changes on windows strcpyn(exename, argv[0], strlen(argv[0]), 256); exename[255] = 0; diff --git a/includes/cmdline.h b/includes/cmdline.h index d25e70b..45f052e 100644 --- a/includes/cmdline.h +++ b/includes/cmdline.h @@ -216,7 +216,7 @@ enum { // "Changing primary user access path to '%s'" CLStr105 = 105, // "The linker does not expect duplicate files; ignoring repeated '%s'" - CLStr106 = 106, + CLStr106 = 106 }; #define DO_INTERNAL_ERROR(line, ...) CLInternalError(__FILE__, line, __VA_ARGS__) @@ -7,7 +7,7 @@ wine ../reversing/v7_0_mwcppc.exe -g -DCW_TARGET_MACH -opt l=4,speed -enum min - OS 9 mpw-emu setup: export MWCIncludes=":msl_c_pro7:MSL_Common:Include,:msl_c_pro7:MSL_MacOS:Include" -mpw-emu mwcppc_v7 -g -DCW_TARGET_MACH -opt l=4,speed,nopeephole,noschedule -enum min -convertpaths -Iincludes -Isdk_hdrs -w all,nounused,notinlined -wchar_t on -bool off -Cpp_exceptions off -maxwarnings 10 +mpw-emu mwcppc_v7 -g -DCW_TARGET_MACH -DCW_HOST_MAC_CLASSIC -opt l=4,speed,nopeephole,noschedule -enum min -convertpaths -Iincludes -Isdk_hdrs -w all,nounused,notinlined -wchar_t on -bool off -Cpp_exceptions off -maxwarnings 10 * - has issues |