Help understanding an error message

Hello, I am getting this error, and I was wondering if anyone could help.

In file included from C:\Users\brooklyn\Documents\Arduino\libraries\SeeedTFTv2/TFTv2.h:27:0, from clockDisplay.ino:12: C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:117:14: error: conflicting declaration 'typedef bool boolean' typedef bool boolean; ^ In file included from clockDisplay.ino:1:0: C:\Users\brooklyn\Documents\Arduino\libraries\DateTime/DateTime.h:17:17: error: 'boolean' has a previous declaration as 'typedef uint8_t boolean' typedef uint8_t boolean; ^ Error compiling.

There is a sticky on the forum which tells you what information we need to provide you with help. Please review it.


It looks like that DateTime library is not compatible with current version of Arduino because it includes a type definition for "boolean", which is invalid, because that's defined in the Arduino libraries. In the distant past, I don't think it was, hence why the library probably did it.

You can simply remove the offending line in this case (since it's already defined), but you should let the maintainer of the library know about the issue.

If it is this DateTime library ...

... there is a note on that page that says the library has been superseded by this: