This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36549] offsetof defined as function in contravention of ISO/IEC 14882:1998 17.4.1.2 para 5
- From: "ajrobb at bigfoot dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jun 2008 08:15:03 -0000
- Subject: [Bug c++/36549] offsetof defined as function in contravention of ISO/IEC 14882:1998 17.4.1.2 para 5
- References: <bug-36549-8690@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from ajrobb at bigfoot dot com 2008-06-17 08:15 -------
While I am not convinced that offsetof isn't effectively being implemented as a
function (OK it is defined as a function call and not a function reference), I
accept that we cannot use variable array indexing, so "rejects-legal" class is
wrong. Thank you.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36549