I'm using the HMC5883 magnetic sensor. This sketch compiled, no problem, a year ago but now returns these two errors:
In file included from Z:\01-Arduino projects\Driveway\magsensor2\magsensor2.ino:18:0:
C:\Users\biz-1\OneDrive\Documents\Arduino\libraries\Adafruit_HMC5883_U-master/Adafruit_HMC5883_U.h:105:10: error: conflicting return type specified for 'virtual void Adafruit_HMC5883_Unified::getEvent(sensors_event_t*)'
void getEvent(sensors_event_t*);
^~~~~~~~
In file included from Z:\01-Arduino projects\Driveway\magsensor2\magsensor2.ino:17:0:
C:\Users\biz-1\OneDrive\Documents\Arduino\libraries\Adafruit_Unified_Sensor/Adafruit_Sensor.h:180:16: error: overriding 'virtual bool Adafruit_Sensor::getEvent(sensors_event_t*)'
virtual bool getEvent(sensors_event_t *) = 0;
^~~~~~~~
It looks to me like this is in the Adafruit library code and I don't know how to resolve it. I'm using IDE 1.8.16. thanks.