Hi, CC-RL user manual says that it complies to C99. But i am getting error "E0520268 : Declaration may not appear after executable statement in block". This mainly because of no support for " intermingled declarations and code: variable declaration is no longer restricted to file scope or the start of a compound statement (block), facilitating static single assignment form" Ex: { int i=20; for(i=0;i 20;i++){ //Some dummy activity } int d=40; } If compiler actually supports "C99" i will not get error for above code. But in the case of "CC-RL 1.03", i am getting "E0520268" error. Please let me know whether any setting is there in CS+ to support C99.
↧