[Boost-bugs] [Boost C++ Libraries] #12080: Boost:asio::address incompatible 32 and 64 bit

Subject: [Boost-bugs] [Boost C++ Libraries] #12080: Boost:asio::address incompatible 32 and 64 bit
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-03-20 14:08:39


#12080: Boost:asio::address incompatible 32 and 64 bit
------------------------------+----------------------------
 Reporter: max_shifrin@… | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: 32bit, 64bit |
------------------------------+----------------------------
 When using g++ (GCC) 4.8.2 20140120 (Red Hat 4.8.2-16)
 The serialized size of boost::asio::ip::address differs between 32 and 64
 bit
 compilations.

 When compiled in 32 bit the size of the structure is 28 bytes, and when
 compiled in 64 bit the size of the structure is 32 bytes.

 I guess it should be 32 bytes in both cases, to be inter-operable and
 avoid page alignment issues.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12080>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC