[Bug c++/36549] offsetof defined as function in contravention of ISO/IEC 14882:1998 17.4.1.2 para 5
ajrobb at bigfoot dot com
gcc-bugzilla@gcc.gnu.org
Tue Jun 17 08:15:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list