]> https://gitweb.dealii.org/ - dealii.git/commit
Fix compilation with boost 1.78.
authorDavid Wells <drwells@email.unc.edu>
Tue, 4 Jan 2022 17:46:30 +0000 (12:46 -0500)
committerDavid Wells <drwells@email.unc.edu>
Tue, 4 Jan 2022 19:06:10 +0000 (14:06 -0500)
commite0e76835519d122fd12b5858e16d08641a641c6a
tree1f8a5b29c816de1bc948cdfdef5dfc7699b2ae33
parent3a7783a9a0623be46e1ef114636239d710e26c8a
Fix compilation with boost 1.78.

I bisected (fortunately Boost.Geometry a header-only library so adding the
include directory sufficed) and
https://github.com/boostorg/geometry/commit/6eb9e238bcb37e26dc31d16acf826784a2ba30f4
is where this problem starts for us. See also
https://github.com/boostorg/geometry/issues/792 - the easiest fix for all such
issues is to just include the project header `boost/geometry/geometry.hpp`.

In this particular case, if you look at the commit which causes grid_tools.cc
fails to compile, its because we were relying on some implicit includes. In
particular, we need the distance header to find the distance between points and
boxes, but that was previously included in another file.
include/deal.II/numerics/rtree.h
tests/boost/rtree_01.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.