Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4836

[C++] Warning about deprecated use of boost (1.69.0) endianness macros

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.12.0
    • Fix Version/s: None
    • Component/s: C++ - Library
    • Labels:

      Description

      When compiling Apache Arrow we sometimes get those warnings messages:

      The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOST_ENDIAN_*_BYTE instead
      

      There is no trace of these macros in our source code, but they are used in the Thrift headers:
      https://github.com/apache/thrift/blob/master/lib/cpp/src/thrift/protocol/TProtocol.h#L85-L102

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                apitrou Antoine Pitrou
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: