bugGNU Octave - Bugs: bug #41089, ad package will not compile with...

 
 

bug #41089: ad package will not compile with octave 3.8.0

Submitter:  John Donoghue <lostbard>
Submitted:  Fri 03 Jan 2014 06:05:03 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  John D Open/Closed:  * Closed
Release:  * 3.8.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 04 Jan 2014 03:14:58 AM UTC, comment #3: 

Thank you for your bug report and patch. I applied the patch on r12466 and made further changes to avoid the warnings about deprecated usage with r12467.

This problem has been fixed in the development version and will be available with the next release.

Carnë Draug <carandraug>
Group Member
Sat 04 Jan 2014 01:33:14 AM UTC, comment #2: 

Patch attached

(file #30182)

John Donoghue <lostbard>
Group Member
Sat 04 Jan 2014 12:33:10 AM UTC, comment #1: 

The ad package is mostly unmaintained. Looking at the logs, it seems all changes made since the original release have been documentation or maintenance,

Would you be able to supply a patch to fix this?

Carnë Draug <carandraug>
Group Member
Fri 03 Jan 2014 06:05:03 PM UTC, original submission:  

On doing a pkg install  ad-1.0.6.tar.gz, and also when trying to do with latest from octave-forge svn:



ov-grad.cc: In function 'octave_value eye_mx(octave_idx_type)':
ov-grad.cc:50:60: warning: 'Array<T>::Array(octave_idx_type) [with T = int; octave_idx_type = int]' is deprecated
(declared at C:\Octave\Octave-3.8.0\include\octave-3.8.0\octave\../octave/Array.h:188) [-Wdeprecated-declarations]

       Array<octave_idx_type> ix = Array<octave_idx_type> (n);
                                                            ^
ov-grad.cc:53:45: warning: 'Array<T>::Array(octave_idx_type, const T&) [with T = double; octave_idx_type = int]' i
s deprecated (declared at C:\Octave\Octave-3.8.0\include\octave-3.8.0\octave\../octave/Array.h:194) [-Wdeprecated-
declarations]
    return SparseMatrix(Array<double> (1, 1.0), ix, ix, n, n, false);
                                             ^
ov-grad.cc: In member function 'virtual void octave_gradient::print(std::ostream&, bool) const':
ov-grad.cc:74:41: error: no matching function for call to 'octave_value::print_with_name(std::ostream&, const char
 [6], bool) const'
  x ().print_with_name (os, "value", true);




John Donoghue <lostbard>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #30182:  of-ad-1-fixes.patch added by lostbard (690B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-04 carandraug StatusNone Fixed
        Open/ClosedOpen Closed
    2014-01-04 lostbard Attached File- Added of-ad-1-fixes.patch, #30182

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code