bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error building APL


From: Blake McBride
Subject: Error building APL
Date: Fri, 1 May 2020 09:06:28 -0500

Greetings,

Trying to build GNU APL rev 1275 on my 64-bit Linux box I get:

[...]
mv -f .deps/apl-Bif_OPER2_RANK.Tpo .deps/apl-Bif_OPER2_RANK.Po
g++ -DHAVE_CONFIG_H -I. -I..    -Wall -I sql -Werror -I/usr/include -I/usr/include/postgresql   -rdynamic -g -O2 -MT apl-Bif_OPER1_REDUCE.o -MD -MP -MF .deps/apl-Bif_OPER1_REDUCE.Tpo -c -o apl-Bif_OPER1_REDUCE.o `test -f 'Bif_OPER1_REDUCE.cc' || echo './'`Bif_OPER1_REDUCE.cc
In file included from PrintBuffer.hh:30:0,
                 from Cell.hh:30,
                 from CharCell.hh:24,
                 from Value.hh:24,
                 from NamedObject.hh:25,
                 from Function.hh:27,
                 from PrimitiveFunction.hh:27,
                 from PrimitiveOperator.hh:24,
                 from Bif_OPER1_REDUCE.hh:24,
                 from Bif_OPER1_REDUCE.cc:23:
Shape.hh: In member function ‘Token Bif_REDUCE::reduce_n_wise(Value_P, Token&, Value_P, uAxis)’:
Shape.hh:133:18: error: ‘shape_Z.Shape::rho[axis]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
         if (rho[r])   { volume /= rho[r];  rho[r] = sh;  volume *= rho[r]; }
             ~~~~~^
Shape.hh:109:41: error: ‘shape_Z.Shape::rho[axis]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
    { Assert(r < rho_rho);   return rho[r]; }
                                         ^
Shape.hh: In member function ‘Token Bif_REDUCE::replicate(Value_P, Value_P, uAxis)’:
Shape.hh:133:18: error: ‘shape_Z.Shape::rho[axis]’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
         if (rho[r])   { volume /= rho[r];  rho[r] = sh;  volume *= rho[r]; }
             ~~~~~^
cc1plus: all warnings being treated as errors
Makefile:3234: recipe for target 'apl-Bif_OPER1_REDUCE.o' failed
make[3]: *** [apl-Bif_OPER1_REDUCE.o] Error 1
make[3]: Leaving directory '/home/blake/Backup/apl/src'
Makefile:4584: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/blake/Backup/apl/src'
Makefile:522: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/blake/Backup/apl'
Makefile:409: recipe for target 'all' failed
make: *** [all] Error 2


reply via email to

[Prev in Thread] Current Thread [Next in Thread]