From: Rico Tzschichholz Date: Fri, 19 Jan 2018 16:27:26 +0000 (+0100) Subject: compiler: Implicitly enable hide-internal with abi-stability X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fwip%2Fabi;p=thirdparty%2Fvala.git compiler: Implicitly enable hide-internal with abi-stability See https://gitlab.gnome.org/GNOME/vala/issues/598 --- 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) {