This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/12521] sizeof() wrong


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.


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