octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #47908] Octave:classdef-to-struct not shown by


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #47908] Octave:classdef-to-struct not shown by warning_ids.m
Date: Sun, 15 May 2016 10:35:11 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #4, bug #47908 (project octave):

Reading between the lines in comment #2 suggests that jwe thinks that it is
not necessary to document all warnings.

I think it is important to have a clear statement of what the warning means,
beyond the usually brief messages.  For example, suggesting alternative idioms
to replace discouraged ones would be useful.  Even if this isn't all in one
place in warning_ids.m, it should IMHO be somewhere.

I agree there is little point in entries like


'Octave:singular-matrix'
'Octave:nearly-singular-matrix'
     By default, the 'Octave:nearly-singular-matrix' and
     'Octave:singular-matrix' warnings are enabled.


but entries like 


'Octave:str-to-num'
  If the 'Octave:str-to-num' warning is enabled, a warning is printed
  for implicit conversions of strings to their numeric ASCII
  equivalents.  For example,
    "abc" + 0
     => 97 98 99
  elicits a warning if the 'Octave:str-to-num' warning is enabled.
  By default, the 'Octave:str-to-num' warning is disabled.


is really useful.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47908>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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