This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13275] [3.4 regression] Implementation of offsetof macro
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Dec 2003 02:51:44 -0000
- Subject: [Bug c++/13275] [3.4 regression] Implementation of offsetof macro
- References: <20031203003343.13275.jbrandmeyer@earthlink.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2003-12-03 02:51 -------
Subject: Re: [3.4 regression] Implementation of offsetof macro
"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| Confirmed. Nathan, want to give this one a shot as well since you
| already did the other one?
I think a long-term solution is to have GCC provide a built-in
operator __offsetof__ and implement The Right Semantics, instead of we
playing with evil macros and casts.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13275