
John Maddock wrote:
I'm using gcc 3.3.5. The first compile error is a suspicious BOOST_FUNCTION_NUM_ARGS redefinition by the TR1 headers. The compile output was as follows:
If you look at the error trace below you'll see that both definitions are inside Boost.Function: TR1 doesn't mess around with that.
Hi John, Thanks for the reply. I did check that both boost/function/function1.hpp and boost/function/detail/function_iterate.hpp do indeed define BOOST_FUNCTION_NUM_ARGS (without #ifndef or #undef). I did also note that the new/fixed version of boost/function/function_base.hpp includes the <functional> header (where the old version did not) and of course that's where the new TR1 function classes reside when TR1 is included. Robert.