I've been trying to compile the chrono "hello world" example with MinGW/GCC
4.4.0, but it fails.
I then tried to compile the tests, and saw similar errors.
The docs say this compiler is supported, has anyone else tried this?
Here's the error chain:
.\boost_1_47_0/boost/type_traits/common_type.hpp: At global scope:
.\boost_1_47_0/boost/type_traits/common_type.hpp: In instantiation
of 'boost::common_type':
.\boost_1_47_0/boost/chrono/duration.hpp:252: instantiated from 'ToDuration
boost::chrono::detail::duration_cast_aux::operator()(const FromDuration&) const [with FromDuration =
boost::chrono::duration >,
ToDuration = boost::chrono::duration >, Period
= boost::ratio<1ll, 10000000ll>]'
.\boost_1_47_0/boost/chrono/duration.hpp:311: instantiated from 'ToDuration
boost::chrono::detail::duration_cast::operator()
(const FromDuration&) const [with FromDuration = boost::chrono::duration >, ToDuration =
boost::chrono::duration >]'
.\boost_1_47_0/boost/chrono/duration.hpp:472: instantiated
from 'boost::chrono::duration::duration(const
boost::chrono::duration&, typename
boost::enable_if, boost::mpl::not_,
mpl_::bool_<true>, mpl_::bool_<true>, mpl_::bool_<true> >, mpl_::bool_<false>,
mpl_::bool_<false>, mpl_::bool_<false> >, void>::type*) [with Rep2 = long long
int, Period2 = boost::ratio<1ll, 10000000ll>, Rep = double, Period =
boost::ratio<1ll, 1ll>]'
...\test.cpp:96: instantiated from here
.\boost_1_47_0/boost/type_traits/common_type.hpp:77: error: no type
named 'type' in 'struct boost::common_type'