[v3] cxxabi.h vs. unwind-cxx.h

Benjamin Kosnik bkoz@redhat.com
Fri Oct 7 06:55:00 GMT 2011


In 49818, it's pointed out that none of the EH routines required by
chapter four of the C++ ABI docs are in cxxabi.h. Instead, they are in
unwind-cxx.h. Along with other, GNU-specific implementation items.

Note that the function definitions have always been exported from
the libsupc++/libstdc++ binary. But the declarations have not been in
the required header. 

This conundrum is now fixed with the following patch, which more
cleanly divides the C++ ABI standard from the GNU implementation.
Forward declarations and pointers, solid friends always.

tested x86_64/linux

-benjamin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20111006-2.patch
Type: text/x-patch
Size: 10068 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111007/31f727dc/attachment.bin>


More information about the Gcc-patches mailing list