Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2004 14:45:25 +0000
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        Pete French <petefrench@ticketswitch.com>
Cc:        petefrench@ticketswitch.com
Subject:   Re: Will there be a 5.3.1?
Message-ID:  <20041222144525.7eb860fb.steve@sohara.org>
In-Reply-To: <E1Ch7QQ-000GlO-MB@dilbert.firstcallgroup.co.uk>
References:  <20041222141450.GA51987@falcon.midgard.homeip.net> <E1Ch7QQ-000GlO-MB@dilbert.firstcallgroup.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Dec 2004 14:25:14 +0000
Pete French <petefrench@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041222144525.7eb860fb.steve>