Re: [asio-users] select_reactor warning
Brought to you by:
chris_kohlhoff
From: jose <jj...@ya...> - 2006-03-01 09:54:58
|
hi Chris, I've upgraded to 4.0.2 (from 4.0.1) and the warning goes away Thanks --- Christopher Kohlhoff <ch...@ko...> escribió: > 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 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a > groundbreaking scripting language > that extends applications into web and mobile media. > Attend the live webcast > and join the prime developer group breaking into > this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > asio-users mailing list > asi...@li... > https://lists.sourceforge.net/lists/listinfo/asio-users > ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com |