This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/12521] sizeof() wrong
- From: "fchen0000 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 27 Mar 2012 11:45:51 +0000
- Subject: [Bug gdb/12521] sizeof() wrong
- Auto-submitted: auto-generated
- References: <bug-12521-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12521
--- Comment #4 from fchen <fchen0000 at gmail dot com> 2012-03-27 11:45:51 UTC ---
sizeof() should return size_t not int. They are different.
>
> What is the output you are expecting? `sizeof (float)' is giving the right
> size of the `float' type.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.