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.

Reply via email to