The `BOOST_LITTLE_ENDIAN` and `BOOST_BIG_ENDIAN` macros, along with the "boost/detail/endian.hpp" header, were deprecated in boost 1.69.0 and finally removed in boost 1.73.0. They are superseded by the BOOST_ENDIAN_LITTLE_BYTE and BOOST_ENDIAN_BIG_BYTE macros and "boost/predef/other/endian.h" header. Deprecated: https://github.com/boostorg/predef/commit/32d4581c1689370444f2e565cfbb8421d5071807 Removed: https://github.com/boostorg/predef/commit/aa6e232bf170ad8b856aff9e7c70334f77441c7f Adaptation of patch from https://bitbucket.org/fenics-project/dolfin/issues/1116 --- a/dolfin/io/VTKFile.cpp +++ b/dolfin/io/VTKFile.cpp @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include "pugixml.hpp" @@ -614,9 +614,9 @@ std::string endianness = ""; if (encode_string == "binary") { - #if defined BOOST_LITTLE_ENDIAN + #if defined BOOST_ENDIAN_LITTLE_BYTE endianness = "byte_order=\"LittleEndian\""; - #elif defined BOOST_BIG_ENDIAN + #elif defined BOOST_ENDIAN_BIG_BYTE endianness = "byte_order=\"BigEndian\"";; #else dolfin_error("VTKFile.cpp", --- a/dolfin/io/VTKWriter.cpp +++ b/dolfin/io/VTKWriter.cpp @@ -24,7 +24,6 @@ #include #include #include -#include #include #include /guix-environment.sh?id=5f069f6c61b0c8d8bec8f1138281fc9066bc000b'>diff
AgeCommit message (Expand)Author
2023-04-21tests: Fix checks for expected failures....Addresses <https://issues.guix.gnu.org/62406>. With 'set -e', a return status inverted with '!' does not cause the shell to exit immediately. Instead use '&& false' to indicate an expected failure. * tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment-container.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-home.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh, tests/guix-refresh.sh, tests/guix-shell.sh, tests/guix-style.sh, tests/guix-system.sh: Replace uses of '! ...' with '... && false' or `test ! ...` as appropriate. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Eric Bavier