[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] array subscript is below array bounds
From: |
Christian Robert |
Subject: |
Re: [Bug-apl] array subscript is below array bounds |
Date: |
Tue, 17 Jan 2017 22:56:00 -0500 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
I work couple of hours this evening to try to fix the "array-bounds" problem,
(on rastbery pi 3 (very slow to compile))
and I got an easy solution for the first two warnings aka: Assert(r<rho) to be Assert(r>=0
&& r<rho) (to silence the compiler and it worked)
but I got an other warning later that I cannot silence in the same way.
you are right, new compiler are bogus in this area.
I suggest you to add -Wno-array-bounds to the Makefile in src/
Xtian.
On 2017-01-17 17:00, Christian Robert wrote:
https://gcc.gnu.org/ml/gcc/2009-09/msg00270.html
Juergen, I found this link that may possibly explain why those
"error: array subscript is below array bounds" and possible
work around.
if it may help,
Xtian.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Bug-apl] array subscript is below array bounds,
Christian Robert <=