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

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3741: asio::ip::address_v6.hpp: Missing braces around anonymous union
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-03 15:27:10


#3741: asio::ip::address_v6.hpp: Missing braces around anonymous union
-------------------------------------------------+--------------------------
  Reporter: Peter Jansson <info@…> | Owner: chris_kohlhoff
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.41.0 | Severity: Cosmetic
Resolution: | Keywords:
-------------------------------------------------+--------------------------

Comment (by jlcastillo@…):

 Sorry there was a problem with the formatting, this is the code of my fix:


 {{{
 //#define IN6ADDR_ANY_INIT { 0 }
 //#define IN6ADDR_LOOPBACK_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 }
 // JOSE:
 #define IN6ADDR_ANY_INIT {{{0}}}
 #define IN6ADDR_LOOPBACK_INIT {{{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}}}
 }}}

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