|
| From: | Rafael Laboissiere |
| Subject: | [Octave-bug-tracker] [bug #48906] lssa: fastlscomplex.cc does not compile against g++ v6 |
| Date: | Thu, 25 Aug 2016 20:07:56 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?48906>
Summary: lssa: fastlscomplex.cc does not compile against g++
v6
Project: GNU Octave
Submitted by: rlaboiss
Submitted on: Thu 25 Aug 2016 08:07:53 PM GMT
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: other
Operating System: GNU/Linux
_______________________________________________________
Details:
File fastlscomplex.cc in version 0.1.2 of the lssa package does not compile
against g++ version 6, yielding error messages like this:
fastlscomplex.cc:375:78: error: lvalue required as left operand of assignment
record_current->power_series[p].real() -= h.imag();
This comes from the fact that assignments like:
x.real() = 3;
must actually be written as:
x.real(3);
The patch attached to this bug report fixes the problem.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 25 Aug 2016 08:07:53 PM GMT Name: compile-with-gcc-6.patch Size:
5kB By: rlaboiss
<http://savannah.gnu.org/bugs/download.php?file_id=38358>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48906>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |