Re: [asio-users] select_reactor warning
Brought to you by:
chris_kohlhoff
From: Christopher K. <ch...@ko...> - 2006-02-28 23:50:25
|
Hi Jose, --- jose <jj...@ya...> wrote: > Hi Chris, > > Any idea why I get this warning when using asio cvs ? > I am running Linux FC4 x86_64 > > Regards and thanks > Jose > > /d2/dev/boost/boost/date_time/time_duration.hpp: In > member function 'timeval* > asio::detail::select_reactor<Own_Thread, > Allocator>::get_timeout(timeval&) [with bool > Own_Thread = false, Allocator = > std::allocator<void>]': > /d2/dev/boost/boost/date_time/time_duration.hpp:58: > warning: control may reach end of non-void function > 'static typename frac_sec_type::int_type > boost::date_time::time_resolution_traits<frac_sec_type, > res, resolution_adjust, frac_digits, > v_type>::to_tick_count(v_type, v_type, v_type, > typename frac_sec_type::int_type) [with frac_sec_type > = > boost::date_time::time_resolution_traits_adapted64_impl, > boost::date_time::time_resolutions res = micro, > typename frac_sec_type::int_type resolution_adjust = > 1000000, short unsigned int frac_digits = 6u, v_type = > int32_t]' being inlined Very strange. This warning is about a function in the Boost.Date-Time library, and I don't see how (in either 1.33.0 or 1.33.1) it contains any control paths that don't return. What version of g++ are you using? Cheers, Chris |