diff options
Diffstat (limited to 'compiler/valacompiler.vala')
-rw-r--r-- | compiler/valacompiler.vala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala index fe0fdb9ae..3c008d30c 100644 --- a/compiler/valacompiler.vala +++ b/compiler/valacompiler.vala @@ -70,6 +70,7 @@ class Vala.Compiler { static bool experimental; static bool experimental_non_null; static bool gobject_tracing; + static bool disable_since_check; static bool disable_warnings; static string cc_command; [CCode (array_length = false, array_null_terminated = true)] @@ -133,6 +134,7 @@ class Vala.Compiler { { "enable-experimental", 0, 0, OptionArg.NONE, ref experimental, "Enable experimental features", null }, { "disable-warnings", 0, 0, OptionArg.NONE, ref disable_warnings, "Disable warnings", null }, { "fatal-warnings", 0, 0, OptionArg.NONE, ref fatal_warnings, "Treat warnings as fatal", null }, + { "disable-since-check", 0, 0, OptionArg.NONE, ref disable_since_check, "Do not check whether used symbols exist in local packages", null }, { "enable-experimental-non-null", 0, 0, OptionArg.NONE, ref experimental_non_null, "Enable experimental enhancements for non-null types", null }, { "enable-gobject-tracing", 0, 0, OptionArg.NONE, ref gobject_tracing, "Enable GObject creation tracing", null }, { "cc", 0, 0, OptionArg.STRING, ref cc_command, "Use COMMAND as C compiler command", "COMMAND" }, @@ -197,6 +199,7 @@ class Vala.Compiler { context.assert = !disable_assert; context.checking = enable_checking; context.deprecated = deprecated; + context.since_check = !disable_since_check; context.hide_internal = hide_internal; context.experimental = experimental; context.experimental_non_null = experimental_non_null; |