Commit fa0d5369 by Jim Wilson

(process_command): Don't warn for -x after last input file

if spec_lang is zero.

From-SVN: r5288
parent 431a6eca
......@@ -2562,7 +2562,7 @@ process_command (argc, argv)
}
}
if (n_infiles == last_language_n_infiles)
if (n_infiles == last_language_n_infiles && spec_lang != 0)
error ("Warning: `-x %s' after last input file has no effect", spec_lang);
switches[n_switches].part1 = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment