This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/25927] Spurious offsetof warnings with private members



------- Comment #6 from gdr at cs dot tamu dot edu  2006-01-23 22:36 -------
Subject: Re:  Spurious offsetof warnings with private members

"rcbilson at plg dot uwaterloo dot ca" <gcc-bugzilla@gcc.gnu.org> writes:

| ------- Comment #2 from rcbilson at plg dot uwaterloo dot ca  2006-01-23
18:28 -------
| (In reply to comment #1)
| > Hmm, is this a non POD?
| 
| Quoth the standard (9p4):
| "A POD-struct is an aggregate class
                      ^^^^^^^^

The keyword here is aggregate.  See definition in 8.5.1/1. 

class xxx is NOT a POD.

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25927


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]