Commit 6f5b40ff authored by Rico Tzschichholz's avatar Rico Tzschichholz

compiler: Warn if --gir is used without --library
parent 5d895751
......@@ -468,6 +468,11 @@ class Vala.Compiler {
library = null;
} else {
if (gir != null) {
Report.warning (null, "--gir has no effect without --library");
gir = null;
// The GIRWriter places the gir_namespace and gir_version into the top namespace, so write the vapi after that stage
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