help-octave
[Top][All Lists]
Advanced

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

Re: Octave chokes on this in some systems


From: Paul Kienzle
Subject: Re: Octave chokes on this in some systems
Date: Mon, 14 Nov 2005 11:55:42 -0500
User-agent: Mutt/1.2.5.1i

On Sun, Nov 13, 2005 at 11:51:15PM -0500, John W. Eaton wrote:
> The following change to Octave will allow the test_caller/test_callee
> functions to work with GCC 4.0.2, at least on my system (Debian x86
> testing, everything compiled with GCC 4.0.2).

It also removes the problems with listen().

> But since the only
> change to Octave is to move the function definition from a .cc file to
> a .h file, this does seem to indicate a bug of some sort in GCC or
> libstdc++ (octave_value_list is implemented using a std::vector
> object).
> 
> The crash was happening in the octave_value_list destructor.  Maybe
> the problem is similar to this one:
> 
>    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196
> 
> ?
> 
> The diff is relative to the current CVS.  To apply it to older
> sources, change octave_idx_type to int.  Or, just make the same change
> by hand (move the definition of the resize function from oct-obj.cc to
> oct-obj.h).

The patch isn't in the current CVS nor did it apply cleanly.

Thanks,

        - Paul



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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