From: | Volker Barthelmann |
Date: | 08 Dec 99 at 21:24:46 |
Subject: | Re: A little apology |
From: Volker Barthelmann <volker@vb.franken.de>
On Sun, 6 Jun 1999, Alastair M. Robinson wrote:
> I've been bitten by this kind of thing before, and I'm sure Tim won't be the
> last person.
Yes, it's a common error and mentioned in most books/FAQs on C. It often
happens with variables rather than constants, though.
> How difficult would it be to make VBCC flag some kind of
> warning if a constant is going to overflow like this?
A bit of work but probably not terribly difficult. I'll think about adding
it.
Volker