summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src/CLToolExec.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--command_line/CmdLine/Src/CLToolExec.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/command_line/CmdLine/Src/CLToolExec.c b/command_line/CmdLine/Src/CLToolExec.c
index cbd1a91..c268a55 100644
--- a/command_line/CmdLine/Src/CLToolExec.c
+++ b/command_line/CmdLine/Src/CLToolExec.c
@@ -125,7 +125,7 @@ int DeleteTemporaries(void) {
if ((file->objectUsage & CmdLineStageMask_Cg) && (file->tempOnDisk & CmdLineStageMask_Cg) && (file->wroteToDisk & CmdLineStageMask_Cg)) {
GetOutputFile(file, CmdLineStageMask_Cg);
if (optsCmdLine.verbose > 1)
- CLReport(19, OS_SpecToString(&file->outfss, STSbuf, sizeof(STSbuf)));
+ CLReport(CLStr19, OS_SpecToString(&file->outfss, STSbuf, sizeof(STSbuf)));
OS_Delete(&file->outfss);
file->tempOnDisk &= ~CmdLineStageMask_Cg;
file->wroteToDisk &= ~CmdLineStageMask_Cg;
@@ -190,13 +190,13 @@ int ExecuteLinker(Plugin *plugin, SInt32 dropinflags, File *file, char *stdoutfi
if (!OS_FindProgram(cname, &linkerspec)) {
ptr = cname;
if (optsCompiler.linkerName[0]) {
- CLReportWarning(66, linkertype, optsCompiler.linkerName);
- CLReport(65, ptr, clState.programName);
+ CLReportWarning(CLStr66, linkertype, optsCompiler.linkerName);
+ CLReport(CLStr65, ptr, clState.programName);
} else if (optsCmdLine.verbose) {
- CLReport(65, ptr, clState.programName);
+ CLReport(CLStr65, ptr, clState.programName);
}
} else {
- CLReportError(66, linkertype, linkername);
+ CLReportError(CLStr66, linkertype, linkername);
return 0;
}
}
@@ -221,15 +221,15 @@ int ExecuteLinker(Plugin *plugin, SInt32 dropinflags, File *file, char *stdoutfi
fflush(stderr);
if (optsCmdLine.verbose)
- CLReport(67, linkertype, OS_SpecToString(&linkerspec, STSbuf, sizeof(STSbuf)));
+ CLReport(CLStr67, linkertype, OS_SpecToString(&linkerspec, STSbuf, sizeof(STSbuf)));
if (!optsCmdLine.dryRun) {
execerr = OS_Execute(&linkerspec, args.argv, args.envp, stdoutfile, stderrfile, &exitcode);
if (execerr) {
- CLReportError(68, linkertype, args.argv[0], OS_GetErrText(execerr));
+ CLReportError(CLStr68, linkertype, args.argv[0], OS_GetErrText(execerr));
ret = 0;
} else if (exitcode) {
- CLReportError(69 /*nice*/, linkertype, args.argv[0], exitcode);
+ CLReportError(CLStr69, linkertype, args.argv[0], exitcode);
ret = 0;
}
}