Petr
All compilers today have options to allow C99 constructs, i.e. to switch them to C99 mode. In gcc, you can try -std=gnu99. You may also want to use -std=gnu++0x for C++.
-erik
On Thu, Jul 14, 2011 at 5:40 PM, Petr Tsatsin ptsatsin@fau.edu wrote:
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?
Thank you.
Petr Tsatsin.
Users mailing list Users@einsteintoolkit.org http://lists.einsteintoolkit.org/mailman/listinfo/users