Issue of deprecated warnings in 3.0.1b and 3.1.x

David Bateman David.Bateman at motorola.com
Wed Apr 9 08:16:33 CDT 2008


David Bateman wrote:
> The warnings like
>
>     warning ("Octave:deprecated-function",
>         ["is_list is obsolete and will be removed from a future\n",
>                "version of Octave, please use islist instead"]);
>
> should instead be written as
>
>     warning ("Octave:deprecated-function",
>         strcat("is_list is obsolete and will be removed from a future\n",
>                "version of Octave, please use islist instead"));
>
> otherwise the warning is incorrectly printed. Do you want a patch?
>
>   


The attached script should fix it...

D.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: script2
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080409/3959a761/attachment.ksh 


More information about the Bug-octave mailing list