It is not clear what compiler are you using. You have to be using avr-gcc or avr-g++
Please post the full build log of a rebuild. Goto build log, right click, copy to clipboard, paste here in code or quote tags.
And make sure to reset the locale to some English locale.