Re: Wierd errors with Arduino 1.6.9 and ESP2866 platform
Posted: Mon May 30, 2016 3:12 am
Thank you for your responses. I enabled verbose output during compile and noted that Time.h was not being loaded. Suspecting a name conflict with time.h (Windows is case-insensitive in file names) I renamed the Time library to ArduTime and it's members to ArduTime.h and ArduTime.cpp, changing also the name in the #include statements where necessary.
The compile now picked up the ArduTime library and a missing definition in the ArduTime header file. Fixed that and now all is good.
The fact that the compiler did not complain about the name conflict would have to be regarded as a compiler bug.
The compile now picked up the ArduTime library and a missing definition in the ArduTime header file. Fixed that and now all is good.
The fact that the compiler did not complain about the name conflict would have to be regarded as a compiler bug.