office-gobmx/external/coinmp
Stephan Bergmann b97e8b9d13 external/coinmp: Adapt to std::bind2nd gone from C++17
...which started to be an issue when building with recent Clang 16 trunk after
<3e99b8d947>
"C++/ObjC++: switch to gnu++17 as the default standard" against libc++.  (Recent
versions of GCC similarly default to C++17, but libstdc++ by default still
provides bind2nd even for C++17.)  Alternatively, we could define
_LIBCPP_ENABLE_CXX17_REMOVED_BINDERS to work around this.  But as these appear
to be the only leftover occurrence of bind2nd across all of the code base, and
all but one of them have already been addressed upstream, lets address it for
good with this little patch.  (Where the last remaining occurrence not yet
addressed upstream is fixed in the same way as the other upstream fixes, using a
loop rather than e.g. a lambda that would force us to start to pass
CXXFLAGS_CXX11 into ExternalProejct_coinmp.)

Change-Id: Iddcdddd22ea4c6d537b64bf2cf0b887d11da162f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139931
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-09-16 15:54:14 +02:00
..
bind2nd.patch.1
coinmp-msvc-disable-sse2.patch.1
configure-exit.patch
ExternalPackage_coinmp.mk
ExternalProject_coinmp.mk
libtool.patch
Makefile
Module_coinmp.mk
no-binaries.patch.1
osi_cuts_iterator.patch.0
pedantic-errors.patch
README
register.patch
rpath.patch
ubsan.patch.0
UnpackedTarball_coinmp.mk
werror-format-pedantic.patch.0
werror-format-security.patch.0
werror-undef.patch.0
windows.build.patch.1
Wnon-c-typedef-for-linkage.patch

CoinMP is a C-API library that supports most of the functionality of CLP (Coin LP),
CBC (Coin Branch-and-Cut), and CGL (Cut Generation Library) projects.

Info [https://projects.coin-or.org/CoinMP].
From [http://www.coin-or.org/download/source/CoinMP/].