Will there be a 5.3.1?
Steve O'Hara-Smith
steve at sohara.org
Wed Dec 22 06:44:29 PST 2004
On Wed, 22 Dec 2004 14:25:14 +0000
Pete French <petefrench at ticketswitch.com> wrote:
> > The type of a decimal integer constant without any suffix is the first
> > of 'int', 'long', 'long long' in which the constant can be represented.
>
> It is ? Well, you learn something new every day I guess! I stand
> corrected in that case. Appologies.
>
> > (For C89 it was the first of 'int', 'long', 'unsigned long')
>
> ...and before that ? Did this behaviour change at the end of the 80's - I
> don't actually recall seeing it on any compilers after 88 or so I have
> to admit.
Getting -1 is a bug even in K&R C, unless long is 16 bits :)
--
C:>WIN | Directable Mirror Arrays
The computer obeys and wins. | A better way to focus the sun
You lose and Bill collects. | licences available see
| http://www.sohara.org/
More information about the freebsd-stable
mailing list