wrong about offsetof()
Posted Mar 28, 2006 5:23 UTC (Tue) by
JoeBuck (subscriber, #2330)
In reply to:
Building the whole Debian archive with GCC 4.1: a summary by butlerm
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.
(
Log in to post comments)