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 >
AgeCommit message (Expand)Author
2020-03-25tests: Adjust to 'show-manifest-transaction' changes....This is a followup to 3e5ab0a7a9399bb098b9ced46bf3cbf4085c6bab. * tests/ui.scm ("show-manifest-transaction"): Update regexp. * tests/guix-package.sh: Adjust Emacs regexp in --with-source test. Ludovic Courtès
2020-02-23ui: (size->number "1.M") is correctly parsed....Reported by Pierre Neidhardt <mail@ambrevar.xyz>. * guix/ui.scm (size->number)[unit-pos]: Add #\. to CHAR-SET:DIGIT. * tests/ui.scm ("size->number, 1.M"): New test. Ludovic Courtès
2019-09-19ui: 'relevance' connects regexps with a logical and....Fixes <https://bugs.gnu.org/36763>. Previously, the logical and connecting the regexps did not output the expected results (introduced in 8874faaaac665100a095ef25e39c9a389f5a397f). * guix/ui.scm (relevance) [score]: Change its arguments. [regexp->score]: New procedure. * tests/ui.scm ("package-relevance"): Add test. Signed-off-by: Ludovic Courtès <ludo@gnu.org> zimoun
2019-06-27ui: 'relevance' considers regexps connected with a logical and....* guix/ui.scm (relevance)[score]: Change to return 0 when one of REGEXPS doesn't match. * tests/ui.scm ("package-relevance"): New test. Ludovic Courtès
2017-05-10ui: 'string->duration' correctly handles hours....* guix/ui.scm (string->duration): Add missing '=>' for hours. * tests/ui.scm ("duration, 2 hours"): New test. Ludovic Courtès
2017-03-08ui: Don't use '%default-port-encoding' to set the encoding of string ports....* guix/ui.scm (right-arrow): Call 'set-port-encoding!' to set PORT's encoding; remove use of 'with-fluids'. This is for compatibility with Guile 2.2 where the encoding of string ports is not influenced by %DEFAULT-PORT-ENCODING. * tests/ui.scm ("show-manifest-transaction"): Likewise. Ludovic Courtès