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

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

[Octave-bug-tracker] [bug #36743] Octave:matlab-incompatible warning war


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #36743] Octave:matlab-incompatible warning warns about Octave's own files
Date: Fri, 29 Jun 2012 10:20:40 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

Follow-up Comment #1, bug #36743 (project octave):

I suppose Octave's "initial path" include OF packages? 
i.e., 
  <OCTAVE_HOME/share/octave/packages/
and  
  ~/octave/ ?
(...which can change during the day as pkgs get loaded/unloaded)


AFAIU this warning_id is only useful for development code meant to also be run
with the competition (ML / Freemat / JMathlib / (Scilab (after translation))
so your suggestion makes sense to me.

For a start, the entire <OCTAVE_HOME>/share/ tree can be excluded from this
warning_id.

~/octave/ can be trickier as:
- on Linux that's where OF pkgs end up when installed as non-root (at least on
my box), so it should be excluded for this warning_id, but: 
- on Windows that's where I suppose people do their dev work (based on a.o.,
the 3.2.4 binary which created that directory) so it should be included for
the warning_id.
AFAIK on Windows, m-files in OF packages are always installed in
<OCTAVE_HOME/share/octave/packages/

Wouldn't checking for path in warning() induce a lot of overhead in the
parser?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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