diff --git a/src/linker/lnk_config.c b/src/linker/lnk_config.c index c47d366c..49478ba9 100644 --- a/src/linker/lnk_config.c +++ b/src/linker/lnk_config.c @@ -40,6 +40,7 @@ global read_only LNK_CmdSwitch g_cmd_switch_map[] = { LNK_CmdSwitch_ErrorReport, 0, "ERRORREPORT", "", "Deprecated starting Windows Vista." }, { LNK_CmdSwitch_Export, 1, "EXPORT", ":SYMBOL", "" }, { LNK_CmdSwitch_NotImplemented, 0, "EXPORTADMIN", "", "" }, + { LNK_CmdSwitch_Experimental, 0, "EXPERIMENTAL", "Not supported." }, { LNK_CmdSwitch_FastFail, 0, "FASTFAIL", "", "Not used." }, { LNK_CmdSwitch_NotImplemented, 0, "FASTGENPROFILE", "", "" }, { LNK_CmdSwitch_FailIfMismatch, 1, "FAILIFMISMATCH", "", "" }, @@ -1350,6 +1351,10 @@ lnk_apply_cmd_option_to_config(LNK_Config *config, String8 cmd_name, String8List } } break; + case LNK_CmdSwitch_Experimental: { + // not supported + } break; + case LNK_CmdSwitch_FastFail: { // do nothing } break; diff --git a/src/linker/lnk_config.h b/src/linker/lnk_config.h index 3638ea29..e05a6ef2 100644 --- a/src/linker/lnk_config.h +++ b/src/linker/lnk_config.h @@ -48,6 +48,7 @@ typedef enum LNK_CmdSwitch_D2, LNK_CmdSwitch_Entry, LNK_CmdSwitch_ErrorReport, + LNK_CmdSwitch_Experimental, LNK_CmdSwitch_Export, LNK_CmdSwitch_FastFail, LNK_CmdSwitch_FileAlign,