Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Dec 2001 21:04:43 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Mike Barcroft <mike@freebsd.org>, audit@freebsd.org, markm@freebsd.org, obrien@freebsd.org
Subject:   Re: Warns for tcopy and wc. 
Message-ID:   <200112052104.aa04006@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Thu, 06 Dec 2001 07:59:43 %2B1100." <20011206075514.Q12983-100000@gamplex.bde.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Drat - that doesn't actually help on the alpha 'cos intmax_t is
> > actually a long on the alpha. Maybe it would be reasonable to change
> > intmax_t to be a long long on the alpha?

> No.  intmax_t is a typedefed type since it is machine-dependent and
> possibly longer than long long.  Changing it to long long on all
> machine defeats the point of it.  There is a problem since gcc-2.x
> doesn't understand intmax_t.

Indeed - I was suggesting this as a patch to tie us over until we
have a gcc which understands intmax_t properly. All the same,
declaring intmax_t as long on a platform which has long long seems
perverse - as you point out it must be atleast as big as long long.

> Perhaps this gcc-3 understands it.  If
> it supports C99 then it should support %j already.

David O'Brien suggested that I look and see if anything needs to
be done for gcc-3. I'll try to do that tomorrow.

	David.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




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