Bug 567722 - g++4.4 incompatible with numeric/ublas/matrix_sparse.hpp
Summary: g++4.4 incompatible with numeric/ublas/matrix_sparse.hpp
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: boost
Version: 5.8
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: 5.8
Assignee: Petr Machata
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
: 761105 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-23 18:27 UTC by Jerry Quinn
Modified: 2018-11-26 19:05 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-21 03:16:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0305 0 normal SHIPPED_LIVE Low: boost security and bug fix update 2012-02-21 07:24:46 UTC

Description Jerry Quinn 2010-02-23 18:27:13 UTC
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:

Comment 1 Benjamin Kosnik 2011-08-24 19:31:18 UTC
this seems fine for RHEL5 updates

Comment 6 Jeff Bastian 2011-12-07 17:33:20 UTC
*** Bug 761105 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2012-02-21 03:16:00 UTC
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


Note You need to log in before you can comment on or make changes to this bug.