Boost logo

Boost Users :

From: Paul (elegant_dice_at_[hidden])
Date: 2005-08-17 01:30:01

I got the following warning while compiling with (debian-testing) g++

I couldn't see the problem in the code?

/usr/local/include/boost-1_33/boost/date_time/time_duration.hpp: In
function 'time_duration
boost::date_time::parse_undelimited_time_duration(const std::string&)
[with time_duration = boost::posix_time::time_duration]':
warning: control may reach end of non-void function 'static typename
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_resolutions res = micro, typename
frac_sec_type::int_type resolution_adjust = 1000000, short unsigned int
frac_digits = 6u, v_type = int32_t]' being inlined

Just a bit concerned, I don't like warnings :)


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at