To make sandbox/rick/rexxutil compile with gcc 5.4.1 I had to apply a few
changes
~~~
Index: interpreter/classes/NumberStringClass.cpp
===
--- interpreter/classes/NumberStringClass.cpp (revision 11704)
+++
>
> how did you determine this?
>
On Linux you'd use gdb. We have a short Wiki page how to debug on Linux at
https://sourceforge.net/p/oorexx/wiki/how-to-debug-oorexx/
Like this:
~~~
rexxutil-debug$ gdb bin/rexximage
(gdb) run
Starting program: rexxutil-debug/bin/rexximage
[Thread debugging
I made a debug on MacOs with Xcode (after fixing the compile error).rexximage(30751,0x10075b380) malloc: *** error for object 0x101801800: pointer being freed was not allocated#0 0x7fff7b350b66 in __pthread_kill ()#1 0x0001007540f0 in pthread_kill ()#2 0x7fff7b2ac1ae in abort ()#3
Hmmm, it's strange I'm not seeing a similar problem on Windows. It sounds
plausible that's the problem. For my education, how did you determine this?
Rick
On Sat, Feb 2, 2019 at 6:00 AM Jean Louis Faucher
wrote:
> FileNameBuffer
> You should create a copy constructor and a copy assignment
FileNameBuffer
You should create a copy constructor and a copy assignment operator.
With their default implementation created by the compiler, the buffer is copied
as-is, and you have multiple delete of the same buffer.
FileNameBuffer(const FileNameBuffer );
FileNameBuffer =(const
oops, I still had some uncommitted code.
Rick
On Fri, Feb 1, 2019 at 7:57 PM Enrico Sorichetti via Oorexx-devel <
oorexx-devel@lists.sourceforge.net> wrote:
> Hi Rick,
> I gave it a try with
>
> svn checkout https://svn.code.sf.net/p/oorexx/code-0/sandbox/rick/rexxutil
> oorexx.rick
>
>
> svn
Hi Rick,
I gave it a try with
svn checkout https://svn.code.sf.net/p/oorexx/code-0/sandbox/rick/rexxutil
oorexx.rick
svn info
Path: .
Working Copy Root Path: /opt/oorexx.rick
URL: https://svn.code.sf.net/p/oorexx/code-0/sandbox/rick/rexxutil
Relative URL: ^/sandbox/rick/rexxutil
Repository
For my rexxutil sandbox version, I'm able to get a clean build on Windows,
but on Linux, I get a crash running rexximage. I've tried debugging this
using ddd, but it doesn't really give my any useful information. I'd really
appreciate any assistance you can provide.
Rick