Can't use a global called index ???


hi

has else seen problem

code: [select]
int index = 0;   

void setup() {
  // put setup code here, run once:

}

void loop() {
  // put main code here, run repeatedly:

}


won't compile on due

it compiles fine on uno etc


actually, came across issue while compiling stm32, happens on due both arm devices


is known issue ??

there's lot of macros , functions defined framework supports sketch. there lot of words can't use variables, not normal c reserved words.

can not use time-honored "i" index?


Arduino Forum > Products > Arduino Due (Moderator: fabioc84) > Can't use a global called index ???


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code