]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid more boost warnings 8459/head
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 6 Aug 2019 03:48:23 +0000 (23:48 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 6 Aug 2019 03:48:23 +0000 (23:48 -0400)
bundled/boost-1.70.0/include/boost/archive/impl/basic_binary_iarchive.ipp
bundled/boost-1.70.0/include/boost/detail/endian.hpp

index d5619ab6cf3e884e5ab4f864a31fc80ed80cbeb4..7ff2d3c23768100c45c0aa376c2a21979e8d00a8 100644 (file)
@@ -89,7 +89,7 @@ basic_binary_iarchive<Archive>::init(void){
     {
         int v = 0;
         v = this->This()->m_sb.sbumpc();
-        #if defined(BOOST_LITTLE_ENDIAN)
+        #if defined(BOOST_ENDIAN_LITTLE_BYTE)
         if(v < 6){
             ;
         }
@@ -111,7 +111,7 @@ basic_binary_iarchive<Archive>::init(void){
             // version 8+ followed by a zero
             this->This()->m_sb.sbumpc();
         }
-        #elif defined(BOOST_BIG_ENDIAN)
+        #elif defined(BOOST_ENDIAN_BIG_BYTE)
         if(v == 0)
             v = this->This()->m_sb.sbumpc();
         #endif
index f576c26b89a3f6b1ca6e12977ae2b74961f8fe8f..e889c552b49afcff0d8559e3875cb156a20ee163 100644 (file)
@@ -6,6 +6,6 @@
 #define BOOST_DETAIL_ENDIAN_HPP
 
 // Use the Predef library for the detection of endianess.
-#include <boost/predef/detail/endian_compat.h>
+#include <boost/predef/other/endian.h>
 
 #endif

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.