From 54bb1363a26b6a52cf1a8ecf1f16f76e9920956f Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 11 Jan 2023 23:26:04 +0000 Subject: get it to compile with clang --- command_line/CmdLine/Src/CLToolExec.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'command_line/CmdLine/Src/CLToolExec.c') diff --git a/command_line/CmdLine/Src/CLToolExec.c b/command_line/CmdLine/Src/CLToolExec.c index 9bc4213..cbd1a91 100644 --- a/command_line/CmdLine/Src/CLToolExec.c +++ b/command_line/CmdLine/Src/CLToolExec.c @@ -46,8 +46,7 @@ static int SetupLinkerCommandLine(SInt32 dropinflags, File *file, CWCommandLineA break; } -#line 89 - OPTION_ASSERT(x < numPlugins); + OS_ASSERT(89, x < numPlugins); args->argc = 1; args->argv = xmalloc("command-line arguments", 2 * sizeof(char *)); @@ -150,8 +149,7 @@ int ExecuteLinker(Plugin *plugin, SInt32 dropinflags, File *file, char *stdoutfi int x; // TODO rename this flag to isExecutableTool -#line 269 - OPTION_ASSERT(dropinflags & dropInExecutableTool); + OS_ASSERT(269, dropinflags & dropInExecutableTool); args.argc = 0; args.argv = args.envp = NULL; -- cgit v1.2.3