octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help updating swig for octave 4.0.0


From: Mike Miller
Subject: Re: Help updating swig for octave 4.0.0
Date: Thu, 9 Jul 2015 20:03:51 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

Hey Orion,

On Thu, Jul 09, 2015 at 16:40:25 -0600, Orion Poplawski wrote:
> So I see that the *_OCTAVE_ALLOCATOR defines are gone, so I removed the from
> the above.  But I suspect we aren't registering the swig_ref type properly
> leading to the error:
> 
>  error: octave_base_value::print (): wrong type argument 'swig_ref'

This is because octave_base_value::print has a new signature in 4.0, it
needs to be a non-const member function now.

You can see an example in the following changeset in the communications
package for 4.0:

http://hg.code.sf.net/p/octave/communications/rev/7df9c9337179

I then went back and added some conditional logic to make it work with
both 3.8 and 4.0 in a later change.

Was that the only remaining error in swig?

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]