[Boost-bugs] [Boost C++ Libraries] #3741: asio::ip::address_v6.hpp: Missing braces around anonymous union

Subject: [Boost-bugs] [Boost C++ Libraries] #3741: asio::ip::address_v6.hpp: Missing braces around anonymous union
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-09 13:21:41


#3741: asio::ip::address_v6.hpp: Missing braces around anonymous union
------------------------------------------------+---------------------------
 Reporter: Peter Jansson <info@…> | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: asio
  Version: Boost 1.41.0 | Severity: Cosmetic
 Keywords: |
------------------------------------------------+---------------------------
 Using "g++ (GCC) 4.4.0" in MinGW on WindowsXP with "-Wall -Wextra"
 compiler options, we get annoying warnings from
 "C:/Boost/include/boost-1_41/boost/asio/ip/address_v6.hpp":


 {{{
 C:/Boost/include/boost-1_41/boost/asio/ip/address_v6.hpp: In constructor
 'boost::asio::ip::address_v6::address_v6()':
 C:/Boost/include/boost-1_41/boost/asio/ip/address_v6.hpp:58: warning:
 missing braces around initializer for 'in6_addr::<anonymous union>'
 C:/Boost/include/boost-1_41/boost/asio/ip/address_v6.hpp:58: warning:
 missing braces around initializer for 'u_char [16]'
 C:/Boost/include/boost-1_41/boost/asio/ip/address_v6.hpp: In static member
 function 'static boost::asio::ip::address_v6
 boost::asio::ip::address_v6::loopback()':
 C:/Boost/include/boost-1_41/boost/asio/ip/address_v6.hpp:355: warning:
 missing braces around initializer for 'in6_addr::<anonymous union>'
 C:/Boost/include/boost-1_41/boost/asio/ip/address_v6.hpp:355: warning:
 missing braces around initializer for 'u_char [16]'
 }}}



 Perhaps we can get rid of these warnings to Boost 1.42.0 ?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3741>
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:02 UTC