aboutsummaryrefslogtreecommitdiffstats
path: root/translate/grt/grt-errors.adb
diff options
context:
space:
mode:
authorgingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2008-08-30 13:30:19 +0000
committergingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2008-08-30 13:30:19 +0000
commitcd9300765e7e3fd43e450777e98a778146f700c2 (patch)
treef013fea17ae4eee9c1649e63b99b9bfe377fafb4 /translate/grt/grt-errors.adb
parent4b6571671497ecc1f846bfa49678254e14511fc9 (diff)
downloadghdl-cd9300765e7e3fd43e450777e98a778146f700c2.tar.gz
ghdl-cd9300765e7e3fd43e450777e98a778146f700c2.tar.bz2
ghdl-cd9300765e7e3fd43e450777e98a778146f700c2.zip
Switch to gcc 4.3
Don't use tagged types in grt (not supported by recent versions of GNAT) Fix warnings
Diffstat (limited to 'translate/grt/grt-errors.adb')
-rw-r--r--translate/grt/grt-errors.adb5
1 files changed, 2 insertions, 3 deletions
diff --git a/translate/grt/grt-errors.adb b/translate/grt/grt-errors.adb
index 627316119..5b541af1e 100644
--- a/translate/grt/grt-errors.adb
+++ b/translate/grt/grt-errors.adb
@@ -17,7 +17,6 @@
-- 02111-1307, USA.
with Grt.Stdio; use Grt.Stdio;
with Grt.Astdio; use Grt.Astdio;
-with Grt.Types; use Grt.Types;
with Grt.Options; use Grt.Options;
package body Grt.Errors is
@@ -106,7 +105,7 @@ package body Grt.Errors is
procedure Report_C (Str : Ghdl_C_String)
is
- Len : Natural := strlen (Str);
+ Len : constant Natural := strlen (Str);
begin
Put_Err (Str (1 .. Len));
end Report_C;
@@ -154,7 +153,7 @@ package body Grt.Errors is
procedure Error_C (Str : Ghdl_C_String)
is
- Len : Natural := strlen (Str);
+ Len : constant Natural := strlen (Str);
begin
if not Cont then
Error_H;