wrong about offsetof()
Posted Mar 28, 2006 5:23 UTC (Tue) by JoeBuck
In reply to: Building the whole Debian archive with GCC 4.1: a summary
Parent article: Building the whole Debian archive with GCC 4.1: a summary
ISO C++, and GCC, allow offsetof() for C-style structs (PODs - plain old data types). It does not allow offsetof() for arbitrary C++ classes.
to post comments)