[MERGED] expected declaration before '}' token

This topic has been merged into compiling for board.