Hello,
I experience a strange effect when using "loop" somewhere in a variable. Example:
unsigned long
lop,
looop,
mylooper,
tmp;
void setup() {
}
void loop() {
}
Compiling this with arduino 1.8.5 works well:
Der Sketch verwendet 3620 Bytes (12%) des Programmspeicherplatzes. Das Maximum sind 28672 Bytes.
Globale Variablen verwenden 149 Bytes (5%) des dynamischen Speichers, 2411 Bytes für lokale Variablen verbleiben. Das Maximum sind 2560 Bytes.
under 1.8.7 I get the following messages:
Arduino: 1.8.7 (Linux), Board: "Arduino/Genuino Micro"
loop_effect:10:1: error: expected unqualified-id before 'void'
void setup() {
^
loop_effect:5:1: error: 'mylooper' does not name a type
mylooper,
^
exit status 1
expected unqualified-id before 'void'
commenting out the declaration of "mylooper" it also works fine (as well if I change it to "myloper"). It seems that "loop" somewhere in a declaration leads to this effect.
Does anyone have an idea?
/Hk66