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
f182354c
Kaydet (Commit)
f182354c
authored
Eyl 30, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Work around deprecated auto_ptr warnings on Clang/GCC
Change-Id: I1235727c5691a828f44837e8eca62acf57efca70
üst
6aadc284
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
92 additions
and
0 deletions
+92
-0
UnpackedTarball_boost.mk
boost/UnpackedTarball_boost.mk
+1
-0
boost.wdeprecated-auto_ptr.patch.0
boost/boost.wdeprecated-auto_ptr.patch.0
+91
-0
No files found.
boost/UnpackedTarball_boost.mk
Dosyayı görüntüle @
f182354c
...
@@ -46,6 +46,7 @@ boost_patches += boost.wunused.patch
...
@@ -46,6 +46,7 @@ boost_patches += boost.wunused.patch
boost_patches += boost.wshadow.patch
boost_patches += boost.wshadow.patch
boost_patches += boost.wdeprecated-register.patch.0
boost_patches += boost.wdeprecated-register.patch.0
boost_patches += boost.wuninitialized.patch
boost_patches += boost.wuninitialized.patch
boost_patches += boost.wdeprecated-auto_ptr.patch.0
$(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))
$(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))
...
...
boost/boost.wdeprecated-auto_ptr.patch.0
0 → 100644
Dosyayı görüntüle @
f182354c
--- boost/ptr_container/ptr_map.hpp
+++ boost/ptr_container/ptr_map.hpp
@@ -16,6 +16,10 @@
# pragma once
#endif
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <map>
#include <boost/ptr_container/ptr_map_adapter.hpp>
--- boost/ptr_container/ptr_map_adapter.hpp
+++ boost/ptr_container/ptr_map_adapter.hpp
@@ -16,6 +16,10 @@
# pragma once
#endif
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <boost/ptr_container/detail/map_iterator.hpp>
#include <boost/ptr_container/detail/associative_ptr_container.hpp>
#include <boost/ptr_container/detail/meta_functions.hpp>
--- boost/ptr_container/ptr_set_adapter.hpp
+++ boost/ptr_container/ptr_set_adapter.hpp
@@ -16,6 +16,10 @@
# pragma once
#endif
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <boost/ptr_container/detail/associative_ptr_container.hpp>
#include <boost/ptr_container/detail/meta_functions.hpp>
#include <boost/ptr_container/detail/void_ptr_iterator.hpp>
--- boost/ptr_container/ptr_vector.hpp
+++ boost/ptr_container/ptr_vector.hpp
@@ -16,6 +16,10 @@
# pragma once
#endif
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <vector>
#include <boost/ptr_container/ptr_sequence_adapter.hpp>
--- boost/smart_ptr/detail/shared_count.hpp
+++ boost/smart_ptr/detail/shared_count.hpp
@@ -18,6 +18,10 @@
// http://www.boost.org/LICENSE_1_0.txt)
//
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#ifdef __BORLANDC__
# pragma warn -8027 // Functions containing try are not expanded inline
#endif
--- boost/smart_ptr/scoped_ptr.hpp
+++ boost/smart_ptr/scoped_ptr.hpp
@@ -11,6 +11,10 @@
// http://www.boost.org/libs/smart_ptr/scoped_ptr.htm
//
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <boost/config.hpp>
#include <boost/assert.hpp>
#include <boost/checked_delete.hpp>
--- boost/smart_ptr/shared_ptr.hpp
+++ boost/smart_ptr/shared_ptr.hpp
@@ -14,6 +14,10 @@
// See http://www.boost.org/libs/smart_ptr/shared_ptr.htm for documentation.
//
+#if defined __GNUC__
+#pragma GCC system_header
+#endif
+
#include <boost/config.hpp> // for broken compiler workarounds
#if defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(BOOST_MSVC6_MEMBER_TEMPLATES)
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