This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Finally, A bug with Sizeof and cout << hex


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]