Fix warning to not print "Warning" twice
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -356,8 +356,8 @@ int main(int Argc, char *Argv[]) {
|
||||
g->opt.level = 0;
|
||||
|
||||
if (outFileName == NULL && headerFileName == NULL)
|
||||
Warning(SourcePos(), "Warning: no output file or header file name "
|
||||
"specified. Program will be compiled and warnings/errors will "
|
||||
Warning(SourcePos(), "Nutput file or header file name specified. "
|
||||
"Program will be compiled and warnings/errors will "
|
||||
"be issued, but no output will be generated.");
|
||||
|
||||
return Module::CompileAndOutput(file, arch, cpu, target, generatePIC,
|
||||
|
||||
Reference in New Issue
Block a user