+1
0
-1

identifier undefined error with code warrior

While building an environment using codewarrior compiler for the statement:
for(int i=0;i<4;i++) it is throwing an error that expected expression and identifier "i" is...

Posting in: 

1 Answers:

+1
0
-1

Hello Pannuru,

Your code looks to be compiled for c99.

You need --c99 added to tools>options>c/c++>language>parser flags.

Your preprocess/compiler should also be...