Re: [EXTERNAL]Building GNU APL with clang

2023-10-02 Thread Russtopia
Aha! I got it to build. In Termux, which currently uses clang-16: After running ./configure, 1. Add -std=gnu++11, rather than c++11, to src/Makefile and src/emacs_mode/Makefile CXXFLAGS; 2. Add #include to src/Thread_context.cc and change the call near line 49 from pthread_cancel(thread) to pthre

Re: [EXTERNAL]Building GNU APL with clang

2023-10-02 Thread Russtopia
Hi, thank you all for the rapid replies. Shortly after posting, I figured out how to set clang-11 as my default cc and c++ on my Devuan x86_64 laptop, and it builds perfectly there. So strange; I wonder what is different about the Termux clang environment. (It is a native ARM aarch64 Linux env, h

RE: [EXTERNAL]Building GNU APL with clang

2023-10-02 Thread Callahan, Brian Robert
Hi Russ – On OpenBSD, clang has been the default compiler for many years. I routinely build APL trunk on OpenBSD, and never had any problems so long as I add -std=gnu++11 to CXXFLAGS. I just rebuilt APL from a clean SVN checkout and it built without issues. I am using clang-16.0.6. Not sure wh

Re: Building GNU APL with clang

2023-10-02 Thread Peter Teeson
Yes many times on my Apple Mac which runs macOS. > On Oct 2, 2023, at 8:07 PM, Russtopia wrote: > > Hello, See topic. > > I would rather not, but in this case I am trying to re-build GNU APL in > Termux on my newer Android phone, and Termux decided some time ago to remove > gcc entirely from

Building GNU APL with clang

2023-10-02 Thread Russtopia
Hello, See topic. I would rather not, but in this case I am trying to re-build GNU APL in Termux on my newer Android phone, and Termux decided some time ago to remove gcc entirely from its packages, in preference to clang. :( I am not up to date at all on modern C++, but this conversation on Stac

Re: Execute on empty element produces a stack trace

2023-10-02 Thread Hans-Peter Sorge
Hi Jürgen, thank you a lot. Best Regards, Hans-Peter Am 29.09.23 um 16:08 schrieb Dr. Jürgen Sauermann: Hi Peter, thanks, fixed in *SVN 1734*. Best Regards, Jürgen On 9/27/23 23:08, Hans-Peter Sorge wrote: Hi, *This gives a stack trace:*     X←0 2⍴ ⊂'0'     ⍎¨X[;1]

Re: )LOAD dumped WS had a name clash - ⎕FC affects )DUMP

2023-10-02 Thread Hans-Peter Sorge
Hello Jürgen, thank you. A bit late. But I found the mail in my spam folder. Bets Regards Hans-Peter Am 30.09.23 um 19:29 schrieb Dr. Jürgen Sauermann: Hi Hans-Peter, thanks, that explains it. Interesting side-effect of ⎕FC. Hopefully fixed in *SVN 1735*. If you have broken workspaces creat

macOS warning present in build 1735

2023-10-02 Thread Louis Chretien via Bugs and suggestions for GNU APL
A bunch of warnings are present in the build 1735 of GNU APL on Mac OS:/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -I ./.. -g -O2  -DAP_NUM=100 -I/opt/local/include -I /Users/admin/Subversion/apl   -o AP100 AP100-AP100.o AP100-APmain.o ../AP100-Backtrace.o ../AP100-Svar_DB.o ../AP100-Svar_r