c99 & terminal
Hi all,
my problem is that when I compile with terminal using "gcc filename" I think that the standard used by the terminal is c89, because for example if I write a loop whith a variable declared inside, the terminal give me an error writing "a.c:4: error: ‘for’ loop initial declaration used outside C99 mode", so the question is how can I set the terminal to make he compile me using standard c99?
Thanks in advance.
A.
MacBook, Mac OS X (10.6.7)