[typeof] *native tests failures

Hi, looking at this failure: http://tinyurl.com/m6rho I wonder if that's expected failure, or an glitch? The error message is: /boost/head-regression/boost/boost/typeof/binding_workaround.hpp(11): error: function call is not allowed in a constant expression #if BOOST_WORKAROUND(BOOST_MSVC,==1310) && defined(BOOST_TYPEOF_EMULATION) And I can get rid of it by this patch: --- binding_workaround.hpp 20 Feb 2006 21:53:02 -0000 1.1 +++ binding_workaround.hpp 21 Feb 2006 16:30:43 -0000 @@ -7,12 +7,13 @@ MSVC 7.1-, from inside a template, can't bind a function pointer to const T& */ +#include <boost/detail/workaround.hpp> #if BOOST_WORKAROUND(BOOST_MSVC,==1310) && defined(BOOST_TYPEOF_EMULATION) #include <boost/utility/enable_if.hpp> #include <boost/type_traits/is_function.hpp> -#include <boost/detail/workaround.hpp> + Certainly, using BOOST_WORKAROUND before including workaround.hpp is not good idea? - Volodya

"Vladimir Prus" <ghost@cs.msu.su> wrote
looking at this failure:
I wonder if that's expected failure, or an glitch?
a glitch.
Certainly, using BOOST_WORKAROUND before including workaround.hpp is not good idea?
Definitely not. It's already been fixed in CVS -- should be OK by the next time the regressions run. Regards, Arkadiy
participants (2)
-
Arkadiy Vertleyb
-
Vladimir Prus