note updates

This commit is contained in:
Ash Wolf 2023-01-25 18:31:17 +00:00
parent 0b23bc6179
commit 3d2f1da7c8
3 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -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__)

2
notes
View File

@ -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