diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-06 15:52:11 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-06 15:52:11 +0000 |
commit | 9b379e46d52a4abd030dc2d6b745b36e9a5b2913 (patch) | |
tree | df6ce9401647fcde37a1205382c2b1b7672eeba9 /gcc/cp/inc | |
parent | d1676939f56be2ce858e88b07c2717d83c501b4a (diff) | |
download | gcc-9b379e46d52a4abd030dc2d6b745b36e9a5b2913.tar.gz |
* rtti.c (ptmd_initializer): Set non-public, if class is
incomplete.
* inc/cxxabi.h (__dynamic_cast): Explicitly say extern "C++".
(__cxa_vec_new, __cxa_vec_ctor, __cxa_vec_dtor,
__cxa_vec_delete): Likewise.
* tinfo.cc (__dynamic_cast): Likewise.
* vec.cc (__cxa_vec_new, __cxa_vec_ctor, __cxa_vec_dtor,
__cxa_vec_delete): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33726 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/inc')
-rw-r--r-- | gcc/cp/inc/cxxabi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cp/inc/cxxabi.h b/gcc/cp/inc/cxxabi.h index b85624085e6..959d23fae81 100644 --- a/gcc/cp/inc/cxxabi.h +++ b/gcc/cp/inc/cxxabi.h @@ -394,6 +394,7 @@ protected: }; /* dynamic cast runtime */ +extern "C++" void *__dynamic_cast (const void *__src_ptr, /* object started from */ const __class_type_info *__src_type, /* static type of object */ const __class_type_info *__dst_type, /* desired target type */ @@ -409,6 +410,7 @@ void *__dynamic_cast (const void *__src_ptr, /* object started from */ /* array ctor/dtor routines */ /* allocate and construct array */ +extern "C++" void *__cxa_vec_new (size_t __element_count, size_t __element_size, size_t __padding_size, @@ -416,6 +418,7 @@ void *__cxa_vec_new (size_t __element_count, void (*__destructor) (void *)); /* construct array */ +extern "C++" void __cxa_vec_ctor (void *__array_address, size_t __element_count, size_t __element_size, @@ -423,12 +426,14 @@ void __cxa_vec_ctor (void *__array_address, void (*__destructor) (void *)); /* destruct array */ +extern "C++" void __cxa_vec_dtor (void *__array_address, size_t __element_count, size_t __element_size, void (*__destructor) (void *)); /* destruct and release array */ +extern "C++" void __cxa_vec_delete (void *__array_address, size_t __element_size, size_t __padding_size, |