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: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2004 11:51:55 -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 falk at debian dot org 2004-05-01 11:51 -------
sizeof works for expressions, or for parenthized types. "(s_t.x)" is neither,
so it's not supposed to work.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15240