comp.lang.ada
 help / color / mirror / Atom feed
From: "Manuel G. R." <mgrojo@ya.com>
Subject: Re: GNAT won't link on "warning"
Date: Sun, 28 Nov 2004 20:37:15 +0100
Date: 2004-11-28T20:37:15+01:00	[thread overview]
Message-ID: <coftui$6q9$1@news.ya.com> (raw)
In-Reply-To: <3664370.5jO7nDmgDP@linux1.krischik.com>

Martin Krischik wrote:
  > When I compile the demo I get:
> 
> convert_checked.adb:12:40: value not in range of type "Byte" defined at line
> 6
> convert_checked.adb:12:40: static expression raises "Constraint_Error"
> 

GNAT tags by default all the warnings with the string "warning:" so you 
can recognize the errors for its lack of this tag. Alternatively you can 
use -gnatU with gnatmake and gcc:

`-gnatU'
      Tag all error messages with the unique string "error:"



  reply	other threads:[~2004-11-28 19:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-29  9:45 GNAT won't link on "warning" Martin Krischik
2004-11-28 19:37 ` Manuel G. R. [this message]
2004-11-29 12:37 ` David C. Hoos, Sr.
2004-11-29 16:52   ` Martin Krischik
2004-11-29 15:42 ` Sandro Magi
2004-11-30 19:38 ` Adam Beneschan
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox