[Libreoffice-commits] core.git: 2 commits - bin/gen-boost-headers drawinglayer/source editeng/source external/boost include/drawinglayer include/sfx2 include/vcl sc/source sfx2/source svtools/source vcl/headless vcl/inc vcl/opengl vcl/osx vcl/source vcl/unx
Stephan Bergmann
sbergman at redhat.com
Wed Jan 24 06:56:27 UTC 2018
bin/gen-boost-headers | 1
drawinglayer/source/primitive2d/metafileprimitive2d.cxx | 3
editeng/source/editeng/editsel.cxx | 6 -
editeng/source/editeng/editsel.hxx | 2
external/boost/include/boost/algorithm/string.hpp | 1
external/boost/include/boost/algorithm/string/case_conv.hpp | 1
external/boost/include/boost/algorithm/string/classification.hpp | 1
external/boost/include/boost/algorithm/string/predicate.hpp | 1
external/boost/include/boost/algorithm/string/split.hpp | 1
external/boost/include/boost/any.hpp | 1
external/boost/include/boost/archive/iterators/base64_from_binary.hpp | 1
external/boost/include/boost/archive/iterators/binary_from_base64.hpp | 1
external/boost/include/boost/archive/iterators/remove_whitespace.hpp | 1
external/boost/include/boost/archive/iterators/transform_width.hpp | 1
external/boost/include/boost/asio.hpp | 1
external/boost/include/boost/assign.hpp | 1
external/boost/include/boost/bimap/bimap.hpp | 1
external/boost/include/boost/bimap/unordered_set_of.hpp | 1
external/boost/include/boost/bind.hpp | 1
external/boost/include/boost/cast.hpp | 1
external/boost/include/boost/circular_buffer.hpp | 1
external/boost/include/boost/config.hpp | 1
external/boost/include/boost/container/deque.hpp | 1
external/boost/include/boost/cstdint.hpp | 1
external/boost/include/boost/current_function.hpp | 1
external/boost/include/boost/date_time.hpp | 1
external/boost/include/boost/date_time/posix_time/posix_time.hpp | 1
external/boost/include/boost/enable_shared_from_this.hpp | 1
external/boost/include/boost/exception/diagnostic_information.hpp | 1
external/boost/include/boost/filesystem.hpp | 1
external/boost/include/boost/filesystem/path.hpp | 1
external/boost/include/boost/foreach.hpp | 1
external/boost/include/boost/format.hpp | 1
external/boost/include/boost/function.hpp | 1
external/boost/include/boost/functional/hash.hpp | 1
external/boost/include/boost/fusion/adapted/std_pair.hpp | 1
external/boost/include/boost/fusion/include/adapt_struct.hpp | 1
external/boost/include/boost/intrusive/circular_list_algorithms.hpp | 1
external/boost/include/boost/intrusive_ptr.hpp | 1
external/boost/include/boost/io/ios_state.hpp | 1
external/boost/include/boost/iostreams/device/file_descriptor.hpp | 1
external/boost/include/boost/iostreams/filter/gzip.hpp | 1
external/boost/include/boost/iostreams/filtering_stream.hpp | 1
external/boost/include/boost/iterator/iterator_facade.hpp | 1
external/boost/include/boost/lexical_cast.hpp | 1
external/boost/include/boost/locale.hpp | 1
external/boost/include/boost/locale/gnu_gettext.hpp | 1
external/boost/include/boost/logic/tribool.hpp | 1
external/boost/include/boost/make_shared.hpp | 1
external/boost/include/boost/math/common_factor_rt.hpp | 1
external/boost/include/boost/math/constants/constants.hpp | 1
external/boost/include/boost/math/special_functions/expm1.hpp | 1
external/boost/include/boost/math/special_functions/log1p.hpp | 1
external/boost/include/boost/math/special_functions/sinc.hpp | 1
external/boost/include/boost/multi_array.hpp | 1
external/boost/include/boost/multi_index/composite_key.hpp | 1
external/boost/include/boost/multi_index/identity.hpp | 1
external/boost/include/boost/multi_index/mem_fun.hpp | 1
external/boost/include/boost/multi_index/ordered_index.hpp | 1
external/boost/include/boost/multi_index/random_access_index.hpp | 1
external/boost/include/boost/multi_index_container.hpp | 1
external/boost/include/boost/noncopyable.hpp | 1
external/boost/include/boost/none.hpp | 1
external/boost/include/boost/numeric/conversion/cast.hpp | 1
external/boost/include/boost/operators.hpp | 1
external/boost/include/boost/optional.hpp | 1
external/boost/include/boost/optional/optional.hpp | 1
external/boost/include/boost/preprocessor/stringize.hpp | 1
external/boost/include/boost/process/child.hpp | 1
external/boost/include/boost/program_options.hpp | 1
external/boost/include/boost/property_tree/json_parser.hpp | 1
external/boost/include/boost/property_tree/ptree.hpp | 1
external/boost/include/boost/ptr_container/ptr_vector.hpp | 1
external/boost/include/boost/range/adaptor/reversed.hpp | 1
external/boost/include/boost/range/iterator_range.hpp | 1
external/boost/include/boost/rational.hpp | 1
external/boost/include/boost/ref.hpp | 1
external/boost/include/boost/scoped_array.hpp | 1
external/boost/include/boost/scoped_ptr.hpp | 1
external/boost/include/boost/shared_array.hpp | 1
external/boost/include/boost/shared_ptr.hpp | 1
external/boost/include/boost/spirit.hpp | 1
external/boost/include/boost/spirit/include/classic.hpp | 1
external/boost/include/boost/spirit/include/classic_core.hpp | 1
external/boost/include/boost/spirit/include/classic_error_handling.hpp | 1
external/boost/include/boost/spirit/include/classic_file_iterator.hpp | 1
external/boost/include/boost/spirit/include/classic_utility.hpp | 1
external/boost/include/boost/spirit/include/classic_while.hpp | 1
external/boost/include/boost/spirit/include/phoenix.hpp | 1
external/boost/include/boost/spirit/include/qi.hpp | 1
external/boost/include/boost/spirit/include/qi_attr.hpp | 1
external/boost/include/boost/spirit/include/qi_lit.hpp | 1
external/boost/include/boost/spirit/include/qi_optional.hpp | 1
external/boost/include/boost/spirit/include/qi_parse_attr.hpp | 1
external/boost/include/boost/spirit/include/qi_sequence.hpp | 1
external/boost/include/boost/spirit/include/qi_symbols.hpp | 1
external/boost/include/boost/static_assert.hpp | 1
external/boost/include/boost/system/error_code.hpp | 1
external/boost/include/boost/type_index.hpp | 1
external/boost/include/boost/unordered_map.hpp | 1
external/boost/include/boost/unordered_set.hpp | 1
external/boost/include/boost/uuid/sha1.hpp | 1
external/boost/include/boost/uuid/uuid_generators.hpp | 1
external/boost/include/boost/uuid/uuid_io.hpp | 1
external/boost/include/boost/variant.hpp | 1
external/boost/include/boost/variant/recursive_variant.hpp | 1
external/boost/include/boost/version.hpp | 1
external/boost/include/boost/weak_ptr.hpp | 1
include/drawinglayer/primitive2d/metafileprimitive2d.hxx | 2
include/sfx2/sfxhelp.hxx | 2
include/vcl/GraphicNativeTransform.hxx | 2
include/vcl/alpha.hxx | 4 -
include/vcl/animate.hxx | 6 -
include/vcl/bitmap.hxx | 6 -
include/vcl/bitmapex.hxx | 14 ---
include/vcl/builder.hxx | 10 +-
include/vcl/dockwin.hxx | 4 -
include/vcl/fixed.hxx | 2
include/vcl/gdimetafiletools.hxx | 2
include/vcl/gdimtf.hxx | 2
include/vcl/help.hxx | 2
include/vcl/jobdata.hxx | 4 -
include/vcl/layout.hxx | 2
include/vcl/menu.hxx | 2
include/vcl/opengl/OpenGLContext.hxx | 4 -
include/vcl/outdev.hxx | 4 -
include/vcl/pdfwriter.hxx | 19 -----
include/vcl/print.hxx | 13 +--
include/vcl/seleng.hxx | 2
include/vcl/texteng.hxx | 2
include/vcl/textview.hxx | 4 -
include/vcl/wrkwin.hxx | 2
sc/source/ui/inc/select.hxx | 4 -
sc/source/ui/view/select.cxx | 14 +--
sfx2/source/appl/sfxhelp.cxx | 4 -
svtools/source/contnr/svimpbox.cxx | 4 -
svtools/source/inc/svimpbox.hxx | 2
svtools/source/table/tablecontrol_impl.cxx | 9 --
svtools/source/table/tablecontrol_impl.hxx | 2
vcl/headless/svpbmp.cxx | 3
vcl/inc/fontsubset.hxx | 4 -
vcl/inc/headless/svpbmp.hxx | 2
vcl/inc/impbmp.hxx | 2
vcl/inc/opengl/RenderList.hxx | 2
vcl/inc/opengl/program.hxx | 4 -
vcl/inc/opengl/salbmp.hxx | 2
vcl/inc/opengl/texture.hxx | 4 -
vcl/inc/opengl/x11/gdiimpl.hxx | 2
vcl/inc/openglgdiimpl.hxx | 8 +-
vcl/inc/salusereventlist.hxx | 2
vcl/inc/unx/cairotextrender.hxx | 2
vcl/inc/unx/gtk/gtkdata.hxx | 2
vcl/inc/unx/printerjob.hxx | 2
vcl/inc/unx/saldisp.hxx | 4 -
vcl/inc/unx/x11/x11gdiimpl.h | 2
vcl/opengl/RenderList.cxx | 6 -
vcl/opengl/gdiimpl.cxx | 18 +---
vcl/opengl/program.cxx | 11 +-
vcl/opengl/scale.cxx | 17 ++--
vcl/opengl/texture.cxx | 9 --
vcl/opengl/win/gdiimpl.cxx | 5 -
vcl/opengl/x11/gdiimpl.cxx | 24 ++----
vcl/osx/salobj.cxx | 8 --
vcl/source/app/help.cxx | 3
vcl/source/app/salusereventlist.cxx | 7 -
vcl/source/control/fixed.cxx | 3
vcl/source/edit/textdat2.hxx | 2
vcl/source/edit/texteng.cxx | 4 -
vcl/source/edit/textview.cxx | 15 +---
vcl/source/filter/GraphicNativeTransform.cxx | 15 +---
vcl/source/fontsubset/fontsubset.cxx | 6 -
vcl/source/gdi/alpha.cxx | 11 --
vcl/source/gdi/animate.cxx | 18 ----
vcl/source/gdi/bitmap.cxx | 4 -
vcl/source/gdi/bitmap3.cxx | 4 -
vcl/source/gdi/bitmapex.cxx | 14 +--
vcl/source/gdi/gdimtf.cxx | 8 --
vcl/source/gdi/impbmp.cxx | 4 -
vcl/source/gdi/pdfwriter.cxx | 12 +--
vcl/source/gdi/pdfwriter_impl.cxx | 3
vcl/source/gdi/pdfwriter_impl.hxx | 2
vcl/source/gdi/print.cxx | 37 ++--------
vcl/source/gdi/print3.cxx | 3
vcl/source/opengl/OpenGLContext.cxx | 7 -
vcl/source/outdev/bitmap.cxx | 4 -
vcl/source/outdev/text.cxx | 8 --
vcl/source/window/builder.cxx | 20 +----
vcl/source/window/dockmgr.cxx | 5 -
vcl/source/window/dockwin.cxx | 5 -
vcl/source/window/layout.cxx | 4 -
vcl/source/window/menu.cxx | 5 -
vcl/source/window/wrkwin.cxx | 6 -
vcl/unx/generic/app/saldisp.cxx | 14 +--
vcl/unx/generic/gdi/cairotextrender.cxx | 12 +--
vcl/unx/generic/gdi/gdiimpl.cxx | 5 -
vcl/unx/generic/gdi/gdiimpl.hxx | 2
vcl/unx/generic/print/glyphset.cxx | 6 -
vcl/unx/generic/print/glyphset.hxx | 2
vcl/unx/generic/print/printerjob.cxx | 6 -
vcl/unx/generic/printer/jobdata.cxx | 14 +--
vcl/unx/gtk/gtkdata.cxx | 9 +-
vcl/unx/gtk3/gtk3gtkinst.cxx | 4 -
202 files changed, 344 insertions(+), 385 deletions(-)
New commits:
commit b3b22ee3de5ddfc73e44a2d425450b1deeb3ed0d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jan 23 10:40:48 2018 +0100
Silence upcoming GCC 8 -Werror=parentheses in external/boost
...reporting such delights as
> [CXX] sal/cppunittester/cppunittester.cxx
> In file included from workdir/UnpackedTarball/boost/boost/mpl/aux_/na_assert.hpp:23,
[...]
> from external/boost/include/boost/algorithm/string.hpp:25,
> from sal/cppunittester/cppunittester.cxx:60:
> workdir/UnpackedTarball/boost/boost/mpl/assert.hpp:188:21: error: unnecessary parentheses in declaration of ‘assert_arg’ [-Werror=parentheses]
> failed ************ (Pred::************
> ^
where boost/mpl/assert.hpp contains
> template< typename Pred >
> failed ************ (Pred::************
> assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type )
> );
Change-Id: I6976b2cc23f1d309d27d3fde9098b10c9d877599
Reviewed-on: https://gerrit.libreoffice.org/48386
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/bin/gen-boost-headers b/bin/gen-boost-headers
index 12e51d0882df..8822ad824c1f 100755
--- a/bin/gen-boost-headers
+++ b/bin/gen-boost-headers
@@ -45,6 +45,7 @@ cat <(cd ${SRCDIR} && git grep -h '^# *include') \
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/algorithm/string.hpp b/external/boost/include/boost/algorithm/string.hpp
index 7fb76e2ab3cd..7ca3556897b0 100644
--- a/external/boost/include/boost/algorithm/string.hpp
+++ b/external/boost/include/boost/algorithm/string.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/algorithm/string/case_conv.hpp b/external/boost/include/boost/algorithm/string/case_conv.hpp
index a1285e671187..46d674ae4170 100644
--- a/external/boost/include/boost/algorithm/string/case_conv.hpp
+++ b/external/boost/include/boost/algorithm/string/case_conv.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/algorithm/string/classification.hpp b/external/boost/include/boost/algorithm/string/classification.hpp
index e84c1deca540..1d4cf92d2958 100644
--- a/external/boost/include/boost/algorithm/string/classification.hpp
+++ b/external/boost/include/boost/algorithm/string/classification.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/algorithm/string/predicate.hpp b/external/boost/include/boost/algorithm/string/predicate.hpp
index 5f24161debf5..5151c8ca8914 100644
--- a/external/boost/include/boost/algorithm/string/predicate.hpp
+++ b/external/boost/include/boost/algorithm/string/predicate.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/algorithm/string/split.hpp b/external/boost/include/boost/algorithm/string/split.hpp
index c30b17da333e..112b5388c395 100644
--- a/external/boost/include/boost/algorithm/string/split.hpp
+++ b/external/boost/include/boost/algorithm/string/split.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/any.hpp b/external/boost/include/boost/any.hpp
index 54d625842fd3..31949512b391 100644
--- a/external/boost/include/boost/any.hpp
+++ b/external/boost/include/boost/any.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/archive/iterators/base64_from_binary.hpp b/external/boost/include/boost/archive/iterators/base64_from_binary.hpp
index d5827f455950..e4198f8e25f8 100644
--- a/external/boost/include/boost/archive/iterators/base64_from_binary.hpp
+++ b/external/boost/include/boost/archive/iterators/base64_from_binary.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/archive/iterators/binary_from_base64.hpp b/external/boost/include/boost/archive/iterators/binary_from_base64.hpp
index 4f336251b7c3..b0f18ed5bd85 100644
--- a/external/boost/include/boost/archive/iterators/binary_from_base64.hpp
+++ b/external/boost/include/boost/archive/iterators/binary_from_base64.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/archive/iterators/remove_whitespace.hpp b/external/boost/include/boost/archive/iterators/remove_whitespace.hpp
index c7fcc37388ce..373d01df0c1e 100644
--- a/external/boost/include/boost/archive/iterators/remove_whitespace.hpp
+++ b/external/boost/include/boost/archive/iterators/remove_whitespace.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/archive/iterators/transform_width.hpp b/external/boost/include/boost/archive/iterators/transform_width.hpp
index e31bcd489942..bbddc21fb8aa 100644
--- a/external/boost/include/boost/archive/iterators/transform_width.hpp
+++ b/external/boost/include/boost/archive/iterators/transform_width.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/asio.hpp b/external/boost/include/boost/asio.hpp
index d2afc7ca93cd..8dae26aa689c 100644
--- a/external/boost/include/boost/asio.hpp
+++ b/external/boost/include/boost/asio.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/assign.hpp b/external/boost/include/boost/assign.hpp
index fd576a010bcc..56145447afcb 100644
--- a/external/boost/include/boost/assign.hpp
+++ b/external/boost/include/boost/assign.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/bimap/bimap.hpp b/external/boost/include/boost/bimap/bimap.hpp
index fca0566eabf7..36ffaf3aa198 100755
--- a/external/boost/include/boost/bimap/bimap.hpp
+++ b/external/boost/include/boost/bimap/bimap.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/bimap/unordered_set_of.hpp b/external/boost/include/boost/bimap/unordered_set_of.hpp
index a9b5935b5f3f..c18c0aef3af8 100755
--- a/external/boost/include/boost/bimap/unordered_set_of.hpp
+++ b/external/boost/include/boost/bimap/unordered_set_of.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/bind.hpp b/external/boost/include/boost/bind.hpp
index 6f54e4fd5acf..3af80b6c4197 100644
--- a/external/boost/include/boost/bind.hpp
+++ b/external/boost/include/boost/bind.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/cast.hpp b/external/boost/include/boost/cast.hpp
index 6f78a0ef8be0..b2c9542c3d69 100644
--- a/external/boost/include/boost/cast.hpp
+++ b/external/boost/include/boost/cast.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/circular_buffer.hpp b/external/boost/include/boost/circular_buffer.hpp
index 2ea94a5ee3e6..cd0ad3bfad9d 100644
--- a/external/boost/include/boost/circular_buffer.hpp
+++ b/external/boost/include/boost/circular_buffer.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/config.hpp b/external/boost/include/boost/config.hpp
index 7d99f41ee88b..8e632e2a2178 100644
--- a/external/boost/include/boost/config.hpp
+++ b/external/boost/include/boost/config.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/container/deque.hpp b/external/boost/include/boost/container/deque.hpp
index b4bb16c5dc86..3b5e13aceb74 100644
--- a/external/boost/include/boost/container/deque.hpp
+++ b/external/boost/include/boost/container/deque.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/cstdint.hpp b/external/boost/include/boost/cstdint.hpp
index 9bb4a5c7dcdd..2d8b73c4c2e9 100644
--- a/external/boost/include/boost/cstdint.hpp
+++ b/external/boost/include/boost/cstdint.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/current_function.hpp b/external/boost/include/boost/current_function.hpp
index c9423a7c3f31..4838aa0f6665 100644
--- a/external/boost/include/boost/current_function.hpp
+++ b/external/boost/include/boost/current_function.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/date_time.hpp b/external/boost/include/boost/date_time.hpp
index c8d7ee4bd900..7b2761460cc9 100644
--- a/external/boost/include/boost/date_time.hpp
+++ b/external/boost/include/boost/date_time.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/date_time/posix_time/posix_time.hpp b/external/boost/include/boost/date_time/posix_time/posix_time.hpp
index 40a714c1cd8c..f5e0afd0c917 100644
--- a/external/boost/include/boost/date_time/posix_time/posix_time.hpp
+++ b/external/boost/include/boost/date_time/posix_time/posix_time.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/enable_shared_from_this.hpp b/external/boost/include/boost/enable_shared_from_this.hpp
index 32409132785a..85dda4db8fde 100644
--- a/external/boost/include/boost/enable_shared_from_this.hpp
+++ b/external/boost/include/boost/enable_shared_from_this.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/exception/diagnostic_information.hpp b/external/boost/include/boost/exception/diagnostic_information.hpp
index c0ebade88e92..2bd7e2b9a556 100644
--- a/external/boost/include/boost/exception/diagnostic_information.hpp
+++ b/external/boost/include/boost/exception/diagnostic_information.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/filesystem.hpp b/external/boost/include/boost/filesystem.hpp
index c9d2e096b4e0..c69875636ec7 100644
--- a/external/boost/include/boost/filesystem.hpp
+++ b/external/boost/include/boost/filesystem.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/filesystem/path.hpp b/external/boost/include/boost/filesystem/path.hpp
index 0abe792e8f02..5dcb1716f72a 100644
--- a/external/boost/include/boost/filesystem/path.hpp
+++ b/external/boost/include/boost/filesystem/path.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/foreach.hpp b/external/boost/include/boost/foreach.hpp
index 941d31b4130b..9023068ae239 100644
--- a/external/boost/include/boost/foreach.hpp
+++ b/external/boost/include/boost/foreach.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/format.hpp b/external/boost/include/boost/format.hpp
index f64658a75ed3..a4cfbf8185cb 100644
--- a/external/boost/include/boost/format.hpp
+++ b/external/boost/include/boost/format.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/function.hpp b/external/boost/include/boost/function.hpp
index 9beed8a0fac1..5f950f179a82 100644
--- a/external/boost/include/boost/function.hpp
+++ b/external/boost/include/boost/function.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/functional/hash.hpp b/external/boost/include/boost/functional/hash.hpp
index 9f0c437b9276..2e460496349a 100644
--- a/external/boost/include/boost/functional/hash.hpp
+++ b/external/boost/include/boost/functional/hash.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/fusion/adapted/std_pair.hpp b/external/boost/include/boost/fusion/adapted/std_pair.hpp
index a5f6310a57c4..c22bf1723354 100644
--- a/external/boost/include/boost/fusion/adapted/std_pair.hpp
+++ b/external/boost/include/boost/fusion/adapted/std_pair.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/fusion/include/adapt_struct.hpp b/external/boost/include/boost/fusion/include/adapt_struct.hpp
index 6783280979f4..897e450d8e93 100644
--- a/external/boost/include/boost/fusion/include/adapt_struct.hpp
+++ b/external/boost/include/boost/fusion/include/adapt_struct.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/intrusive/circular_list_algorithms.hpp b/external/boost/include/boost/intrusive/circular_list_algorithms.hpp
index df10da294215..98f51217bfbd 100644
--- a/external/boost/include/boost/intrusive/circular_list_algorithms.hpp
+++ b/external/boost/include/boost/intrusive/circular_list_algorithms.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/intrusive_ptr.hpp b/external/boost/include/boost/intrusive_ptr.hpp
index c08bea208d4f..40dabc603912 100644
--- a/external/boost/include/boost/intrusive_ptr.hpp
+++ b/external/boost/include/boost/intrusive_ptr.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/io/ios_state.hpp b/external/boost/include/boost/io/ios_state.hpp
index 13cfd62e88f9..9f92230978fb 100644
--- a/external/boost/include/boost/io/ios_state.hpp
+++ b/external/boost/include/boost/io/ios_state.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/iostreams/device/file_descriptor.hpp b/external/boost/include/boost/iostreams/device/file_descriptor.hpp
index f3e53ca8819a..a708f0b2fa20 100644
--- a/external/boost/include/boost/iostreams/device/file_descriptor.hpp
+++ b/external/boost/include/boost/iostreams/device/file_descriptor.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/iostreams/filter/gzip.hpp b/external/boost/include/boost/iostreams/filter/gzip.hpp
index d6792ce9e1fb..0c00511797c8 100644
--- a/external/boost/include/boost/iostreams/filter/gzip.hpp
+++ b/external/boost/include/boost/iostreams/filter/gzip.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/iostreams/filtering_stream.hpp b/external/boost/include/boost/iostreams/filtering_stream.hpp
index c27fc9c4a9b1..c4b0d5d92b3e 100644
--- a/external/boost/include/boost/iostreams/filtering_stream.hpp
+++ b/external/boost/include/boost/iostreams/filtering_stream.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/iterator/iterator_facade.hpp b/external/boost/include/boost/iterator/iterator_facade.hpp
index 3fe830dd5932..2698e55f1991 100644
--- a/external/boost/include/boost/iterator/iterator_facade.hpp
+++ b/external/boost/include/boost/iterator/iterator_facade.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/lexical_cast.hpp b/external/boost/include/boost/lexical_cast.hpp
index e3124ebc6515..b546d984a3f7 100644
--- a/external/boost/include/boost/lexical_cast.hpp
+++ b/external/boost/include/boost/lexical_cast.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/locale.hpp b/external/boost/include/boost/locale.hpp
index 20a913a97fb3..816d21027c13 100644
--- a/external/boost/include/boost/locale.hpp
+++ b/external/boost/include/boost/locale.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/locale/gnu_gettext.hpp b/external/boost/include/boost/locale/gnu_gettext.hpp
index e9b05c65fe46..c5eb92161db9 100644
--- a/external/boost/include/boost/locale/gnu_gettext.hpp
+++ b/external/boost/include/boost/locale/gnu_gettext.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/logic/tribool.hpp b/external/boost/include/boost/logic/tribool.hpp
index 9d3407968880..6282623051b8 100644
--- a/external/boost/include/boost/logic/tribool.hpp
+++ b/external/boost/include/boost/logic/tribool.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/make_shared.hpp b/external/boost/include/boost/make_shared.hpp
index b1dc3eb1ea36..6e1883431932 100644
--- a/external/boost/include/boost/make_shared.hpp
+++ b/external/boost/include/boost/make_shared.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/math/common_factor_rt.hpp b/external/boost/include/boost/math/common_factor_rt.hpp
index 53306e7d213c..d890f80b48ac 100644
--- a/external/boost/include/boost/math/common_factor_rt.hpp
+++ b/external/boost/include/boost/math/common_factor_rt.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/math/constants/constants.hpp b/external/boost/include/boost/math/constants/constants.hpp
index bb8b6b34d619..493f91441bac 100644
--- a/external/boost/include/boost/math/constants/constants.hpp
+++ b/external/boost/include/boost/math/constants/constants.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/math/special_functions/expm1.hpp b/external/boost/include/boost/math/special_functions/expm1.hpp
index ea4d5b596f24..582aa08f96ee 100644
--- a/external/boost/include/boost/math/special_functions/expm1.hpp
+++ b/external/boost/include/boost/math/special_functions/expm1.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/math/special_functions/log1p.hpp b/external/boost/include/boost/math/special_functions/log1p.hpp
index 396004bb45b0..cba890e2acd2 100644
--- a/external/boost/include/boost/math/special_functions/log1p.hpp
+++ b/external/boost/include/boost/math/special_functions/log1p.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/math/special_functions/sinc.hpp b/external/boost/include/boost/math/special_functions/sinc.hpp
index 7fb7426e1b30..246f8f129c4f 100644
--- a/external/boost/include/boost/math/special_functions/sinc.hpp
+++ b/external/boost/include/boost/math/special_functions/sinc.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/multi_array.hpp b/external/boost/include/boost/multi_array.hpp
index 47de40aae069..28f4f829a608 100644
--- a/external/boost/include/boost/multi_array.hpp
+++ b/external/boost/include/boost/multi_array.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/multi_index/composite_key.hpp b/external/boost/include/boost/multi_index/composite_key.hpp
index 71f9b53ae4f9..e1421666de64 100644
--- a/external/boost/include/boost/multi_index/composite_key.hpp
+++ b/external/boost/include/boost/multi_index/composite_key.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/multi_index/identity.hpp b/external/boost/include/boost/multi_index/identity.hpp
index 1d0f88c50295..abb85d5f50dc 100644
--- a/external/boost/include/boost/multi_index/identity.hpp
+++ b/external/boost/include/boost/multi_index/identity.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/multi_index/mem_fun.hpp b/external/boost/include/boost/multi_index/mem_fun.hpp
index e6415bd73a1d..b56736c768da 100644
--- a/external/boost/include/boost/multi_index/mem_fun.hpp
+++ b/external/boost/include/boost/multi_index/mem_fun.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/multi_index/ordered_index.hpp b/external/boost/include/boost/multi_index/ordered_index.hpp
index 9741b6852c3d..9255cb771abb 100644
--- a/external/boost/include/boost/multi_index/ordered_index.hpp
+++ b/external/boost/include/boost/multi_index/ordered_index.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/multi_index/random_access_index.hpp b/external/boost/include/boost/multi_index/random_access_index.hpp
index 0b980a0da56a..9cdd9429e2a5 100644
--- a/external/boost/include/boost/multi_index/random_access_index.hpp
+++ b/external/boost/include/boost/multi_index/random_access_index.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/multi_index_container.hpp b/external/boost/include/boost/multi_index_container.hpp
index 6a5236f79179..03984d4df8d7 100644
--- a/external/boost/include/boost/multi_index_container.hpp
+++ b/external/boost/include/boost/multi_index_container.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/noncopyable.hpp b/external/boost/include/boost/noncopyable.hpp
index 5ef064049d52..26fb69998c44 100644
--- a/external/boost/include/boost/noncopyable.hpp
+++ b/external/boost/include/boost/noncopyable.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/none.hpp b/external/boost/include/boost/none.hpp
index d7a5227cf028..b04028258a70 100644
--- a/external/boost/include/boost/none.hpp
+++ b/external/boost/include/boost/none.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/numeric/conversion/cast.hpp b/external/boost/include/boost/numeric/conversion/cast.hpp
index c37f51425a04..26b6cf958a62 100644
--- a/external/boost/include/boost/numeric/conversion/cast.hpp
+++ b/external/boost/include/boost/numeric/conversion/cast.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/operators.hpp b/external/boost/include/boost/operators.hpp
index 7b49cbaee822..a09f05d593d9 100644
--- a/external/boost/include/boost/operators.hpp
+++ b/external/boost/include/boost/operators.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/optional.hpp b/external/boost/include/boost/optional.hpp
index d83795234972..ba8882d0f090 100644
--- a/external/boost/include/boost/optional.hpp
+++ b/external/boost/include/boost/optional.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/optional/optional.hpp b/external/boost/include/boost/optional/optional.hpp
index 2b0f8bf5d4cf..047723352bfc 100644
--- a/external/boost/include/boost/optional/optional.hpp
+++ b/external/boost/include/boost/optional/optional.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/preprocessor/stringize.hpp b/external/boost/include/boost/preprocessor/stringize.hpp
index 3945161a817d..631c9e6a9daa 100644
--- a/external/boost/include/boost/preprocessor/stringize.hpp
+++ b/external/boost/include/boost/preprocessor/stringize.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/process/child.hpp b/external/boost/include/boost/process/child.hpp
index ac32598b7370..b6006fc1a745 100644
--- a/external/boost/include/boost/process/child.hpp
+++ b/external/boost/include/boost/process/child.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/program_options.hpp b/external/boost/include/boost/program_options.hpp
index 5dff6fb2f5d7..68e203a358e6 100644
--- a/external/boost/include/boost/program_options.hpp
+++ b/external/boost/include/boost/program_options.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/property_tree/json_parser.hpp b/external/boost/include/boost/property_tree/json_parser.hpp
index b53bc42dfd64..32f762448a74 100644
--- a/external/boost/include/boost/property_tree/json_parser.hpp
+++ b/external/boost/include/boost/property_tree/json_parser.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/property_tree/ptree.hpp b/external/boost/include/boost/property_tree/ptree.hpp
index 633376f94133..86b2e2dc97b5 100644
--- a/external/boost/include/boost/property_tree/ptree.hpp
+++ b/external/boost/include/boost/property_tree/ptree.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/ptr_container/ptr_vector.hpp b/external/boost/include/boost/ptr_container/ptr_vector.hpp
index ddc84fd4e17e..07bce56b3d02 100644
--- a/external/boost/include/boost/ptr_container/ptr_vector.hpp
+++ b/external/boost/include/boost/ptr_container/ptr_vector.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/range/adaptor/reversed.hpp b/external/boost/include/boost/range/adaptor/reversed.hpp
index bde02d118b45..526a98e45054 100644
--- a/external/boost/include/boost/range/adaptor/reversed.hpp
+++ b/external/boost/include/boost/range/adaptor/reversed.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/range/iterator_range.hpp b/external/boost/include/boost/range/iterator_range.hpp
index 1f91e58985da..24bb0c04fe84 100644
--- a/external/boost/include/boost/range/iterator_range.hpp
+++ b/external/boost/include/boost/range/iterator_range.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/rational.hpp b/external/boost/include/boost/rational.hpp
index b0caeafffea8..3ba37e681ba0 100644
--- a/external/boost/include/boost/rational.hpp
+++ b/external/boost/include/boost/rational.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/ref.hpp b/external/boost/include/boost/ref.hpp
index 9ba83d599e96..a0fb0375114c 100644
--- a/external/boost/include/boost/ref.hpp
+++ b/external/boost/include/boost/ref.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/scoped_array.hpp b/external/boost/include/boost/scoped_array.hpp
index 43397bfb60ee..677a58d9a94c 100644
--- a/external/boost/include/boost/scoped_array.hpp
+++ b/external/boost/include/boost/scoped_array.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/scoped_ptr.hpp b/external/boost/include/boost/scoped_ptr.hpp
index aeff22c82af1..20b42aa1c7a2 100644
--- a/external/boost/include/boost/scoped_ptr.hpp
+++ b/external/boost/include/boost/scoped_ptr.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/shared_array.hpp b/external/boost/include/boost/shared_array.hpp
index 6222224e731a..0e40411321fd 100644
--- a/external/boost/include/boost/shared_array.hpp
+++ b/external/boost/include/boost/shared_array.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/shared_ptr.hpp b/external/boost/include/boost/shared_ptr.hpp
index 31e3bed3f2f9..ac3d2b0d472f 100644
--- a/external/boost/include/boost/shared_ptr.hpp
+++ b/external/boost/include/boost/shared_ptr.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit.hpp b/external/boost/include/boost/spirit.hpp
index 7cc1de35d18b..81d3d46900b2 100644
--- a/external/boost/include/boost/spirit.hpp
+++ b/external/boost/include/boost/spirit.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit/include/classic.hpp b/external/boost/include/boost/spirit/include/classic.hpp
index a60ec2bf1441..70b830eeeb43 100644
--- a/external/boost/include/boost/spirit/include/classic.hpp
+++ b/external/boost/include/boost/spirit/include/classic.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit/include/classic_core.hpp b/external/boost/include/boost/spirit/include/classic_core.hpp
index fcf5aa769b4f..9e7a6780fd14 100644
--- a/external/boost/include/boost/spirit/include/classic_core.hpp
+++ b/external/boost/include/boost/spirit/include/classic_core.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit/include/classic_error_handling.hpp b/external/boost/include/boost/spirit/include/classic_error_handling.hpp
index 794d7dcd8797..4a88aff5ea07 100644
--- a/external/boost/include/boost/spirit/include/classic_error_handling.hpp
+++ b/external/boost/include/boost/spirit/include/classic_error_handling.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit/include/classic_file_iterator.hpp b/external/boost/include/boost/spirit/include/classic_file_iterator.hpp
index f9be4e0e124c..3faf74cf1e41 100644
--- a/external/boost/include/boost/spirit/include/classic_file_iterator.hpp
+++ b/external/boost/include/boost/spirit/include/classic_file_iterator.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit/include/classic_utility.hpp b/external/boost/include/boost/spirit/include/classic_utility.hpp
index 5bd9c92474ad..f5d2f374ba93 100644
--- a/external/boost/include/boost/spirit/include/classic_utility.hpp
+++ b/external/boost/include/boost/spirit/include/classic_utility.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit/include/classic_while.hpp b/external/boost/include/boost/spirit/include/classic_while.hpp
index 0dc850008d6a..63290390e84d 100644
--- a/external/boost/include/boost/spirit/include/classic_while.hpp
+++ b/external/boost/include/boost/spirit/include/classic_while.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit/include/phoenix.hpp b/external/boost/include/boost/spirit/include/phoenix.hpp
index 6a1e28820614..1df12da21d73 100644
--- a/external/boost/include/boost/spirit/include/phoenix.hpp
+++ b/external/boost/include/boost/spirit/include/phoenix.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit/include/qi.hpp b/external/boost/include/boost/spirit/include/qi.hpp
index bec3c3c4d896..f91199a7a3d7 100644
--- a/external/boost/include/boost/spirit/include/qi.hpp
+++ b/external/boost/include/boost/spirit/include/qi.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit/include/qi_attr.hpp b/external/boost/include/boost/spirit/include/qi_attr.hpp
index 3b0515855439..ec2cb35e4aec 100644
--- a/external/boost/include/boost/spirit/include/qi_attr.hpp
+++ b/external/boost/include/boost/spirit/include/qi_attr.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit/include/qi_lit.hpp b/external/boost/include/boost/spirit/include/qi_lit.hpp
index 8d0196c9cdce..b096eaf83db2 100644
--- a/external/boost/include/boost/spirit/include/qi_lit.hpp
+++ b/external/boost/include/boost/spirit/include/qi_lit.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit/include/qi_optional.hpp b/external/boost/include/boost/spirit/include/qi_optional.hpp
index 08aac7843ad4..78bce1a8a00e 100644
--- a/external/boost/include/boost/spirit/include/qi_optional.hpp
+++ b/external/boost/include/boost/spirit/include/qi_optional.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit/include/qi_parse_attr.hpp b/external/boost/include/boost/spirit/include/qi_parse_attr.hpp
index 6e9a0986c1c5..eb21b3f14b27 100644
--- a/external/boost/include/boost/spirit/include/qi_parse_attr.hpp
+++ b/external/boost/include/boost/spirit/include/qi_parse_attr.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit/include/qi_sequence.hpp b/external/boost/include/boost/spirit/include/qi_sequence.hpp
index 21ad87e70b0b..da4a2f20948c 100644
--- a/external/boost/include/boost/spirit/include/qi_sequence.hpp
+++ b/external/boost/include/boost/spirit/include/qi_sequence.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/spirit/include/qi_symbols.hpp b/external/boost/include/boost/spirit/include/qi_symbols.hpp
index 856f5c3fbb35..c4dee508ea7b 100644
--- a/external/boost/include/boost/spirit/include/qi_symbols.hpp
+++ b/external/boost/include/boost/spirit/include/qi_symbols.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/static_assert.hpp b/external/boost/include/boost/static_assert.hpp
index 0888025c9145..6ccaa269fbbc 100644
--- a/external/boost/include/boost/static_assert.hpp
+++ b/external/boost/include/boost/static_assert.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/system/error_code.hpp b/external/boost/include/boost/system/error_code.hpp
index 50579c713ac0..f610a4a1480c 100644
--- a/external/boost/include/boost/system/error_code.hpp
+++ b/external/boost/include/boost/system/error_code.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/type_index.hpp b/external/boost/include/boost/type_index.hpp
index c3b83bfded08..135f583f06a7 100644
--- a/external/boost/include/boost/type_index.hpp
+++ b/external/boost/include/boost/type_index.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/unordered_map.hpp b/external/boost/include/boost/unordered_map.hpp
index 87ab34121019..34a3e4a23e8f 100644
--- a/external/boost/include/boost/unordered_map.hpp
+++ b/external/boost/include/boost/unordered_map.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/unordered_set.hpp b/external/boost/include/boost/unordered_set.hpp
index 0ea3747146db..d1d2b7bdbbc2 100644
--- a/external/boost/include/boost/unordered_set.hpp
+++ b/external/boost/include/boost/unordered_set.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/uuid/sha1.hpp b/external/boost/include/boost/uuid/sha1.hpp
index 09d3744022fe..5bd2ef876491 100644
--- a/external/boost/include/boost/uuid/sha1.hpp
+++ b/external/boost/include/boost/uuid/sha1.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/uuid/uuid_generators.hpp b/external/boost/include/boost/uuid/uuid_generators.hpp
index 8705e8e36072..dd6ae3098fa3 100644
--- a/external/boost/include/boost/uuid/uuid_generators.hpp
+++ b/external/boost/include/boost/uuid/uuid_generators.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/uuid/uuid_io.hpp b/external/boost/include/boost/uuid/uuid_io.hpp
index d0a407e4cf6f..e12dcf836e1d 100644
--- a/external/boost/include/boost/uuid/uuid_io.hpp
+++ b/external/boost/include/boost/uuid/uuid_io.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/variant.hpp b/external/boost/include/boost/variant.hpp
index d888dbf2548f..9d3cb25e04f1 100644
--- a/external/boost/include/boost/variant.hpp
+++ b/external/boost/include/boost/variant.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/variant/recursive_variant.hpp b/external/boost/include/boost/variant/recursive_variant.hpp
index c9498c9b3f49..e3ca5403b5a6 100644
--- a/external/boost/include/boost/variant/recursive_variant.hpp
+++ b/external/boost/include/boost/variant/recursive_variant.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/version.hpp b/external/boost/include/boost/version.hpp
index 0b71673da170..e329148b4e28 100644
--- a/external/boost/include/boost/version.hpp
+++ b/external/boost/include/boost/version.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
diff --git a/external/boost/include/boost/weak_ptr.hpp b/external/boost/include/boost/weak_ptr.hpp
index 1d2aa6c93ba8..966c55a13056 100644
--- a/external/boost/include/boost/weak_ptr.hpp
+++ b/external/boost/include/boost/weak_ptr.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"
commit de8f6b25de6fbe813fe172542e7eff1596b37335
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Mon Jan 22 15:52:16 2018 +0200
loplugin:unused-returns in vcl
Change-Id: I507320900a47f604d17ed7d402d531a7cbdf744e
Reviewed-on: https://gerrit.libreoffice.org/48331
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
index bb3d243b4beb..db1bac7d4f91 100644
--- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
@@ -131,10 +131,9 @@ namespace drawinglayer
}
// from MetafileAccessor
- bool MetafilePrimitive2D::accessMetafile(GDIMetaFile& rTargetMetafile) const
+ void MetafilePrimitive2D::accessMetafile(GDIMetaFile& rTargetMetafile) const
{
rTargetMetafile = maMetaFile;
- return true;
}
// provide unique ID
diff --git a/editeng/source/editeng/editsel.cxx b/editeng/source/editeng/editsel.cxx
index 02d4355306dd..73bdc4a7e414 100644
--- a/editeng/source/editeng/editsel.cxx
+++ b/editeng/source/editeng/editsel.cxx
@@ -44,12 +44,10 @@ void EditSelFunctionSet::DestroyAnchor()
// Only with multiple selection
}
-bool EditSelFunctionSet::SetCursorAtPoint( const Point& rPointPixel, bool )
+void EditSelFunctionSet::SetCursorAtPoint( const Point& rPointPixel, bool )
{
if ( pCurView )
- return pCurView->pImpEditView->SetCursorAtPoint( rPointPixel );
-
- return false;
+ pCurView->pImpEditView->SetCursorAtPoint( rPointPixel );
}
bool EditSelFunctionSet::IsSelectionAtPoint( const Point& rPointPixel )
diff --git a/editeng/source/editeng/editsel.hxx b/editeng/source/editeng/editsel.hxx
index bc3a0310eab0..f59a9ea05880 100644
--- a/editeng/source/editeng/editsel.hxx
+++ b/editeng/source/editeng/editsel.hxx
@@ -37,7 +37,7 @@ public:
virtual void CreateAnchor() override;
virtual void DestroyAnchor() override;
- virtual bool SetCursorAtPoint( const Point& rPointPixel, bool bDontSelectAtCursor = false ) override;
+ virtual void SetCursorAtPoint( const Point& rPointPixel, bool bDontSelectAtCursor = false ) override;
virtual bool IsSelectionAtPoint( const Point& rPointPixel ) override;
virtual void DeselectAtPoint( const Point& rPointPixel ) override;
diff --git a/include/drawinglayer/primitive2d/metafileprimitive2d.hxx b/include/drawinglayer/primitive2d/metafileprimitive2d.hxx
index a6d6c34338bd..62d113d034a9 100644
--- a/include/drawinglayer/primitive2d/metafileprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/metafileprimitive2d.hxx
@@ -83,7 +83,7 @@ namespace drawinglayer
virtual basegfx::B2DRange getB2DRange(const geometry::ViewInformation2D& rViewInformation) const override;
/// from MetafileAccessor
- virtual bool accessMetafile(GDIMetaFile& rTargetMetafile) const override;
+ virtual void accessMetafile(GDIMetaFile& rTargetMetafile) const override;
/// provide unique ID
DeclPrimitive2DIDBlock()
diff --git a/include/sfx2/sfxhelp.hxx b/include/sfx2/sfxhelp.hxx
index 06da6f412e6c..fb2eeac49707 100644
--- a/include/sfx2/sfxhelp.hxx
+++ b/include/sfx2/sfxhelp.hxx
@@ -34,7 +34,7 @@ class SFX2_DLLPUBLIC SfxHelp : public Help
private:
SAL_DLLPRIVATE static bool Start_Impl( const OUString& rURL, const vcl::Window* pWindow, const OUString& rKeyword );
- SAL_DLLPRIVATE virtual bool SearchKeyword( const OUString& rKeyWord ) override;
+ SAL_DLLPRIVATE virtual void SearchKeyword( const OUString& rKeyWord ) override;
SAL_DLLPRIVATE virtual bool Start( const OUString& rURL, const vcl::Window* pWindow ) override;
SAL_DLLPRIVATE static OUString GetHelpModuleName_Impl(const OUString &rHelpId);
SAL_DLLPRIVATE static OUString CreateHelpURL_Impl( const OUString& aCommandURL, const OUString& rModuleName );
diff --git a/include/vcl/GraphicNativeTransform.hxx b/include/vcl/GraphicNativeTransform.hxx
index 1ec965a2d8fd..f2f142f5ba57 100644
--- a/include/vcl/GraphicNativeTransform.hxx
+++ b/include/vcl/GraphicNativeTransform.hxx
@@ -34,7 +34,7 @@ public:
GraphicNativeTransform(Graphic& rGraphic);
~GraphicNativeTransform();
- bool rotate(sal_uInt16 aRotation);
+ void rotate(sal_uInt16 aRotation);
};
#endif // INCLUDED_VCL_GRAPHICNATIVETRANSFORM_HXX
diff --git a/include/vcl/alpha.hxx b/include/vcl/alpha.hxx
index e3fd8ee43ec5..396e437cf93f 100644
--- a/include/vcl/alpha.hxx
+++ b/include/vcl/alpha.hxx
@@ -57,9 +57,9 @@ public:
Bitmap const & GetBitmap() const;
- bool Erase( sal_uInt8 cTransparency );
+ void Erase( sal_uInt8 cTransparency );
bool Replace( const Bitmap& rMask, sal_uInt8 rReplaceTransparency );
- bool Replace( sal_uInt8 cSearchTransparency, sal_uInt8 cReplaceTransparency );
+ void Replace( sal_uInt8 cSearchTransparency, sal_uInt8 cReplaceTransparency );
BitmapReadAccess* AcquireReadAccess() { return Bitmap::AcquireReadAccess(); }
BitmapWriteAccess* AcquireWriteAccess() { return Bitmap::AcquireWriteAccess(); }
diff --git a/include/vcl/animate.hxx b/include/vcl/animate.hxx
index 1b8844f2c959..23d7e1e05a44 100644
--- a/include/vcl/animate.hxx
+++ b/include/vcl/animate.hxx
@@ -136,12 +136,12 @@ public:
public:
- bool Convert( BmpConversion eConversion );
+ void Convert( BmpConversion eConversion );
bool ReduceColors( sal_uInt16 nNewColorCount );
bool Invert();
- bool Mirror( BmpMirrorFlags nMirrorFlags );
- bool Adjust(
+ void Mirror( BmpMirrorFlags nMirrorFlags );
+ void Adjust(
short nLuminancePercent,
short nContrastPercent,
short nChannelRPercent,
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx
index ec14ae52b59f..2f74b71dd7b3 100644
--- a/include/vcl/bitmap.hxx
+++ b/include/vcl/bitmap.hxx
@@ -263,7 +263,7 @@ public:
public:
- bool MakeMono( sal_uInt8 cThreshold );
+ void MakeMono( sal_uInt8 cThreshold );
/** Convert bitmap format
@@ -590,10 +590,8 @@ public:
@param pProgress
A callback for showing the progress of the vectorization
-
- @return true, if the operation was completed successfully.
*/
- bool Vectorize(
+ void Vectorize(
GDIMetaFile& rMtf,
sal_uInt8 cReduce,
const Link<long,void>* pProgress );
diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx
index a850572357e9..1857e7608314 100644
--- a/include/vcl/bitmapex.hxx
+++ b/include/vcl/bitmapex.hxx
@@ -147,12 +147,8 @@ public:
@param bExpandTransparent
Whether to expand the transparency color or not.
-
- @return true, if padding was performed successfully. false is
- not only returned when the operation failed, but also if
- nothing had to be done, e.g. because nDX and nDY were zero.
*/
- bool Expand(
+ void Expand(
sal_uLong nDX, sal_uLong nDY,
bool bExpandTransparent = false );
@@ -264,10 +260,8 @@ public:
@param rReplaceColor
Color to be placed in all changed pixel
-
- @return true, if the operation was completed successfully.
*/
- bool Replace(
+ void Replace(
const Color& rSearchColor,
const Color& rReplaceColor );
@@ -286,10 +280,8 @@ public:
Tolerance value. Specifies the maximal difference between
pSearchColor colors and the individual pixel values, such that
the corresponding pixel is still regarded a match.
-
- @return true, if the operation was completed successfully.
*/
- bool Replace(
+ void Replace(
const Color* pSearchColors,
const Color* pReplaceColors,
sal_uLong nColorCount,
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx
index e696c1dc04d8..21a586718e55 100644
--- a/include/vcl/builder.hxx
+++ b/include/vcl/builder.hxx
@@ -327,12 +327,12 @@ private:
void connectTimeFormatterAdjustment(const OString &id, const OUString &rAdjustment);
void connectDateFormatterAdjustment(const OString &id, const OUString &rAdjustment);
- bool extractGroup(const OString &id, stringmap &rVec);
- bool extractModel(const OString &id, stringmap &rVec);
- bool extractBuffer(const OString &id, stringmap &rVec);
+ void extractGroup(const OString &id, stringmap &rVec);
+ void extractModel(const OString &id, stringmap &rVec);
+ void extractBuffer(const OString &id, stringmap &rVec);
static bool extractAdjustmentToMap(const OString &id, stringmap &rVec, std::vector<WidgetAdjustmentMap>& rAdjustmentMap);
- bool extractButtonImage(const OString &id, stringmap &rMap, bool bRadio);
- bool extractStock(const OString &id, stringmap &rMap);
+ void extractButtonImage(const OString &id, stringmap &rMap, bool bRadio);
+ void extractStock(const OString &id, stringmap &rMap);
void extractMnemonicWidget(const OString &id, stringmap &rMap);
void handleChild(vcl::Window *pParent, xmlreader::XmlReader &reader);
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx
index af10bceef5d5..d3d792d476a3 100644
--- a/include/vcl/dockwin.hxx
+++ b/include/vcl/dockwin.hxx
@@ -119,7 +119,7 @@ public:
~ImplDockingWindowWrapper();
vcl::Window* GetWindow() { return mpDockingWindow; }
- bool ImplStartDocking( const Point& rPos );
+ void ImplStartDocking( const Point& rPos );
// those methods actually call the corresponding handlers
void StartDocking( const Point& rPos, tools::Rectangle const & rRect );
@@ -270,7 +270,7 @@ public:
bool isLayoutEnabled() const;
void setOptimalLayoutSize();
- SAL_DLLPRIVATE bool ImplStartDocking( const Point& rPos );
+ SAL_DLLPRIVATE void ImplStartDocking( const Point& rPos );
SAL_DLLPRIVATE bool isDeferredInit() const { return mbIsDeferredInit; }
virtual void doDeferredInit(WinBits nBits);
protected:
diff --git a/include/vcl/fixed.hxx b/include/vcl/fixed.hxx
index df7deaf9408c..49fdef75ddef 100644
--- a/include/vcl/fixed.hxx
+++ b/include/vcl/fixed.hxx
@@ -174,7 +174,7 @@ public:
void SetImage( const Image& rImage );
const Image& GetImage() const { return maImage; }
- bool SetModeImage( const Image& rImage );
+ void SetModeImage( const Image& rImage );
const Image& GetModeImage( ) const { return maImage;}
virtual bool set_property(const OString &rKey, const OUString &rValue) override;
diff --git a/include/vcl/gdimetafiletools.hxx b/include/vcl/gdimetafiletools.hxx
index 2296ab219e22..300d183e9fdc 100644
--- a/include/vcl/gdimetafiletools.hxx
+++ b/include/vcl/gdimetafiletools.hxx
@@ -45,7 +45,7 @@ bool VCL_DLLPUBLIC usesClipActions(const GDIMetaFile& rSource);
class VCL_DLLPUBLIC MetafileAccessor
{
public:
- virtual bool accessMetafile(GDIMetaFile& rTargetMetafile) const = 0;
+ virtual void accessMetafile(GDIMetaFile& rTargetMetafile) const = 0;
virtual ~MetafileAccessor();
};
diff --git a/include/vcl/gdimtf.hxx b/include/vcl/gdimtf.hxx
index 2a0baaded027..e7372e159236 100644
--- a/include/vcl/gdimtf.hxx
+++ b/include/vcl/gdimtf.hxx
@@ -108,7 +108,7 @@ public:
bool operator!=( const GDIMetaFile& rMtf ) const { return !( *this == rMtf ); }
void Clear();
- bool Mirror( BmpMirrorFlags nMirrorFlags );
+ void Mirror( BmpMirrorFlags nMirrorFlags );
void Move( long nX, long nY );
// additional Move method getting specifics how to handle MapMode( MapUnit::MapPixel )
void Move( long nX, long nY, long nDPIX, long nDPIY );
diff --git a/include/vcl/help.hxx b/include/vcl/help.hxx
index 00e46ebb5663..ee51fe40014f 100644
--- a/include/vcl/help.hxx
+++ b/include/vcl/help.hxx
@@ -63,7 +63,7 @@ public:
virtual ~Help();
virtual bool Start( const OUString& rHelpId, const vcl::Window* pWindow );
- virtual bool SearchKeyword( const OUString& rKeyWord );
+ virtual void SearchKeyword( const OUString& rKeyWord );
virtual OUString GetHelpText( const OUString& aHelpURL, const vcl::Window* pWindow );
static void EnableContextHelp();
diff --git a/include/vcl/jobdata.hxx b/include/vcl/jobdata.hxx
index 65a050f80423..28d1115c9fc8 100644
--- a/include/vcl/jobdata.hxx
+++ b/include/vcl/jobdata.hxx
@@ -68,8 +68,8 @@ struct VCL_DLLPUBLIC JobData
JobData( const JobData& rData ) { *this = rData; }
void setCollate( bool bCollate );
- bool setPaper( int nWidth, int nHeight ); // dimensions in pt
- bool setPaperBin( int nPaperBin );
+ void setPaper( int nWidth, int nHeight ); // dimensions in pt
+ void setPaperBin( int nPaperBin );
void resolveDefaultBackend();
void setDefaultBackend(bool bUsePDF);
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx
index d973704f8802..d73fa7166ce2 100644
--- a/include/vcl/layout.hxx
+++ b/include/vcl/layout.hxx
@@ -607,7 +607,7 @@ public:
{
return m_eMode;
}
- bool set_property(const OString &rKey, const OUString &rValue);
+ void set_property(const OString &rKey, const OUString &rValue);
};
class VCL_DLLPUBLIC MessageDialog : public Dialog
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index 428484d0859c..3ada2762fb6a 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -352,7 +352,7 @@ public:
// returns the system's menu handle if native menus are supported
// pData must point to a SystemMenuData structure
- bool GetSystemMenuData( SystemMenuData* pData ) const;
+ void GetSystemMenuData( SystemMenuData* pData ) const;
// accessibility helpers
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index 947384badda8..62a526a09a80 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -83,7 +83,7 @@ public:
// use these methods right after setting a context to make sure drawing happens
// in the right FBO (default one is for onscreen painting)
bool BindFramebuffer( OpenGLFramebuffer* pFramebuffer );
- bool AcquireDefaultFramebuffer();
+ void AcquireDefaultFramebuffer();
OpenGLFramebuffer* AcquireFramebuffer( const OpenGLTexture& rTexture );
static void ReleaseFramebuffer( OpenGLFramebuffer* pFramebuffer );
void UnbindTextureFromFramebuffers( GLuint nTexture );
@@ -153,7 +153,7 @@ public:
virtual SystemWindowData generateWinData(vcl::Window* pParent, bool bRequestLegacyContext);
private:
- virtual bool initWindow();
+ virtual void initWindow();
virtual void destroyCurrentContext();
virtual void adjustToNewSize();
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index a22f8a12a811..f9377bb655d2 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -1152,7 +1152,7 @@ public:
vcl::TextLayoutCache const* = nullptr,
SalLayout const*const pLayoutCache = nullptr) const;
- bool GetCaretPositions( const OUString&, long* pCaretXArray,
+ void GetCaretPositions( const OUString&, long* pCaretXArray,
sal_Int32 nIndex, sal_Int32 nLen ) const;
void DrawStretchText( const Point& rStartPt, sal_uLong nWidth,
const OUString& rStr,
@@ -1512,7 +1512,7 @@ private:
Size& aOutSz, Point& aOutPt);
- SAL_DLLPRIVATE bool BlendBitmap(
+ SAL_DLLPRIVATE void BlendBitmap(
const SalTwoRect& rPosAry,
const Bitmap& rBmp );
diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx
index 9ff7e4e46ae3..302d98fc85b0 100644
--- a/include/vcl/pdfwriter.hxx
+++ b/include/vcl/pdfwriter.hxx
@@ -1103,13 +1103,8 @@ The following structure describes the permissions used in PDF security
@param nElement
the id of the new current structure element
-
- @returns
- True if the current structure element could be set successfully
- False if the current structure element could not be changed
- (e.g. if the passed element id is invalid)
*/
- bool SetCurrentStructureElement( sal_Int32 nElement );
+ void SetCurrentStructureElement( sal_Int32 nElement );
/** set a structure attribute on the current structural element
@@ -1123,12 +1118,8 @@ The following structure describes the permissions used in PDF security
@param eVal
the value to set the attribute to
-
- @returns
- True if the value was valid and the change has been performed,
- False if the attribute or value was invalid; attribute remains unchanged
*/
- bool SetStructureAttribute( enum StructAttribute eAttr, enum StructAttributeValue eVal );
+ void SetStructureAttribute( enum StructAttribute eAttr, enum StructAttributeValue eVal );
/** set a structure attribute on the current structural element
SetStructureAttributeNumerical sets an attribute of the current structural element
@@ -1141,12 +1132,8 @@ The following structure describes the permissions used in PDF security
@param nValue
the value to set the attribute to
-
- @returns
- True if the value was valid and the change has been performed,
- False if the attribute or value was invalid; attribute remains unchanged
*/
- bool SetStructureAttributeNumerical( enum StructAttribute eAttr, sal_Int32 nValue );
+ void SetStructureAttributeNumerical( enum StructAttribute eAttr, sal_Int32 nValue );
/** set the bounding box of a structural element
SetStructureBoundingBox sets the BBox attribute to a new value. Since the BBox
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index eb81145ca440..ac15f1de4d0b 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -170,9 +170,8 @@ public:
parameter decides whether the set for
print "to printer" or "to file" should be read.
- @return True if config was read, false if an error occurred
*/
- bool ReadFromConfig( bool bFile );
+ void ReadFromConfig( bool bFile );
};
@@ -221,7 +220,7 @@ private:
ImplSalPrinterErrorCodeToVCL( SalPrinterError nError );
private:
- SAL_DLLPRIVATE bool EndJob();
+ SAL_DLLPRIVATE void EndJob();
Printer( const Printer& rPrinter ) = delete;
Printer& operator =( const Printer& rPrinter ) = delete;
@@ -308,11 +307,11 @@ public:
bool SetOrientation( Orientation eOrient );
Orientation GetOrientation() const;
- bool SetDuplexMode( DuplexMode );
+ void SetDuplexMode( DuplexMode );
bool SetPaperBin( sal_uInt16 nPaperBin );
sal_uInt16 GetPaperBin() const;
- bool SetPaper( Paper ePaper );
+ void SetPaper( Paper ePaper );
bool SetPaperSizeUser( const Size& rSize );
bool SetPaperSizeUser( const Size& rSize, bool bMatchNearest );
Paper GetPaper() const;
@@ -337,7 +336,7 @@ public:
const Point& GetPageOffsetPixel() const { return maPageOffset; }
Point GetPageOffset() const { return PixelToLogic( maPageOffset ); }
- bool SetCopyCount( sal_uInt16 nCopy, bool bCollate );
+ void SetCopyCount( sal_uInt16 nCopy, bool bCollate );
sal_uInt16 GetCopyCount() const { return mnCopyCount; }
bool IsCollateCopy() const { return mbCollateCopy; }
@@ -559,7 +558,7 @@ public:
SAL_DLLPRIVATE void pushPropertiesToPrinter();
SAL_DLLPRIVATE void resetPaperToLastConfigured();
VCL_PLUGIN_PUBLIC void setJobState( css::view::PrintableState );
- SAL_DLLPRIVATE bool setupPrinter( vcl::Window* i_pDlgParent );
+ SAL_DLLPRIVATE void setupPrinter( vcl::Window* i_pDlgParent );
SAL_DLLPRIVATE int getPageCountProtected() const;
SAL_DLLPRIVATE css::uno::Sequence< css::beans::PropertyValue >
diff --git a/include/vcl/seleng.hxx b/include/vcl/seleng.hxx
index 69b58e94a142..e3642330276d 100644
--- a/include/vcl/seleng.hxx
+++ b/include/vcl/seleng.hxx
@@ -49,7 +49,7 @@ public:
// move cursor, at the same time match cursor position to the selection
// starting at anchor. true == Ok
- virtual bool SetCursorAtPoint( const Point& rPointPixel,
+ virtual void SetCursorAtPoint( const Point& rPointPixel,
bool bDontSelectAtCursor = false ) = 0;
virtual bool IsSelectionAtPoint( const Point& rPointPixel ) = 0;
diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx
index 7d642ee7e116..671054b8401f 100644
--- a/include/vcl/texteng.hxx
+++ b/include/vcl/texteng.hxx
@@ -284,7 +284,7 @@ public:
bool Read( SvStream& rInput, const TextSelection* pSel = nullptr );
- bool Write( SvStream& rOutput );
+ void Write( SvStream& rOutput );
TextPaM GetPaM( const Point& rDocPos );
tools::Rectangle PaMtoEditCursor( const TextPaM& rPaM, bool bSpecial = false );
diff --git a/include/vcl/textview.hxx b/include/vcl/textview.hxx
index 545b1ba9030f..d34b53bba927 100644
--- a/include/vcl/textview.hxx
+++ b/include/vcl/textview.hxx
@@ -170,7 +170,7 @@ public:
void Undo();
void Redo();
- bool Read( SvStream& rInput );
+ void Read( SvStream& rInput );
void SetStartDocPos( const Point& rPos );
const Point& GetStartDocPos() const;
@@ -224,7 +224,7 @@ public:
*/
sal_Int32 GetLineNumberOfCursorInSelection() const;
- bool MatchGroup();
+ void MatchGroup();
bool Search( const i18nutil::SearchOptions& rSearchOptions, bool bForward );
sal_uInt16 Replace( const i18nutil::SearchOptions& rSearchOptions, bool bAll, bool bForward );
diff --git a/include/vcl/wrkwin.hxx b/include/vcl/wrkwin.hxx
index 3d2c22840f44..e062a6c48090 100644
--- a/include/vcl/wrkwin.hxx
+++ b/include/vcl/wrkwin.hxx
@@ -93,7 +93,7 @@ public:
bool IsMinimized() const;
- bool SetPluginParent( SystemParentData* pParent );
+ void SetPluginParent( SystemParentData* pParent );
void Minimize();
void Restore();
diff --git a/sc/source/ui/inc/select.hxx b/sc/source/ui/inc/select.hxx
index b78538ca4592..0a2f37003956 100644
--- a/sc/source/ui/inc/select.hxx
+++ b/sc/source/ui/inc/select.hxx
@@ -65,7 +65,7 @@ public:
virtual void BeginDrag() override;
virtual void CreateAnchor() override;
virtual void DestroyAnchor() override;
- virtual bool SetCursorAtPoint( const Point& rPointPixel, bool bDontSelectAtCursor = false ) override;
+ virtual void SetCursorAtPoint( const Point& rPointPixel, bool bDontSelectAtCursor = false ) override;
virtual bool IsSelectionAtPoint( const Point& rPointPixel ) override;
virtual void DeselectAtPoint( const Point& rPointPixel ) override;
virtual void DeselectAll() override;
@@ -92,7 +92,7 @@ public:
virtual void BeginDrag() override;
virtual void CreateAnchor() override;
virtual void DestroyAnchor() override;
- virtual bool SetCursorAtPoint( const Point& rPointPixel, bool bDontSelectAtCursor = false ) override;
+ virtual void SetCursorAtPoint( const Point& rPointPixel, bool bDontSelectAtCursor = false ) override;
virtual bool IsSelectionAtPoint( const Point& rPointPixel ) override;
virtual void DeselectAtPoint( const Point& rPointPixel ) override;
virtual void DeselectAll() override;
diff --git a/sc/source/ui/view/select.cxx b/sc/source/ui/view/select.cxx
index 34edfe50b2c7..a7da3ed68196 100644
--- a/sc/source/ui/view/select.cxx
+++ b/sc/source/ui/view/select.cxx
@@ -286,12 +286,12 @@ void ScViewFunctionSet::SetAnchorFlag( bool bSet )
bAnchor = bSet;
}
-bool ScViewFunctionSet::SetCursorAtPoint( const Point& rPointPixel, bool /* bDontSelectAtCursor */ )
+void ScViewFunctionSet::SetCursorAtPoint( const Point& rPointPixel, bool /* bDontSelectAtCursor */ )
{
if ( bDidSwitch )
{
if ( rPointPixel == aSwitchPos )
- return false; // don't scroll in wrong window
+ return; // don't scroll in wrong window
else
bDidSwitch = false;
}
@@ -400,7 +400,7 @@ bool ScViewFunctionSet::SetCursorAtPoint( const Point& rPointPixel, bool /* bDon
}
pViewData->ResetOldCursor();
- return SetCursorAtCell( nPosX, nPosY, bScroll );
+ SetCursorAtCell( nPosX, nPosY, bScroll );
}
bool ScViewFunctionSet::SetCursorAtCell( SCCOL nPosX, SCROW nPosY, bool bScroll )
@@ -810,13 +810,13 @@ void ScHeaderFunctionSet::DestroyAnchor()
bAnchor = false;
}
-bool ScHeaderFunctionSet::SetCursorAtPoint( const Point& rPointPixel, bool /* bDontSelectAtCursor */ )
+void ScHeaderFunctionSet::SetCursorAtPoint( const Point& rPointPixel, bool /* bDontSelectAtCursor */ )
{
if ( bDidSwitch )
{
// next valid position has to be originated from another window
if ( rPointPixel == aSwitchPos )
- return false; // don't scroll in the wrong window
+ return; // don't scroll in the wrong window
else
bDidSwitch = false;
}
@@ -873,7 +873,7 @@ bool ScHeaderFunctionSet::SetCursorAtPoint( const Point& rPointPixel, bool /* bD
{
aSwitchPos = rPointPixel;
bDidSwitch = true;
- return false; // do not crunch with wrong positions
+ return; // do not crunch with wrong positions
}
SCCOL nPosX;
@@ -917,8 +917,6 @@ bool ScHeaderFunctionSet::SetCursorAtPoint( const Point& rPointPixel, bool /* bD
if (bHide)
pView->ShowAllCursors();
-
- return true;
}
bool ScHeaderFunctionSet::IsSelectionAtPoint( const Point& rPointPixel )
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index f90e2e7d0a6b..971e6f6e263d 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -623,9 +623,9 @@ OUString SfxHelp::GetHelpText( const OUString& aCommandURL, const vcl::Window* p
return sHelpText;
}
-bool SfxHelp::SearchKeyword( const OUString& rKeyword )
+void SfxHelp::SearchKeyword( const OUString& rKeyword )
{
- return Start_Impl( OUString(), nullptr, rKeyword );
+ Start_Impl( OUString(), nullptr, rKeyword );
}
bool SfxHelp::Start( const OUString& rURL, const vcl::Window* pWindow )
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index 8f4e6b0fe443..88f6dc6d691e 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -2611,7 +2611,7 @@ void ImpLBSelEng::DestroyAnchor()
pImp->pAnchor = nullptr;
}
-bool ImpLBSelEng::SetCursorAtPoint(const Point& rPoint, bool bDontSelectAtCursor)
+void ImpLBSelEng::SetCursorAtPoint(const Point& rPoint, bool bDontSelectAtCursor)
{
SvTreeListEntry* pNewCursor = pImp->MakePointVisible( rPoint );
if( pNewCursor != pImp->pCursor )
@@ -2624,9 +2624,7 @@ bool ImpLBSelEng::SetCursorAtPoint(const Point& rPoint, bool bDontSelectAtCursor
//if( !bDontSelectAtCursor && !pImp->bSimpleTravel )
// pImp->SelectEntry( pNewCursor, true );
pImp->SetCursor( pNewCursor, bDontSelectAtCursor );
- return true;
}
- return false;
}
bool ImpLBSelEng::IsSelectionAtPoint( const Point& rPoint )
diff --git a/svtools/source/inc/svimpbox.hxx b/svtools/source/inc/svimpbox.hxx
index 5b69e16c479f..28fa2ed4b427 100644
--- a/svtools/source/inc/svimpbox.hxx
+++ b/svtools/source/inc/svimpbox.hxx
@@ -54,7 +54,7 @@ public:
void BeginDrag() override;
void CreateAnchor() override;
void DestroyAnchor() override;
- bool SetCursorAtPoint( const Point& rPoint,
+ void SetCursorAtPoint( const Point& rPoint,
bool bDontSelectAtCursor=false ) override;
bool IsSelectionAtPoint( const Point& rPoint ) override;
void DeselectAtPoint( const Point& rPoint ) override;
diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list