Hi Petr,
On Thu, Jul 14, 2011 at 05:40:02PM -0400, Petr Tsatsin wrote:
<p>I'm trying to compile einstaintoolkit for my local workstation without using simfactory and i got this type of error ‘for’ loop initial declarations are only allowed in C99 mode. I'm using gnu compilers particulary gcc which dosen't fully support C99, as far as I understand. I was wondering if somebody had the same problems? Any suggestions how to deal with this error? </p><p>Thank you.</p><p>Petr Tsatsin.</p>
gcc does fully support C99 - probably better than others, just not by default.
Add "-std=gnu99" to your CFLAGS and you should be fine.
Frank