[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-apl] Revision 1155: array subscript is below array bounds
From: |
Jerome Ibanes |
Subject: |
[Bug-apl] Revision 1155: array subscript is below array bounds |
Date: |
Fri, 24 May 2019 20:33:31 -0700 |
Linux x86_64, Debian 8, g++ 4.9.2-10+deb8u1.
GNU APL Revision 1155.
[...]
g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -Werror -rdynamic -g
-O2 -MT apl-PrimitiveFunction.o -MD -MP -MF
.deps/apl-PrimitiveFunction.Tpo -c -o apl-PrimitiveFunction.o `test -f
'PrimitiveFunction.cc' || echo './'`PrimitiveFunction.cc
In file included from PrintBuffer.hh:28:0,
from Cell.hh:30,
from CharCell.hh:24,
from Value.hh:24,
from ArrayIterator.hh:25,
from PrimitiveFunction.cc:24:
Shape.hh: In static member function ‘static Value_P
Bif_COMMA::prepend_scalar(const Cell&, Axis, Value_P)’:
Shape.hh:109:41: error: array subscript is below array bounds
[-Werror=array-bounds]
{ Assert(r < rho_rho); return rho[r]; }
^
Shape.hh: In static member function ‘static Value_P
Bif_COMMA::append_scalar(Value_P, Axis, const Cell&)’:
Shape.hh:109:41: error: array subscript is below array bounds
[-Werror=array-bounds]
{ Assert(r < rho_rho); return rho[r]; }
^
Shape.hh: In static member function ‘static Token
Bif_COMMA::catenate(Value_P, Axis, Value_P)’:
Shape.hh:109:41: error: array subscript is below array bounds
[-Werror=array-bounds]
{ Assert(r < rho_rho); return rho[r]; }
^
Shape.hh:109:41: error: array subscript is below array bounds
[-Werror=array-bounds]
{ Assert(r < rho_rho); return rho[r]; }
^
cc1plus: all warnings being treated as errors
Makefile:2664: recipe for target 'apl-PrimitiveFunction.o' failed
Thank you.
- [Bug-apl] Revision 1155: array subscript is below array bounds,
Jerome Ibanes <=