This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/15240] sizeof() doesn't work on struct fields
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2004 12:25:19 -0000
- Subject: [Bug c/15240] sizeof() doesn't work on struct fields
- References: <20040501113223.15240.d.yu.bolkhovityanov@inp.nsk.su>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From schwab at suse dot de 2004-05-01 12:25 -------
(In reply to comment #2)
> So, to paraphrase your answer, gcc does what the standard dictates,
Yes.
> and it's the C standard which is in fault, right?
No.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15240