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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a0d43ac4516d0597 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-09 07:31:38 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: volkert@nivoba.de (Volkert) Newsgroups: comp.lang.ada Subject: Re: Misleading Compiler Warning Date: 9 Feb 2003 07:31:38 -0800 Organization: http://groups.google.com/ Message-ID: References: <3E45C7D3.3020601@attbi.com> NNTP-Posting-Host: 194.230.237.101 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1044804698 21701 127.0.0.1 (9 Feb 2003 15:31:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 9 Feb 2003 15:31:38 GMT Xref: archiver1.google.com comp.lang.ada:33940 Date: 2003-02-09T15:31:38+00:00 List-Id: > Definitely not a bug, or the bug is not where you expect. You are > apparently compiling with integer range checking off. So the warning is > right, but of course, Constraint_Error will not be raised with these > compiler options. > > Try recompiling with -gnato > Enable numeric overflow checking (which is not normally enabled by default). We have send a bug report to ACT and they have confirmed that it is a bug. Volkert