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
146bd125
Kaydet (Commit)
146bd125
authored
Ara 18, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Work around a Clang trunk (towards 3.6) -Werror,-Wunused-value
Change-Id: I3ee32c5bd379bb851f8f255faa93d96227dcff84
üst
93ce2d8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
debug.cxx
tools/source/debug/debug.cxx
+13
-0
No files found.
tools/source/debug/debug.cxx
Dosyayı görüntüle @
146bd125
...
...
@@ -324,7 +324,20 @@ TOOLS_DLLPUBLIC void DbgUnhandledException(const css::uno::Any & caught, const c
}
if
(
exception
.
Context
.
is
()
)
{
#if defined __clang__
#if __has_warning("-Wunused-value")
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-value"
// "expression with side effects will be evaluated despite being used as an
// operand to 'typeid'"
#endif
#endif
const
char
*
pContext
=
typeid
(
*
exception
.
Context
.
get
()
).
name
();
#if defined __clang__
#if __has_warning("-Wunused-value")
#pragma GCC diagnostic pop
#endif
#endif
sMessage
+=
"
\n
context: "
;
sMessage
+=
pContext
;
}
...
...
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