From ae0b49dd52a354b2a37408641d7247fe9e7ef164 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 27 Aug 2016 11:09:47 +0200 Subject: Display a nice message if std_logic_textio is not found. --- src/vhdl/sem_names.adb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/vhdl') diff --git a/src/vhdl/sem_names.adb b/src/vhdl/sem_names.adb index 6c25b812c..9290ae6e2 100644 --- a/src/vhdl/sem_names.adb +++ b/src/vhdl/sem_names.adb @@ -1897,6 +1897,10 @@ package body Sem_Names is Error_Msg_Sem (+Name, " (use --ieee=synopsys for non-standard synopsys packages)"); + elsif Suffix = Name_Std_Logic_Textio then + Error_Msg_Sem + (+Name, " (use --ieee=synopsys or --std=08 for " + & "this non-standard synopsys package)"); end if; end if; end Error_Unit_Not_Found; -- cgit v1.2.3