Date: Thu, 26 Feb 1998 09:48:34 +1100 (EST) From: John Birrell <jb@cimlogic.com.au> To: mellon@pobox.com (Anatoly Vorobey) Cc: hackers@FreeBSD.ORG Subject: Re: RE: New utilities: factor(1) and wid(1)? Message-ID: <199802252248.JAA00900@cimlogic.com.au> In-Reply-To: <19980226002846.05689@techunix.technion.ac.il> from Anatoly Vorobey at "Feb 26, 98 00:28:46 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Anatoly Vorobey wrote: > P.S. What's the "politically correct" way to specify a long long > in FreeBSD: 'long long'? 'int64_t'? 'quad_t'? long long, IMO. There is nothing to say how many bytes in a 'long long'. If you are explicitly coding to a 64-bit value, then use int64_t so that the arch specific headers will DTRT. I'd be included to stay away from quad_t. For instance, printf formats that use %q need a long long, not a quad_t. I'm having to fix things like this to get the FreeBSD source to work on alpha. FWIW, gcc 2.7.2.2 on alpha has sizeof(long) = sizeof(long long) = 8. -- John Birrell - jb@cimlogic.com.au; jb@netbsd.org; jb@freebsd.org CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802252248.JAA00900>