Re: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode

2018-12-30 Thread Niels Möller
Jeffrey Walton writes: > rsa-sign-tr.c: In function ‘sec_equal’: > rsa-sign-tr.c:243:3: error: ‘for’ loop initial declarations are only > allowed in C99 or C11 mode >for (size_t i = 0; i < limbs; i++) >^ > rsa-sign-tr.c:243:3: note: use option -std=c99, -std=gnu99, -std=c11 > or

error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode

2018-12-29 Thread Jeffrey Walton
Building on my HiKey, which is Aarch64. == $ gcc --version gcc (Debian/Linaro 4.9.2-10+deb8u1) 4.9.2 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A