[cxx-abi-dev] What is a POD? TC1 or first C++ Standard

Dennis Handly dhandly at cup.hp.com
Fri Sep 24 04:14:29 UTC 2004


>From: Mark Mitchell <mark at codesourcery.com>
>Ugh.  I knew about that, but I hadn't thought to think about how it 
>affects the ABI.

Me too.  I have it written red ink in my Standard.

>GCC is not going to change back to the pre-TC1 definition, even for
>return values

What do you mean by "return values"?  I said it only affects layout.
I first thought it also affects them but 3.1.4 Return Values, says nothing
about PODs.

>Is there anyone out there shipping compilers with the pre-TC1 
>definition for the return value?  What does aCC do?
Mark Mitchell

We use the pre-TC1 for layout for aCC5.  For aCC6 (EDG) it currently uses
the TC1 definition.

For return values, we don't use the rule in 3.1.4 Return Values, we use PODs
for compatibility with aCC5.  And again aCC6 currently uses the TC1
definition for POD.

We're just beginning to find all of these incompatibilities due to a
bug report from RW on new FOO().



More information about the cxx-abi-dev mailing list