Closed GoogleCodeExporter closed 9 years ago
This is also a problem for me on Arduino IDE 022.
I loaded up the code in Arduino IDE 0016 and it worked as expected.
People in the forum link below saw a similar error message and their suggestion
was the following: "You can't directly access a library from another library."
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1255235742
The error message received in Arduino 022 is:
tetris:-1: error: expected ',' or '...' before '&' token
tetris:-1: error: ISO C++ forbids declaration of 'pos_t' with no type
Original comment by gre...@gmail.com
on 30 Jan 2011 at 5:35
Yeah, at some point Arduino stopped letting you place typedefs in a .pde file.
The fix is to put them in a separate header. I've fixed it here:
https://github.com/cibomahto/LoLShield/commit/6d86e2419b66e2b8d48a5d4955b234232e
7076ff
You can copy that out, and it will be in the next release!
Original comment by Matt.M...@gmail.com
on 3 Jul 2011 at 5:39
"tetris:-1: error: ISO C++ forbids declaration of 'pos_t' with no type" still
appears
Original comment by karlosp...@gmail.com
on 6 Oct 2011 at 4:24
This change was committed to a different repository and never pushed to this
one, so the compilation error still persists here.
Original comment by r...@ihack.net
on 16 Aug 2013 at 1:15
Original issue reported on code.google.com by
unacloc...@gmail.com
on 26 Jan 2011 at 2:05