This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13529] [3.4 regression] offsetof() with member-designator containing member access broken
- From: "dbaron at dbaron dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Dec 2003 03:33:04 -0000
- Subject: [Bug c++/13529] [3.4 regression] offsetof() with member-designator containing member access broken
- References: <20031231032448.13529.dbaron@dbaron.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dbaron at dbaron dot org 2003-12-31 03:33 -------
I should be a little clearer. The bug is that attachment 5384 fails to compile
with the error:
/usr/local/gcc-3.4-20031231/bin/g++ offsetof.cpp
offsetof.cpp: In function `int main()':
offsetof.cpp:9: error: `.' cannot appear in a constant-expression
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13529