warnings which don't help user to undesrtand where the problem is

Ben Abbott bpabbott at mac.com
Sat Jan 3 19:57:30 CST 2009


On Jan 3, 2009, at 8:19 PM, Sergei Steshenko wrote:

> Hello All,
>
> running a script of mine I've seen these warnings:
>
> warning: range error for conversion to character value
> warning: implicit conversion from scalar to string
>
> .
>
> I'd expect at least function name (either in 'octave' or in C++) of  
> the
> function emitting such warnings.
>
> Thanks,
>  Sergei.

Sergei,

Can you reproduce the problem with a simple example?

As it is, the text for the first error exists in several places.

ov-float.cc
ov-flt-re-mat.cc
ov-re-mat.cc
ov-scalar.cc
ov-base-int.cc
ov-re-sparse.cc

Regarding the text for the second warning, I can't find it in any of  
the sources.

Ben



More information about the Bug-octave mailing list