Date: Tue, 08 Aug 2000 22:25:19 -0400 From: Laurence Berland <stuyman@confusion.net> To: hackers@freebsd.org Subject: God I feel stupid (gcc issue) Message-ID: <3990C10F.B21AEF92@confusion.net>
next in thread | raw e-mail | index | archive | help
I've been going through the PR database, thinking maybe it was my turn
to do something for FreeBSD. I looked at pr bin/2036. Problem? long
isn't big enough to count all the bytes we could hold. So I look in the
code and find
/* Total number of bytes read and written for all files.
Now that many tape drives hold more than 4Gb we need more than 32
bits to hold input_bytes and output_bytes. But it's not worth
the trouble of adding special multi-precision arithmetic if the
compiler doesn't support 64 bit ints since input_bytes and
output_bytes are only used to print the number of blocks copied. */
#ifdef __GNUC__
long long input_bytes, output_bytes;
#else
long input_bytes, output_bytes;
#endif
in global.c
So I thought, "we don't define __GNUC__?" I figured I'd check. After
much mind wracking, I can't for the life of me figure out how to get gcc
to output a list of what is and isnt defined by default... help!
--
Laurence Berland
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Windows 98: n.
useless extension to a minor patch release for
32-bit extensions and a graphical shell for a
16-bit patch to an 8-bit operating system
originally coded for a 4-bit microprocessor,
written by a 2-bit company that can't stand for
1 bit of competition.
http://stuy.debate.net
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?3990C10F.B21AEF92>
