[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost fram
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should |
Date: |
Mon, 17 May 2021 16:50:05 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #8, bug #60531 (project octave):
The ambiguity occurs when there is no idx_vector(int) constructor and there is
no best choice when the options are char, long int, and pointer to
idx_base_rep. You can see the same behavior with the following simple
example:
class foo
{
public:
foo (char c) { }
// foo (int i) { }
foo (long int li) { }
foo (void *p) { }
};
int main (void)
{
foo x (0);
return 0;
}
For idx_vector, this problem can happen when octave_idx_type and F77_INT are
both int64_t. It doesn't happen if F77_INT is int.
I pushed the following change to ensure that there is always an
idx_vector(int) constructor defined:
http://hg.savannah.gnu.org/hgweb/octave/rev/b36e83cdbf05
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60531>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Sébastien Villemot, 2021/05/05
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Rik, 2021/05/05
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Rik, 2021/05/05
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, John W. Eaton, 2021/05/05
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Rik, 2021/05/14
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Markus Mützel, 2021/05/16
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Rik, 2021/05/16
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Markus Mützel, 2021/05/17
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should,
John W. Eaton <=
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Markus Mützel, 2021/05/18
- [Octave-bug-tracker] [bug #60531] dbstack(N) not omitting innermost frames as it should, Markus Mützel, 2021/05/20