summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-01-19 17:27:26 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2018-07-12 09:26:20 +0200
commit0b0367ef7b0ed0c6e0fd991f0644c40d59b40df1 (patch)
tree6acc95d05cf7a7be87520a7238e604a924724a2b
parent05a160cecacf8ce6d78e1ef4c63a35762e1fa815 (diff)
downloadvala-wip/abi.tar.gz
compiler: Implicitly enable hide-internal with abi-stabilitywip/abi
See https://gitlab.gnome.org/GNOME/vala/issues/598
-rw-r--r--compiler/valacompiler.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala
index c2f73c17e..7fa139c62 100644
--- a/compiler/valacompiler.vala
+++ b/compiler/valacompiler.vala
@@ -239,6 +239,9 @@ class Vala.Compiler {
Report.warning (null, "-X has no effect when -C or --ccode is set");
}
context.abi_stability = abi_stability;
+ if (abi_stability) {
+ context.hide_internal = true;
+ }
context.compile_only = compile_only;
context.header_filename = header_filename;
if (header_filename == null && use_header) {