Skip to content

Error compiling library ESP8266WiFi.h #6640

@mayor89

Description

@mayor89

Basic Infos

  • [X ] This issue complies with the issue POLICY doc.
  • [X ] I have read the documentation at readthedocs and the issue is not addressed there.
  • [X ] I have tested that the issue is present in current master branch (aka latest git).
  • [X ] I have searched the issue tracker for a similar issue.
  • If there is a stack dump, I have decoded it.
  • I have filled out all fields below.

Platform

  • Hardware: [ESP8285 device|other]
  • Core Version: [latest git hash or date]
  • Development Env: [Arduino IDE]
  • Operating System: [Windows]

Settings in IDE

  • Module: [Generic ESP8266 Module]
  • Flash Mode: [DOUT]
  • Flash Size: [4MB/1MB]
  • lwip Variant: [v2 Lower Memory]
  • Reset Method: [ck]
  • Flash Frequency: [40Mhz]
  • CPU Frequency: [80Mhz]
  • Upload Using: [OTA|SERIAL]
  • Upload Speed: [9600] (serial upload only)

Problem Description

In file included from C:\Users\Mayor\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:29:0,
from C:\Users\Mayor\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiClientSecure.h:41,
from C:\Users\Mayor\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,
from C:\Users\Mayor\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from C:\Users\Mayor\Documents\Arduino\test\test2\test2.ino:1:
C:\Users\Mayor\Documents\Arduino\libraries\ESP8266WiFi\src/BearSSLHelpers.h:148:34: error: 'virtual const unsigned char* BearSSL::HashSHA256::oid()' marked override, but does not override
virtual const unsigned char *oid() override;
^
exit status 1
Error compiling for board Generic ESP8266 Module.

MCVE Sketch

#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>

char ssid[] = ""; // replace with your ssid & pass
char pass[] = "";

void setup() {
}

void loop() {
}


### Debug Messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions