aboutsummaryrefslogtreecommitdiffstats
path: root/src/options.adb
diff options
context:
space:
mode:
authorVicente Bergas <vicencb@users.noreply.github.com>2018-05-03 19:28:49 +0200
committertgingold <tgingold@users.noreply.github.com>2018-05-03 20:50:44 +0200
commit252a9169efef06b03061b58743be41e233a80ddb (patch)
tree2c06fc390c75c0c5f1e6b33755f08b5638a2ee90 /src/options.adb
parentb709733aa8df0671ff77bc57636702f8a6e00800 (diff)
downloadghdl-252a9169efef06b03061b58743be41e233a80ddb.tar.gz
ghdl-252a9169efef06b03061b58743be41e233a80ddb.tar.bz2
ghdl-252a9169efef06b03061b58743be41e233a80ddb.zip
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.
Diffstat (limited to 'src/options.adb')
-rw-r--r--src/options.adb4
1 files changed, 2 insertions, 2 deletions
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");