|
From: | Dr . Jürgen Sauermann |
Subject: | Re: [Bug-apl] errors building gnu-apl 1.7 |
Date: | Wed, 24 Apr 2019 18:44:20 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Hi Jeff, the warning regarding -Wconstant-logical-operand is bogus. I have nevertheless updated the sources; the line now reads: ostream * log = (LOG_startup != 0 || LOG_Svar_DB_signals != 0) ? & cerr : 0; You can either fix that line manually, or update to the latest SVN version 1138 where the line is corrected. The sirst two warnings (-Wnull-dereference) are a little obscure since the indicated line numbers in ScalarFunction.cc do not show anything close to the printout of the error. This could have two reasons: A. you compile a rather old version of GNU APL (for examle the one stored on the GNU mirrors). In that case I would recommend to fetch the GNU APL code from our SVN repository at savannah (see https://savannah.gnu.org/svn/?group=apl with an empty modulename). B. your compiler expands some macros somewhere and displays the expaneded text while loosing track of the source code lines. In that case I would disable this particular warning (reconfigure the sources with something like: CXXFLAGS = -Wnonull-dereference ./configure ). I believe these 2 warning are also not significant. Best Regards, Jürgen On 4/24/19 5:01 PM, Jeff Derby wrote:
this was on a Mac running macOS 10.14.4 using Apple's command line tools: |
[Prev in Thread] | Current Thread | [Next in Thread] |