[Users] (no subject)
knarf at cct.lsu.edu
Thu Jul 14 16:41:49 CDT 2011
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 835 bytes
Desc: not available
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20110714/23dd8b24/attachment.bin
More information about the Users