From 252a9169efef06b03061b58743be41e233a80ddb Mon Sep 17 00:00:00 2001 From: Vicente Bergas Date: Thu, 3 May 2018 19:28:49 +0200 Subject: Fix warning: use clause for package has no effect With gcc 8.1 the following message appears: warning: use clause for package "*" has no effect gnatmake: "*.adb" compilation error This patch fixes it. --- src/options.adb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/options.adb') diff --git a/src/options.adb b/src/options.adb index 9622140c8..9c752da87 100644 --- a/src/options.adb +++ b/src/options.adb @@ -15,7 +15,7 @@ -- along with GHDL; see the file COPYING. If not, write to the Free -- Software Foundation, 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. -with Ada.Text_IO; use Ada.Text_IO; +with Ada.Text_IO; with Name_Table; with Errorout; use Errorout; with Libraries; @@ -236,7 +236,7 @@ package body Options is -- Disp help about these options. procedure Disp_Options_Help is - procedure P (S : String) renames Put_Line; + procedure P (S : String) renames Ada.Text_IO.Put_Line; begin P ("Main options:"); P (" --work=LIB use LIB as work library"); -- cgit v1.2.3