Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By gerardwr
#42533 I've been using Arduino 1.6.7 + Board version 2.0.0 for a while now.

Compared to 1.6.5, functions, etc have to be defined in the source before they are used. The "automatic" forward declaration seems to be removed or broken. So you may have to move code within the sketch source to prevent compile errors, or add a forward declaration yourself.

Here's a general Wiki on forward declaration : https://en.wikipedia.org/wiki/Forward_declaration

Apart from that, it works fine for me.

EDIT : Just updated to Board version 2.1.0. Works fine too :-)
User avatar
By krzychb
#42538 Arduino iDE 1.6.7 and stable platform package 2.1.0 works without any issues to me as well.
The automatic forward declaration is provided by Arduine IDE to make C programming easier.
Indeed this functionality is broken since Arduino IDE 1.6.6 – https://github.com/arduino/arduino-builder/issues/68
The good news is that is already fixed in nightly build of Arduino 1.6.8 - I have just checked it with 2.1.0 version of platform package.
Krzysztof
User avatar
By gerardwr
#42541
krzychb wrote:The good news is that is already fixed in nightly build of Arduino 1.6.8 - I have just checked it with 2.1.0 version of platform package.
Krzysztof


Good news, thanks!