Re: Stack traces not displaying correctly on macOS

2024-02-13 Thread Dr . Jürgen Sauermann
Hi Paul, thanks. I have incorporated your diffs, *SVN 1752*. Please check on your Apple since I don't own one (*⎕FIO ¯16* to provoke a stack dump). I was also wondering where macro *_APPLE_* is defined. In a header file (which ?) or with -D on the command line? In the latter case we could let ./

Re: Stack traces not displaying correctly on macOS

2024-02-13 Thread Paul Rockwell
Jürgen, I’ll download and test SVN 1752 on both macOS and a Fedora Intel system I have hanging around. I figured you don’t use a Mac, so that’s why I took it upon myself to exercise some dormant coding skills and provide the diffs. The macro __APPLE__ is a system defined macro for macOS. I w

Re: Stack traces not displaying correctly on macOS

2024-02-13 Thread Paul Rockwell
Just got finished downloading SVN 1752 and recompiling. The Backtrace::show_item() code seems to work fine on both Linux (Fedora 39 x64) and macOS (Sonoma 14.3.1 Apple Silicon). macOS: ⎕FIO ¯16 == Assertion failed

SVN 1752: error in Command.cc doesn't compile on macOS

2024-02-13 Thread Paul Rockwell
When compiling SVN 1752 on macOS, an error is thrown by src/Command.cc: g++ -DHAVE_CONFIG_H -I. -I..-Wall -I sql -I /Volumes/MyPassport/paulrockwell/Documents/apl/trunk -I/opt/local/include -std=c++11 -I /Volumes/MyPassport/paulrockwell/Documents/apl/trunk -MT apl-Command.o -MD -M