ESP8266_Influxdb/src/InfluxDbClient.h:210:21: error: 'virtual int InfluxDBClient::BatchStreamer::availableForWrite()' marked override, but does not override
cbrassel opened this issue · comments
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
- Install fresh InfluxDB Library2.
Setup default code from influxDB Load Data / Arduino Example project - Compile code
Expected behavior:
Code compiling ?
Actual behavior:
The Error : In file included from /Users/xxxx/Arduino/sketch_aug08b/sketch_aug08b.ino:11:0:
/Users/xxxx/Arduino/libraries/ESP8266_Influxdb/src/InfluxDbClient.h:210:21: error: 'virtual int InfluxDBClient::BatchStreamer::availableForWrite()' marked override, but does not override
virtual int availableForWrite() override;
^
/Users/xxxx/Arduino/libraries/ESP8266_Influxdb/src/InfluxDbClient.h:214:21: error: 'virtual int InfluxDBClient::BatchStreamer::read(uint8_t*, size_t)' marked override, but does not override
virtual int read(uint8_t* buffer, size_t len) override;
^
exit status 1
Erreur de compilation pour la carte Generic ESP8266 Module
Specifications:
- Library Version: 3.12.0
- InfluxDB Version: 2.3.0
- Board/ESP chip: ESP-01
- Device Arduino SDK version: 1.8.19
@cbrassel, you probably have an old ESP8266 Arduino Core, I guess 2.7.4. Please upgrade it to a recent one (3.0.3) using Arduino IDE, menu Tools->Board-> Board Manager, and select Updatable
.
yes ! you are right .. I forget to update this one.
Thank you