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
b8b792ba
Kaydet (Commit)
b8b792ba
authored
Tem 23, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Related: boost#4127 strict-aliasing rules warning
Change-Id: I9b4f9009c29276054ff94a427adf51c2094377b5
üst
a1cb33ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
boost.4127.warnings.patch
boost/boost.4127.warnings.patch
+19
-0
makefile.mk
boost/makefile.mk
+2
-0
No files found.
boost/boost.4127.warnings.patch
0 → 100644
Dosyayı görüntüle @
b8b792ba
--- misc/boost_1_44_0/boost/smart_ptr/make_shared.hpp (revision 69250)
+++ misc/build/boost_1_44_0/boost/smart_ptr/make_shared.hpp (revision 69251)
@@ -50,5 +50,16 @@
if( initialized_ )
{
+#if defined( __GNUC__ )
+
+ // fixes incorrect aliasing warning
+ T * p = reinterpret_cast< T* >( storage_.data_ );
+ p->~T();
+
+#else
+
reinterpret_cast< T* >( storage_.data_ )->~T();
+
+#endif
+
initialized_ = false;
}
boost/makefile.mk
Dosyayı görüntüle @
b8b792ba
...
@@ -53,6 +53,8 @@ TARFILE_MD5=f02578f5218f217a9f20e9c30e119c6a
...
@@ -53,6 +53,8 @@ TARFILE_MD5=f02578f5218f217a9f20e9c30e119c6a
PATCH_FILES
=
$(TARFILE_NAME)
.patch
PATCH_FILES
=
$(TARFILE_NAME)
.patch
#https://svn.boost.org/trac/boost/ticket/3780
#https://svn.boost.org/trac/boost/ticket/3780
PATCH_FILES
+=
boost.3780.aliasing.patch
PATCH_FILES
+=
boost.3780.aliasing.patch
#https://svn.boost.org/trac/boost/ticket/4127
PATCH_FILES
+=
boost.4127.warnings.patch
#https://svn.boost.org/trac/boost/ticket/4713
#https://svn.boost.org/trac/boost/ticket/4713
PATCH_FILES
+=
boost.4713.warnings.patch
PATCH_FILES
+=
boost.4713.warnings.patch
#https://svn.boost.org/trac/boost/ticket/5119
#https://svn.boost.org/trac/boost/ticket/5119
...
...
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