[cxx-abi-dev] What is a POD? TC1 or first C++ Standard
Gabriel Dos Reis
gdr at cs.tamu.edu
Fri Sep 24 04:27:01 UTC 2004
Mark Mitchell <mark at codesourcery.com> writes:
| Dennis Handly wrote:
|
| >We just noticed that the definition of a POD has change in TC1.
| >The Original Standard disallowed pointers to members in PODs.
| >
| Ugh. I knew about that, but I hadn't thought to think about how it
| affects the ABI.
|
| G++ 3.3 and 3.4 use the TC1 POD definition, so from the GNU point of
| view, that's what we'd want. GCC is not going to change back to the
| pre-TC1 defintion, even for return values, in any GCC 4.0, since that
| would break compatibility with 3.4. We probably wouldn't change back
| to the pre-TC1 definition in any release until we had a compelling
| need to break the ABI for something else, even if the ABI were
| clarified to require the TC-1 definition.
And it would appear to users very counter-intuitive and confusing if
pointer-to-members were treated very differently from other PODs.
-- Gaby
More information about the cxx-abi-dev
mailing list