Hi,
thanks for reporting this.
Fixed in *SVN 1914*.
Best Regards,
Jürgen
On 11/27/25 00:31, M.Hall wrote:
SVN 1913. Similar problem on macos 15.7.2, but in Quad_MX.cc
g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -I
/Volumes/ARCHIVE/Language/APL/gnu-apl/SVN -g -O2 -I
/Volumes/ARCHIVE/Language/APL/gnu-apl/SVN -MT apl-Quad_MX.o -MD -MP
-MF .deps/apl-Quad_MX.Tpo -c -o apl-Quad_MX.o `test -f 'Quad_MX.cc' ||
echo './'`Quad_MX.cc
Quad_MX.cc:1266:10: error: out-of-line definition of 'subfun_to_axis'
does not match any declaration in 'Quad_MX'
1266 | Quad_MX::subfun_to_axis(const UCS_string & name) const
| ^~~~~~~~~~~~~~
1 error generated.
On Wed, Nov 26, 2025 at 1:12 PM Blake McBride <[email protected]> wrote:
I get the following build error on Fedora Linux:
make[2]: Entering directory '/drive1/ROOT/home/blake/Backup/apl/src'
g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -I
/home/blake/Backup/apl -I/usr/include -I/usr/include
-Wno-maybe-uninitialized -Wno-class-memaccess -I
/home/blake/Backup/apl -MT apl-Quad_FFT.o -MD -MP -MF
.deps/apl-Quad_FFT.Tpo -c -o apl-Quad_FFT.o `test -f 'Quad_FFT.cc'
|| echo './'`Quad_FFT.cc
Quad_FFT.cc:368:1: error: no declaration matches ‘sAxis
Quad_FFT::subfun_to_axis(const UCS_string&) const’
368 | Quad_FFT::subfun_to_axis(const UCS_string & name) const
| ^~~~~~~~
Quad_FFT.cc:368:1: note: no functions named ‘sAxis
Quad_FFT::subfun_to_axis(const UCS_string&) const’
In file included from Quad_FFT.cc:25:
Quad_FFT.hh:37:7: note: ‘class Quad_FFT’ defined here
37 | class Quad_FFT : public QuadFunction
| ^~~~~~~~
--blake
On Wed, Nov 26, 2025 at 12:38 PM Dr. Jürgen Sauermann via Bugs and
suggestions for GNU APL <[email protected]> wrote:
Hi Paul, Mike,
thanks, fixed in *SVN 1913*.
Best Regards,
Jürgen
On 11/20/25 18:53, Paul Rockwell wrote:
It's not you, Mike. I got the same error.
There appears to be an extraneous definition of the variable
"var" at line 1433 of src/UserFunction.cc
<http://UserFunction.cc> that is being flagged by the
compiler. Just FYI - I'm running macOS 26.1 on Apple Silicon
using the compiler in Xcode 26.1.1. The compiler is Apple
clang version 17.0.0 (clang 1700.4.4.1)
Looking over the code, there is no use of that variable in
the scope in which it's defined. I compiled SVN 1912 on Linux
(Fedora 43, gcc 15.2.1) and get no error or warning displayed.
I simply commented the extraneous definition out. The
compilation succeeded and I've not found any ill effects.
Here's the diff:
Index: src/UserFunction.cc
===================================================================
--- src/UserFunction.cc(revision 1912)
+++ src/UserFunction.cc(working copy)
@@ -1430,7 +1430,7 @@
}
vector<Symbol *> local_vars;
-UCS_string var;
+// UCS_string var;
while (body.size() >= 2)
{
const Token & Tsem = body[body.size() - 2];
See if this works for you.
- Paul Rockwell
On Nov 20, 2025, at 11:39 AM, M.Hall <[email protected]>
<mailto:[email protected]> wrote:
I'm getting a compile error with SVN 1912; not sure what is
goofy about my setup to cause it.
MacBook M3 running Sequoia 15.7.1
$ svn up
Updating '.':
At revision 1912.
$ ./configure --without-x
$ make clean
$ make
...
g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -I
/Volumes/ARCHIVE/Language/APL/gnu-apl/SVN -g -O2 -I
/Volumes/ARCHIVE/Language/APL/gnu-apl/SVN -MT
apl-UserFunction.o -MD -MP -MF .deps/apl-UserFunction.Tpo -c
-o apl-UserFunction.o `test -f 'UserFunction.cc' || echo
'./'`UserFunction.cc
UserFunction.cc:1433:12: error: redefinition of 'var' with a
different type: 'UCS_string' vs 'Symbol &'
1433 | UCS_string var;
| ^
UserFunction.cc:1347:35: note: previous definition is here
1347 | UserFunction::fix_lambda(Symbol & var, const
UCS_string & text)
| ^
1 error generated.
make[3]: *** [apl-UserFunction.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
$ uname -a
Darwin MK3 24.6.0 Darwin Kernel Version 24.6.0: Mon Aug 11
21:16:31 PDT 2025;
root:xnu-11417.140.69.701.11~1/RELEASE_ARM64_T6030 arm64
$ svn info
Path: .
Working Copy Root Path: /Volumes/XYZ/Language/APL/gnu-apl/SVN
URL: http://svn.savannah.gnu.org/svn/apl/trunk
Relative URL: ^/trunk
Repository Root: http://svn.savannah.gnu.org/svn/apl
Repository UUID: bd74f7bd-1a55-4bac-9fab-68015b139e80
Revision: 1912
Node Kind: directory
Schedule: normal
Last Changed Author: j_sauermann
Last Changed Rev: 1912
Last Changed Date: 2025-11-17 10:50:50 -0600 (Mon, 17 Nov 2025)
I'm happy to provide more info if needed.
Thanks!
--
Mike Hall
--
Mike Hall