aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/translate/translation.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/vhdl/translate/translation.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/vhdl/translate/translation.adb')
-rw-r--r--src/vhdl/translate/translation.adb1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vhdl/translate/translation.adb b/src/vhdl/translate/translation.adb
index 6baaaa995..69b63abee 100644
--- a/src/vhdl/translate/translation.adb
+++ b/src/vhdl/translate/translation.adb
@@ -105,7 +105,6 @@ package body Translation is
function Translate_Foreign_Id (Decl : Iir) return Foreign_Info_Type
is
- use Name_Table;
-- Look for 'FOREIGN.
Attr : constant Iir_Attribute_Value :=
Sem_Specs.Find_Attribute_Value (Decl, Std_Names.Name_Foreign);