Re: [Bug-apl] *** Spam *** Error compiling on Mac OS X 10.13.6

2019-04-29 Thread Dr . Jürgen Sauermann
Hi Jay, thanks a lot. I will look into using sem_open() instead of sem_init(). /// Jürgen On 4/29/19 10:15 AM, Jay Foad wrote: According to stackoverflow, Darwin doesn't support unnamed semaphores, so sem_init

Re: [Bug-apl] *** Spam *** Error compiling on Mac OS X 10.13.6

2019-04-29 Thread Jay Foad
According to stackoverflow, Darwin doesn't support unnamed semaphores, so sem_init is deprecated and always returns failure, and you should use named semaphores (sem_open) instead. https://stackoverflow.com/questions/1413785/sem-init-on-os-x/1452182 Jay. On Thu, 25 Apr 2019 at 15:13, Dr. Jürgen

Re: [Bug-apl] *** Spam *** Error compiling on Mac OS X 10.13.6

2019-04-25 Thread Louis Chrétien
I searched the bug-apl archive, for “sem_init”, and it seems there was an issue around SVN 624. If that helps… By the way, same problem with macOS 10.14.4 and Xcode 10.2.1 g++ -DHAVE_CONFIG_H -I. -I..-Wall -I sql -Wold-style-cast -Werror -g -O2 -MT apl-Id.o -MD -MP -MF .deps/apl-Id.Tpo

Re: [Bug-apl] *** Spam *** Error compiling on Mac OS X 10.13.6

2019-04-25 Thread Xiao-Yong Jin
This is what I use for configure CXXFLAGS="-march=native -I/opt/local/include -Wno-deprecated-declarations -Wno-old-style-cast" > On Apr 25, 2019, at 8:45 AM, Dr. Jürgen Sauermann > wrote: > > Hi Louis, > > I vaguely remember that we had that problem on MacOS earlier, but I don't > remember

Re: [Bug-apl] *** Spam *** Error compiling on Mac OS X 10.13.6

2019-04-25 Thread Dr . Jürgen Sauermann
Hi Louis, I vaguely remember that we had that problem on MacOS earlier, but I don't remember anymore what the solution was. Any proposals? /// Jürgen On 4/25/19 2:51 PM, Louis Chrétien wrote: I’ve j