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

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

[Octave-bug-tracker] [bug #35819] Misleading error messages in mkoctfile


From: Walter White
Subject: [Octave-bug-tracker] [bug #35819] Misleading error messages in mkoctfile
Date: Mon, 12 Mar 2012 21:18:56 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2

URL:
  <http://savannah.gnu.org/bugs/?35819>

                 Summary: Misleading error messages in mkoctfile
                 Project: GNU Octave
            Submitted by: homerun4711
            Submitted on: Mo 12 Mär 2012 21:18:54 GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The error handling of mkoctfile could be improved, it is misleading now.

The current version (MinGW, 3.6) just reacts on the return value "sys" of the
command

[sys, out] = system (cmd);

If the return value is 127, which means error during execution I guess, the
error message always says that mkoctfile is not found. 
This is incorrect, mkoctfile is available and works if called correctly.

E.g.

octave:1> mkoctfile --mex test.c test2.c -argcheck -output Filename

results in

mkoctfile: unrecognized argument -argcheckwarning: unable to find mkoctfile in
expected location:  ...

While the call without arguments

octave:2> mkoctfile

results in 

usage: mkoctfile [options] file ...
warning: unable to find mkoctfile in expected location: ...





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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