From: Christoph Grein <christoph.grein@eurocopter.com>
Subject: Re: GNAT Constraint Catching
Date: Mon, 15 Apr 2002 10:17:22 +0200 (MET DST)
Date: 2002-04-15T10:17:22+02:00 [thread overview]
Message-ID: <mailman.1018858742.32594.comp.lang.ada@ada.eu.org> (raw)
> From: Matthew Baulch <matt@greenroom.com.au>
>
> Hi,
>
> I've just switched compilers to GNAT which i have been
> very impressed with, all except for one minor issue. Instead
> of catching an integer constraint error and executing my error handling
> code, it appears to overflow starting back at the lowest possible value.
>
> Any ideas?
>
> thanks
See the Gnat documentation. In standard mode, integer overflow checking is
switched off. You have to use a certain compiler switch to switch it on:
-gnato
next reply other threads:[~2002-04-15 8:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-15 8:17 Christoph Grein [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-04-15 8:06 GNAT Constraint Catching Matthew Baulch
2002-04-15 8:37 ` David C. Hoos, Sr.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox