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
31c4ac62
Kaydet (Commit)
31c4ac62
authored
Tem 23, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ah, dos format breaks some patches
Change-Id: Id99429366485924ff35da63ebde1b5df11419d58
üst
e7ffa3e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
boost.4127.warnings.patch
boost/boost.4127.warnings.patch
+21
-21
No files found.
boost/boost.4127.warnings.patch
Dosyayı görüntüle @
31c4ac62
--- misc/boost_1_44_0/boost/smart_ptr/make_shared.hpp
(revision 69250)
--- misc/boost_1_44_0/boost/smart_ptr/make_shared.hpp
+++ misc/build/boost_1_44_0/boost/smart_ptr/make_shared.hpp
(revision 69251)
+++ misc/build/boost_1_44_0/boost/smart_ptr/make_shared.hpp
@@ -49,7 +49,18 @@
@@ -49,7 +49,18 @@
{
{
if( initialized_ )
if( initialized_ )
{
{
+#if defined( __GNUC__ )
+#if defined( __GNUC__ )
+
+
+ // fixes incorrect aliasing warning
+ // fixes incorrect aliasing warning
+ T * p = reinterpret_cast< T* >( storage_.data_ );
+ T * p = reinterpret_cast< T* >( storage_.data_ );
+ p->~T();
+ p->~T();
+
+
+#else
+#else
+
+
reinterpret_cast< T* >( storage_.data_ )->~T();
reinterpret_cast< T* >( storage_.data_ )->~T();
+
+
+#endif
+#endif
+
+
initialized_ = false;
initialized_ = false;
}
}
}
}
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