Commit 702ba3bd authored by Florian Brosch's avatar Florian Brosch Committed by Luca Bruno

Warn if -o is used in combination with -C

parent 69b423b2
......@@ -201,6 +201,9 @@ class Vala.Compiler {
context.symbols_filename = symbols_filename;
context.includedir = includedir;
context.output = output;
if (output != null && ccode_only) {
Report.warning (null, "--output and -o have no effect when -C or --ccode is set");
}
if (basedir == null) {
context.basedir = CodeContext.realpath (".");
} else {
......
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