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 a>
AgeCommit message (Expand)Author
2022-10-17git: 'update-cached-checkout' returns the commit ID when given a tag....Previously, starting with commit efa578ecaece67366b4b0e2266de7c2faaa4ae54, 'update-cached-checkout' would return the OID of the annotated tag the tag points to. With this change it returns the OID of the commit object in all cases. * guix/git.scm (resolve-reference): In the 'tag' case, call 'tag-target-id' and 'tag-lookup' when OID designates an annotated tag. * tests/git.scm ("update-cached-checkout, tag"): New test. Ludovic Courtès
2022-02-14git: Add 'commit-descendant?'....* guix/git.scm (commit-descendant?): New procedure. * tests/git.scm ("commit-descendant?"): New test. Ludovic Courtès
2021-09-18import: Add 'generic-git' updater....* guix/git.scm (ls-remote-refs): New procedure. * tests/git.scm ("remote-refs" "remote-refs: only tags"): New tests. * guix/import/git.scm: New file. * doc/guix.texi (Invoking guix refresh): Document it. * tests/import-git.scm: New test file. * Makefile.am (MODULES, SCM_TESTS): Register the new files. Co-authored-by: Sarah Morgensen <iskarian@mgsn.dev> Signed-off-by: Ludovic Courtès <ludo@gnu.org> Xinglu Chen