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
92969eaa
Kaydet (Commit)
92969eaa
authored
Ock 19, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
external/boost: silence some GCC 6 warnings
Change-Id: I4613f013c39e439dd11d3abc3737511cb8788d4f
üst
4a5dda08
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
0 deletions
+52
-0
UnpackedTarball_boost.mk
external/boost/UnpackedTarball_boost.mk
+1
-0
gcc6-warnings.patch.0
external/boost/gcc6-warnings.patch.0
+51
-0
No files found.
external/boost/UnpackedTarball_boost.mk
Dosyayı görüntüle @
92969eaa
...
@@ -86,6 +86,7 @@ boost_patches += boost_1_59_0.multi_array.wshadow.patch
...
@@ -86,6 +86,7 @@ boost_patches += boost_1_59_0.multi_array.wshadow.patch
boost_patches += boost_1_59_0.property_tree.wreturn-type.patch
boost_patches += boost_1_59_0.property_tree.wreturn-type.patch
boost_patches += clang-cl.patch.0
boost_patches += clang-cl.patch.0
boost_patches += gcc6-warnings.patch.0
$(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))
$(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))
...
...
external/boost/gcc6-warnings.patch.0
0 → 100644
Dosyayı görüntüle @
92969eaa
--- boost/function/function_base.hpp
+++ boost/function/function_base.hpp
@@ -305,7 +305,14 @@
if (op == clone_functor_tag || op == move_functor_tag) {
const functor_type* in_functor =
static_cast<const functor_type*>(static_cast<void*>(&in_buffer.data));
+#if defined __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wplacement-new"
+#endif
new (reinterpret_cast<void*>(&out_buffer.data)) functor_type(*in_functor);
+#if defined __GNUC__
+#pragma GCC diagnostic pop
+#endif
if (op == move_functor_tag) {
functor_type* f = static_cast<functor_type*>(static_cast<void*>(&in_buffer.data));
--- boost/function/function_template.hpp
+++ boost/function/function_template.hpp
@@ -569,7 +569,14 @@
void
assign_functor(FunctionObj f, function_buffer& functor, mpl::true_) const
{
+#if defined __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wplacement-new"
+#endif
new (reinterpret_cast<void*>(&functor.data)) FunctionObj(f);
+#if defined __GNUC__
+#pragma GCC diagnostic pop
+#endif
}
template<typename FunctionObj,typename Allocator>
void
--- boost/multi_index/detail/index_node_base.hpp
+++ boost/multi_index/detail/index_node_base.hpp
@@ -51,7 +51,14 @@
value_type& value()
{
+#if defined __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wstrict-aliasing"
+#endif
return *reinterpret_cast<value_type*>(&this->space);
+#if defined __GNUC__
+#pragma GCC diagnostic pop
+#endif
}
const value_type& value()const
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