[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults i
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave |
Date: |
Thu, 31 Mar 2016 20:32:44 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #70, bug #47372 (project octave):
Seems like the easiest solution is to move the required functions from the
header files into the cpp files. As long as they are small, I would add the
inline keyword and also put a comment above the function. Otherwise I could
easily see us cleaning up and accidentally moving these functions back to the
header file.
On a separate note, you were concerned about identifying all instances where
this might happen. Can you use the nm utility and check whether a variable is
declared 'D' or 'u' between the Linux and Windows binaries to find the
differences? That might be a fairly easy way to get an automatic check,
unless the C++ compiler name mangling is too much.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47372>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave, (continued)
- [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave, Mike Miller, 2016/03/29
- [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave, Rik, 2016/03/29
- [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave, John W. Eaton, 2016/03/30
- [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave, Rik, 2016/03/30
- [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave, Rik, 2016/03/30
- [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave, Hartmut, 2016/03/30
- [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave, John W. Eaton, 2016/03/30
- [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave, John W. Eaton, 2016/03/30
- [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave, Rik, 2016/03/30
- [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave, John W. Eaton, 2016/03/31
- [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave,
Rik <=
- [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave, John W. Eaton, 2016/03/31
- [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave, Rik, 2016/03/31