Boost logo

Boost :

From: Colin Caughie (c.caughie_at_[hidden])
Date: 2008-04-02 06:25:03


I just tried moving to 1.35.0 (from 1.34.0) and am getting the following
warnings:

/usr/local/boost/1.35.0/x86/include/boost-1_35/boost/thread/pthread/
timespec.hpp: In function 'timespec boost::detail::get_timespec(const
boost::system_time&)':/usr/local/boost/1.35.0/x86/include/boost-1_35/boost/
thread/pthread/timespec.hpp:18:
warning: missing initializer for member 'timespec::tv_nsec'
/usr/local/boost/1.35.0/x86/include/boost-1_35/boost/thread/xtime.hpp: In
function 'boost::xtime boost::get_xtime(const boost::system_time&)':
/usr/local/boost/1.35.0/x86/include/boost-1_35/boost/thread/xtime.hpp:59:
warning: missing initializer for member 'boost::xtime::nsec'

We compile with -Wall and -Werror, and would like to continue doing so. Anyone
know of a way of suppressing this warning?

We're using gcc 4.1 and 4.2.1.

Thanks,
Colin


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk