stub /errorreportlevel

This commit is contained in:
Nikita Smith
2025-09-16 21:57:37 -07:00
committed by Ryan Fleury
parent 28aec349fd
commit c653410af5
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -35,7 +35,7 @@ global read_only LNK_CmdSwitch g_cmd_switch_map[] =
{ LNK_CmdSwitch_DynamicBase, 0, "DYNAMICBASE", "[:NO]", "" },
{ LNK_CmdSwitch_NotImplemented, 0, "EMITVOLATILEMETADATA", "", "" },
{ LNK_CmdSwitch_Entry, 1, "ENTRY", ":FUNCTION", "" },
{ LNK_CmdSwitch_Null, 0, "ERRORREPORT", "", "Deprecated starting Windows Vista." },
{ LNK_CmdSwitch_ErrorReport, 0, "ERRORREPORT", "", "Deprecated starting Windows Vista." },
{ LNK_CmdSwitch_Export, 1, "EXPORT", ":SYMBOL", "" },
{ LNK_CmdSwitch_NotImplemented, 0, "EXPORTADMIN", "", "" },
{ LNK_CmdSwitch_FastFail, 0, "FASTFAIL", "", "Not used." },
@@ -1293,6 +1293,10 @@ lnk_apply_cmd_option_to_config(LNK_Config *config, String8 cmd_name, String8List
config->entry_point_name = new_entry_point_name;
} break;
case LNK_CmdSwitch_ErrorReport: {
// not supported -- ignore
} break;
case LNK_CmdSwitch_Export: {
PE_ExportParse export_parse = {0};
if (lnk_parse_export_directive_ex(config->arena, value_strings, obj, &export_parse)) {
+1 -1
View File
@@ -45,6 +45,7 @@ typedef enum
LNK_CmdSwitch_DynamicBase,
LNK_CmdSwitch_Dump,
LNK_CmdSwitch_Entry,
LNK_CmdSwitch_ErrorReport,
LNK_CmdSwitch_Export,
LNK_CmdSwitch_FastFail,
LNK_CmdSwitch_FileAlign,
@@ -101,7 +102,6 @@ typedef enum
LNK_CmdSwitch_DisallowLib,
LNK_CmdSwitch_EditAndContinue,
LNK_CmdSwitch_EmitVolatileMetadata,
LNK_CmdSwitch_ErrorReport,
LNK_CmdSwitch_ExportAdmin,
LNK_CmdSwitch_FastGenProfile,
LNK_CmdSwitch_FailIfMismatch,