[Top][All Lists]

[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


                 Summary: mex() function does not raise error when compilation
                 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



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:

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


Reply to this item at:


  Message sent via Savannah

reply via email to

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