Re: [Bug-apl] errors building gnu-apl 1.7

2019-04-25 Thread Dr . Jürgen Sauermann
Hi Jeff, this was actually a valid warning (should have been & and not &&). Fixed in SVN 1143. Thanks, /// Jürgen On 4/25/19 8:49 PM, Jeff Derby wrote: Jürgen, ok, just pulled revision 1142.

Re: [Bug-apl] errors building gnu-apl 1.7

2019-04-25 Thread Jeff Derby
Jürgen, ok, just pulled revision 1142. turned off treating warnings as errors via ./configure CXX_WERROR=no gor a bunch of sem_init deprecated warnings also got the following: - Workspace.cc:595:13: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (mod

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

2019-04-25 Thread Dr . Jürgen Sauermann
Hi Louis, I fixed the chdir() warning (*SVN 1142*). This empty if statement was only included to silence another gcc warning. I also removed the *-W-old-style-cast* warning which seems to be no longer required (all cast should be converted to C++ casts by now). Thanks, /// Jürgen On 4/25/19 6:

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

2019-04-25 Thread Louis Chrétien
I don’t know what the “-Wno-old-style-cast” does, but it did the trick! SVN 1140 now compiles without errors. One other thing: Clang complains about file UserPreferences.cc , line 235: it has an empty body. To silence the warning, you have to move the semicolon to th

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

[Bug-apl] Error compiling on Mac OS X 10.13.6

2019-04-25 Thread Louis Chrétien
I’ve just tried to compile SVN 1140 on Mac OS X 10.13.6, with XCode 10.1. The last version i managed to compile was 1061 (i know, i was a bit negligent… ;) ) I get the following error: g++ -DHAVE_CONFIG_H -I. -I..-Wall -I sql -Wold-style-cast -Werror -g -O2 -MT apl-Id.o -MD -MP -MF .d

Re: [Bug-apl] Patch for building svn r1138 on macOS

2019-04-25 Thread Dr . Jürgen Sauermann
Hi Xiao-Yong, thanks. I made most of the changes in SVN 1140. The reinterpret_cast failed on my machine, so I used a slighly different approach. The reason seems to be that pthread_t is integer on some platforms and a pointer on others.

Re: [Bug-apl] errors building gnu-apl 1.7

2019-04-25 Thread Dr . Jürgen Sauermann
Hi Jeff, sorry, my fault. You should actually set modulename to trunk and then only the trunk is being checked out. If you leave modulename empty (as I incorrectly proposed) then you get all GNU APL versions ever committed, which is much more than what you need to build the latest version. So ye