diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2000-08-09 09:57:55 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2000-08-09 09:57:55 +0000 |
commit | 7e8dad182700d23558d74de4d1461379d9ed6124 (patch) | |
tree | 0b6e6bc230ef4ae30574d192950e97f879cf3428 /gcc/cp/inc | |
parent | 68c9819964ede72d8d57c47877825a1dce358486 (diff) | |
download | gcc-7e8dad182700d23558d74de4d1461379d9ed6124.zip gcc-7e8dad182700d23558d74de4d1461379d9ed6124.tar.gz gcc-7e8dad182700d23558d74de4d1461379d9ed6124.tar.bz2 |
rtti.c (build_dynamic_cast_1): Set "C" linkage for new abi runtime.
* rtti.c (build_dynamic_cast_1): Set "C" linkage for new abi
runtime.
* cp/tinfo.cc (__dynamic_cast): Likewise.
* cp/inc/cxxabi.h (__dynamic_cast): Likewise.
From-SVN: r35588
Diffstat (limited to 'gcc/cp/inc')
-rw-r--r-- | gcc/cp/inc/cxxabi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/inc/cxxabi.h b/gcc/cp/inc/cxxabi.h index 6e64553..2587e85 100644 --- a/gcc/cp/inc/cxxabi.h +++ b/gcc/cp/inc/cxxabi.h @@ -414,7 +414,7 @@ protected: }; /* dynamic cast runtime */ -extern "C++" +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 */ |