From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2317a992e7241939 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!in.100proofnews.com!in.100proofnews.com!nsnmrro1-lo.nuria.telefonica-data.net!nsnmpen1-lo.nuria.telefonica-data.net!news.ya.com!yacom!not-for-mail From: "Manuel G. R." Newsgroups: comp.lang.ada Subject: Re: GNAT won't link on "warning" Date: Sun, 28 Nov 2004 20:37:15 +0100 Organization: ya.com internet factory Message-ID: References: <3664370.5jO7nDmgDP@linux1.krischik.com> NNTP-Posting-Host: 62-151-40-91.yaonline.ya.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.ya.com 1101757202 6985 62.151.40.91 (29 Nov 2004 19:40:02 GMT) X-Complaints-To: newsmaster@ya.com NNTP-Posting-Date: Mon, 29 Nov 2004 19:40:02 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 X-Accept-Language: es-es, es, en-us, en In-Reply-To: <3664370.5jO7nDmgDP@linux1.krischik.com> Xref: g2news1.google.com comp.lang.ada:6649 Date: 2004-11-28T20:37:15+01:00 List-Id: 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:"