Description of problem: Compiling a file that includes /usr/include/boost/numeric/ublas/matrix_sparse.hpp fails as follows: In file included from /usr/include/boost/mpl/aux_/numeric_op.hpp:22, from /usr/include/boost/mpl/aux_/arithmetic_op.hpp:26, from /usr/include/boost/mpl/plus.hpp:19, from /usr/include/boost/mpl/vector/aux_/iterator.hpp:19, from /usr/include/boost/mpl/vector/aux_/vector0.hpp:22, from /usr/include/boost/mpl/vector/aux_/clear.hpp:18, from /usr/include/boost/mpl/vector/vector0.hpp:24, from /usr/include/boost/mpl/vector/vector10.hpp:18, from /usr/include/boost/mpl/vector/vector20.hpp:18, from /usr/include/boost/numeric/ublas/detail/returntype_deduction.hpp:13, from /usr/include/boost/numeric/ublas/traits.hpp:26, from /usr/include/boost/numeric/ublas/expression_types.hpp:20, from /usr/include/boost/numeric/ublas/vector_expression.hpp:20, from /usr/include/boost/numeric/ublas/vector_sparse.hpp:21, from /usr/include/boost/numeric/ublas/matrix_sparse.hpp:20, from /u/jlquinn/junk.cc:1: /usr/include/boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "(" /usr/include/boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "(" The problem has been fixed in more recent versions of boost, but since gcc 4.4 is included, it would be helpful to be able to use the two together. https://svn.boost.org/trac/boost/ticket/2069 Version-Release number of selected component (if applicable): boost-devel-1.33.1-10.el5 How reproducible: cat > junk.cc #include <boost/numeric/ublas/matrix_sparse.hpp> g++4.4 -c junk.cc Steps to Reproduce: 1. 2. 3. Actual results: The above error message Expected results: Clean compile. Additional info:
this seems fine for RHEL5 updates
*** Bug 761105 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-0305.html