Boost logo

Boost Users :

From: Andrej van der Zee (mavdzee_at_[hidden])
Date: 2008-05-29 07:53:48


Hi,

The ASIO library (fantastic lib by the way) produces
warnings as below on AIX with gcc 4.2.3 and 4.3. Some
issue with braces. Is there an easy way to get rid of
those warnings?

Cheers,
Andrej

/opt/freeware/include/boost-1_35/boost/asio/ip/address_v6.hpp:
In constructor
'boost::asio::ip::address_v6::address_v6()':
/opt/freeware/include/boost-1_35/boost/asio/ip/address_v6.hpp:58:
warning: missing braces around initializer for
'in6_addr::<anonymous union>'
/opt/freeware/include/boost-1_35/boost/asio/ip/address_v6.hpp:58:
warning: missing braces around initializer for
'u_int32_t [4]'
/opt/freeware/include/boost-1_35/boost/asio/ip/address_v6.hpp:
In static member function 'static
boost::asio::ip::address_v6
boost::asio::ip::address_v6::loopback()':
/opt/freeware/include/boost-1_35/boost/asio/ip/address_v6.hpp:340:
warning: missing braces around initializer for
'in6_addr::<anonymous union>'
/opt/freeware/include/boost-1_35/boost/asio/ip/address_v6.hpp:340:
warning: missing braces around initializer for
'u_int32_t [4]'
 

      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net