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

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

[Octave-bug-tracker] [bug #55990] mex() function does not raise error wh


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #55990] mex() function does not raise error when compilation fails
Date: Sun, 24 Mar 2019 14:59:44 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?55990>

                 Summary: mex() function does not raise error when compilation
fails
                 Project: GNU Octave
            Submitted by: apjanke
            Submitted on: Sun 24 Mar 2019 06:59:43 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The mex function does not raise an error when compilation fails. This means
it's hard for a calling script to detect when mex compilation happens. And for
code that's expecting Matlab's mex() behavior of erroring on failure, it can
mess up program logic; for example:
https://github.com/fieldtrip/fieldtrip/issues/1027.

I think the mex function should error() when compilation does not succeed.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55990>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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