[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47622] "warning: function shadows a built-in
From: |
Avinoam Kalma |
Subject: |
[Octave-bug-tracker] [bug #47622] "warning: function shadows a built-in function" in +folder |
Date: |
Mon, 04 Apr 2016 20:21:58 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?47622>
Summary: "warning: function shadows a built-in function" in
+folder
Project: GNU Octave
Submitted by: avinoam
Submitted on: Mon 04 Apr 2016 08:21:57 PM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Avinoam
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
Using mexopencv <https://github.com/kyamagu/mexopencv>,
after addpath ('C:\mexopencv') I get in Octave 4.0.1+ (development branch) the
following warnings
warning: function .+cv\glob.m shadows a built-in function
warning: function .+cv\norm.m shadows a built-in function
warning: function .+cv\resize.m shadows a built-in function
after reporting this in mexopencv
([https://github.com/kyamagu/mexopencv/issues/239]),
it seems that the problem is with Octave implementation of namespace
functions. Since norm is in +cv forlder,
cv.norm refers to +cv\norm.m and norm refers to Octave's norm,
and there is no shadowing of built-in function
(see that discussion there).
Note that only root folder is added to the path and not +cv, (which cannot be
added). Note also that Octave does not recognize functions in
mexopencv\+cv\private (bug#45444).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47622>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47622] "warning: function shadows a built-in function" in +folder,
Avinoam Kalma <=