[Users] (no subject)
schnetter at cct.lsu.edu
Thu Jul 14 16:42:27 CDT 2011
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++.
On Thu, Jul 14, 2011 at 5:40 PM, Petr Tsatsin <ptsatsin at 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 at einsteintoolkit.org
Erik Schnetter <schnetter at cct.lsu.edu> http://www.cct.lsu.edu/~eschnett/
More information about the Users