From maintainers-request at octave dot org Tue Dec 6 16:39:55 2005 Subject: Re: message ids for warnings and errors From: "John W. Eaton" To: Bill Denney Cc: Stefan van der Walt , maintainers@octave.org Date: Tue, 6 Dec 2005 17:39:49 -0500 On 6-Dec-2005, Bill Denney wrote: | On Tue, 6 Dec 2005, Stefan van der Walt wrote: | | > I wonder how consistent they are in the usage of these strings. The | > best description I could find is at | > | > http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_prog/ch12_er7.html#prog_message_identifiers | > | > and it doesn't refer to a list of pre-defined identifiers. | > | > My vote goes for the lookup-table, rather than the string translation. | | That looks like what I see as well. These identifiers are written in by | the coders of the individual functions (you can add one yourself as part | of your warning). I would say that the warning types should be added as | they are found, and I don't think that they are standard. Yes, I'm not proposing that we implement them all at once, even if we could find a list. I was more interested in seeing whether there was a uniform naming scheme and about how many there are. I suppose the first thing to do is eliminate all the warn_* built-in variables in favor of controlling warnings with warning [on|off] ID. Thanks, jwe