We've stumbled across an incompatiblity in mixing TR1 stuff from GCC 4.3
and Boost. The smallest test case is simply
#include
#include
This fails because GCC's array declares and specializes the GCC's
tuple_size and tuple_element, while boost/tr1/tuple.hpp by default uses
::boost::fusion::tuple_size and tuple_element.
It appears that defining BOOST_HAS_GCC_TR1 before including the boost
libraries will solve the problem. Is there a better way?
More importantly, this is code in part of library used by a number of
other projects. Will we have to recompile the boost libraries (we're
using the current Ubuntu package), and/or any of our projects that link
against this code, or should linkage not be a problem?
--
Anthony Foglia
Princeton Consultants
(609) 987-8787 x233