This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Finally, A bug with Sizeof and cout << hex
- To: Dave Fox <vze2j8mb at verizon dot net>
- Subject: Re: Finally, A bug with Sizeof and cout << hex
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Fri, 2 Nov 2001 15:12:52 -0500
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <3BE2FC42.A157D64E@verizon.net>
On Fri, Nov 02, 2001 at 03:04:18PM -0500, Dave Fox wrote:
> I tried the gnatsweb but it wouldn't accept a guest login when I tried
> to submit a report. Anyways...
That could be a problem. Did you used guest/guest as the login/password?
What happened?
> if the line cout << hex .....
> is removed the last sizeof changes to 2048
hex 800 == dec 2048
What's the bug?
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams