Subject: Re: [ublas] example usage of coordinate_matrix fails on Ubuntu 11.04 (amd_64)
From: Douglas Bates (bates_at_[hidden])
Date: 2011-06-07 16:09:58
On Tue, Jun 7, 2011 at 1:20 PM, Douglas Bates <bates_at_[hidden]> wrote:
> The simple test program for the numeric_matrix template, shown in the
> Example section of
> does not compile on an Ubuntu 11.04 (amd_64) system
> $ uname -a
> Linux bates3 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC
> 2011 x86_64 x86_64 x86_64 GNU/Linux
> for which the default C++ compiler is
> $ g++ --version
> g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
> I enclose a transcript. I first encountered this with boost version
> 1.42.0 from which the Ubuntu packages for 11.04 were prepared and then
> tried boost 1.46.1, encountering the same errors.
> I imagine this has been reported before but I couldn't find the
> archive for this list (the link I tried is incorrect).
A bit more information. The example for coordinate_vector also fails
with similar error reports.
On checking on a system with several different versions of gcc
available, I found that the examples compile and execute as expected
with versions of g++ up to 4.4.6 and fail on versions 4.5.x and 4.6.0