I have over 20 Arduino sketches that I have been developing on two computers for several years: one is a Win10 desktop and the other a Win7 Thinkpad notebook. I stayed with IDE 1.0.6 until a few months ago when I went to IDE 1.6.5 on the Desktop - it is still at 1.6.5 and it still compiles all my sketches OK. (all my sketches are duplicated on both computers)
A bit later I upgrades to IDE 1.6.6 on the Thinkpad and that was when i started having issues with libraries being out of date (notably Time, oneWire and DallasTemperature). I worked my way through that OK (somehow) but today i tried to take the Thinkpad up to 1.6.7 and the compile errors returned and I can't work out the issue.
Using the library manager I updated the 5 libraries it suggested (DallasTemperature, DS1307RTC, FreqCount, OneWire, TimeAlarms). This didn't work so I tried copying the sketches/libraries folder on my Desktop yto the Thinkpad but no change.
Attached is a ZIP of the whole code from just one of my affected sketches (Capmon1) and the errors messages. I emphasise that the problem is happening in many of my other sketches, mainly / often with errors like "'XXX' was not declared in this scope", for example another sketch (Scoo4) reports similar errors with time_t plus errors associated with DeviceAddress array in the DallasTemperature library. One really weird thing is I can compile the related examples, which are what I would have based my code on originally ...
Spent half a day already researching and experimenting, but no luck. Needless to say any suggestions greatly appreciated...
PS: should have mentioned I did do a completely fresh uninstall/reinstall to IDE 1.6.7 on the Thinkpad and downloaded and used fresh versions of PaulS libraries for Time, TimeAlarms and DS1307RTC
CAPmon1.zip (9.09 KB)
Compile errors Capmon1d IDE 167.pdf (47 KB)
Compile errors Scoo4v IDE 167.pdf (53.4 KB)