1.6.3 and Chronodot

Dear All,
Have been using my mega and chronodot rtc for a number of years with little or no trouble. Just updated to 1.6.3 and get the attached error file. Looks like the compiler does not like the Chronodot .ccp and .h library files. The files are quite old, so searched web for latest, but everything out there seems of similar vintage. Have never had errors before in my include files.
Any ideas?

GOD

1.6.3 and Chronodot errors.doc (20.5 KB)

That is caused by the newer compiler. It now requires that variables declared PROGMEM must also be declared const.

static const uint8_t daysInMonth [] PROGMEM

Pete

Dear Pete,
Many thanks, changed it, saved it, compiles beautifully, I am back in business. Have previously never modified an include file

Much Appreciated, thank you for your time

GOD

el_supremo: That is caused by the newer compiler. It now requires that variables declared PROGMEM must also be declared const.

static const uint8_t daysInMonth [] PROGMEM

Pete

Technically the old compiler required this as well. It is just that the older tools were less strict and also accepted an improper declaration.

The proper declaration will work on both the newer tools as well as the older tools.

--- bill