Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
fa09866c
Kaydet (Commit)
fa09866c
authored
Mar 30, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Adapt cpp_uno/gcc3_linux_x86-64 to GCC 4.7 cxxabi.h
...the same way cpp_uno/mingw_intel was already adapted.
üst
3cf66a89
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
8 deletions
+24
-8
except.cxx
bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
+8
-1
share.hxx
bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx
+15
-6
uno2cpp.cxx
bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
+1
-1
No files found.
bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
Dosyayı görüntüle @
fa09866c
...
...
@@ -30,7 +30,12 @@
#include <stdio.h>
#include <string.h>
#include <dlfcn.h>
#include <cxxabi.h>
#ifndef _GLIBCXX_CDTOR_CALLABI // new in GCC 4.7 cxxabi.h
#define _GLIBCXX_CDTOR_CALLABI
#endif
#include <boost/unordered_map.hpp>
#include <rtl/instance.hxx>
...
...
@@ -213,7 +218,8 @@ type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THR
struct
RTTISingleton
:
public
rtl
::
Static
<
RTTI
,
RTTISingleton
>
{};
//--------------------------------------------------------------------------------------------------
static
void
deleteException
(
void
*
pExc
)
extern
"C"
{
static
void
_GLIBCXX_CDTOR_CALLABI
deleteException
(
void
*
pExc
)
{
__cxa_exception
const
*
header
=
((
__cxa_exception
const
*
)
pExc
-
1
);
typelib_TypeDescription
*
pTD
=
0
;
...
...
@@ -226,6 +232,7 @@ static void deleteException( void * pExc )
::
typelib_typedescription_release
(
pTD
);
}
}
}
//==================================================================================================
void
raiseException
(
uno_Any
*
pUnoExc
,
uno_Mapping
*
pUno2Cpp
)
...
...
bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx
Dosyayı görüntüle @
fa09866c
...
...
@@ -66,17 +66,26 @@ struct __cxa_exception
_Unwind_Exception
unwindHeader
;
};
extern
"C"
void
*
__cxa_allocate_exception
(
std
::
size_t
thrown_size
)
throw
();
extern
"C"
void
__cxa_throw
(
void
*
thrown_exception
,
std
::
type_info
*
tinfo
,
void
(
*
dest
)
(
void
*
)
)
__attribute__
((
noreturn
));
struct
__cxa_eh_globals
{
__cxa_exception
*
caughtExceptions
;
unsigned
int
uncaughtExceptions
;
};
extern
"C"
__cxa_eh_globals
*
__cxa_get_globals
()
throw
();
}
extern
"C"
CPPU_CURRENT_NAMESPACE
::
__cxa_eh_globals
*
__cxa_get_globals
()
throw
();
// The following are in cxxabi.h since GCC 4.7:
#if __GNUC__ == 4 && __GNUC_MINOR__ <= 6
extern
"C"
void
*
__cxa_allocate_exception
(
std
::
size_t
thrown_size
)
throw
();
extern
"C"
void
__cxa_throw
(
void
*
thrown_exception
,
void
*
tinfo
,
void
(
*
dest
)
(
void
*
)
)
__attribute__
((
noreturn
));
#endif
namespace
CPPU_CURRENT_NAMESPACE
{
// -----
...
...
bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
Dosyayı görüntüle @
fa09866c
...
...
@@ -300,7 +300,7 @@ static void cpp_call(
catch
(...)
{
// fill uno exception
fillUnoException
(
CPPU_CURRENT_NAMESPACE
::
__cxa_get_globals
()
->
caughtExceptions
,
*
ppUnoExc
,
pThis
->
getBridge
()
->
getCpp2Uno
()
);
fillUnoException
(
__cxa_get_globals
()
->
caughtExceptions
,
*
ppUnoExc
,
pThis
->
getBridge
()
->
getCpp2Uno
()
);
// temporary params
for
(
;
nTempIndizes
--
;
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment