[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #36743] Octave:language-extension warning warn
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #36743] Octave:language-extension warning warns about Octave's own files |
Date: |
Sat, 2 Jul 2016 13:06:04 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #36743 (project octave):
Item Group: Feature Request => Regression
Status: Confirmed => Patch Submitted
_______________________________________________________
Follow-up Comment #14:
Here are two patches that allow pragmas to control parse-time warnings.
The first is a slight refinement of the previous patch; it just allows
variable whitespace between the arguments, and makes it easier to add other
pragmas later.
The second allows PKG_ADD to specify parse-time warnings for all files in the
directory.
Neither of these controls run-time warnings. However, I have found them
useful for reminding me when I use Octave's language extensions in code that
is intended to be Matlab compatible.
I'm not sure if this partial solution is considered sufficient to make it into
4.2.0, but I'd love to see it there.
I'm retagging this as "regression", because it used to be possible to set
warnings for "automatic broadcast" and it no longer is. (Unfortunately, these
patches don't address that since it is a run-time issue.) That is a very easy
regression to fix.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36743>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #36743] Octave:language-extension warning warns about Octave's own files,
Lachlan Andrew <=