IoT Based Smart Parking System using NodeMCU ESP8266

IoT Based Smart Parking System

Now days finding parking in busy areas is very hard and there is no system to get the details of parking availability online. Imagine if you can get the parking slot availability information on your phone and you don’t have roaming around to check the availability. This problem can be solved by the IoT based smart parking system. Using the IoT based parking system you can easily access the parking slot availability over the internet. This system can completely automate the car parking system. From your entry to the payment and exit all can be done automatically.

 

So here we are building an IOT based Car Parking System using NodeMCU, five IR sensors, and two servo motors. Two IR sensors are used at entry and exit gate to detect the car while three IR sensors are used to detect the parking slot availability. Servo motors are used to open and close the gates according to the sensor value. Here we are using the Adafruit IO platform to show publish the data on cloud which can be monitored from anywhere in the world.

 

Components Required

Hardware

Online Services

  • Adafruit IO

 

Circuit Diagram

The circuit diagram for this IoT based smart parking system project is given below.

IoT Based Smart Parking System Circuit Diagram

In this Smart Parking System using IOT, we are using five IR Sensors and two servo motors. IR sensors and Servo motors are connected to the NodeMCU. NodeMCU controls the complete process and sends the parking availability and parking time information to Adafruit IO so that it can be monitored from anywhere in the world using this platform. Two IR sensors are used at entry and exit gate so that it can detect the cars at entry and exit gate and automatically open and close the gate. We previously used Adafruit IO cloud in many IoT projects, follow the link to learn more.

 

Two servo motors are used as entry and exit gate, so whenever the IR sensor detects a car, the servo motor automatically rotates from 45° to 140°, and after a delay, it will return to its initial position. Another three IR sensors are used to detect if the parking slot is available or occupied and send the data to NodeMCU. Adafruit IO dashboard also has two buttons to manually operate the entry and exit gate.

This is how this complete setup for Smart Parking System using IOT will look:

 IoT Based Smart Parking System Project

 

Adafruit IO Setup for IOT Parking System

Adafruit IO is an open data platform that allows you to aggregate, visualize, and analyze live data on the cloud. Using Adafruit IO, you can upload, display, and monitor your data over the internet, and make your project IoT enabled. You can control motors, read sensor data, and make cool IoT applications over the internet using Adafruit IO. For test and try, with some limitation, Adafruit IO is free to use. We have also used Adafruit IO with Raspberry Pi previously.

1. To use Adafruit IO, first, you have to create an account on Adafruit IO. To do this, go to the Adafruit IO website and click on ‘Get started for Free’ on the top right of the screen.

Adafruit IO for Smart Irrigation System

 

2. After finishing the account creation process, log in to your account and click on ‘AIO Key’ on the top right corner to get your account username and AIO key.

Adafruit IO for Smart Irrigation System

 

When you click on ‘AIO Key,’ a window will pop up with your Adafruit IO AIO Key and username. Copy this key and username, it will be needed later in the code.

Adafruit IO for Smart Irrigation System

 

3. Now, after this, you need to create a feed. To create a feed, click on ‘Feed.’ Then click on ‘Actions,’ and then on ‘Create a New Feed’ as shown in the image below.

Adafruit IO for Smart Irrigation System

 

4. After this, a new window will open to enter the Name and Description of the feed. The writing description is optional.

Adafruit IO for Smart Irrigation System

 

5. Click on ‘Create,’ after this; you will be redirected to your newly created feed. 

For this project, we created a total of nine feeds for exit gate, entry gate, slot 1 entry & exit, slot 2 entry & exit, and slot 3 entry & exit.

After creating feeds, now create an Adafruit IO dashboard to show all of these feeds on a single page. To create a dashboard, click on the Dashboard option and then click on the ‘Action,’ and after this, click on ‘Create a New Dashboard.

In the next window, enter the name for your dashboard and click on ‘Create.’

Adafruit IO for Smart Irrigation System

 

6. As the dashboard is created now, we will add our feeds to the dashboard. To add a feed, click on the ‘+’ in the top right corner.

Adafruit IO for Smart Irrigation System

 

First, we will add two RESET buttons blocks for Entry and Exit gate and then seven TEXT blocks for parking details.

To add a button on the dashboard click on the RESET block.

 IoT Based Smart Parking System Creating New Block

 

In the next window it will ask you to choose the feed, so click on the entry gate feed.

 IoT Based Smart Parking System Feed

 

In this final step, give your block a title and customize it accordingly. Change the press value from ‘1’ to ‘ON’. So whenever the button is pressed it will send the ‘ON’ string to NodeMCU, and NodeMCU will perform the further task. If you don’t want to change the press value here than you can change the condition in the program.

 IoT Based Smart Parking System Block Setting

 

After this, follow the same procedure to create another block for the exit gate.

To create the rest of the blocks follow the same procedure, but instead of creating a RESET block, create a TEXT block so that you can show the parking details.

After creating all the blocks, my dashboard looks like below. You can edit the dashboard by clicking on the settings buttons

 IoT Based Smart Parking System Dashboard

 

Programming NodeMCU for IOT Parking System

To program NodeMCU with Arduino IDE go to File–>Perferences–>Settings.

Programing NodeMCU with Arduino IDE for IoT based Temperature and Humidity Monitor

 

Enter https:// arduino.esp8266.com/stable/package_esp8266com_index.json into the ‘Additional Board Manager URL’ field and click ‘Ok’.

 Add URL to Arduino IDE for IoT based Temperature and Humidity Monitor

 

Now go to Tools > Board > Boards Manager.

Manage Board in Arduino IDE for IoT based Temperature and Humidity Monitor

 

In Boards Manager window, Type esp in the search box, esp8266 will be listed there below. Now select the latest version of the board and click on install.

Install ESP8266 Library to Arduino IDE for IoT based Temperature and Humidity Monitor

 

After installation is complete, go to Tools >Board >and select NodeMCU 1.0(ESP-12E Module). Now you can program NodeMCU with Arduino IDE.

 

Complete code for this Smart Parking System using IOT is given at the end of this tutorial, here we are explaining the program step by step so that you can easily understand the working of this code.

 

First, include all the required libraries. ESP8266 Wi-Fi and Servo.h libraries are already installed in the IDE. You can download the NTP client and Adafruit MQTT libraries from the below links:

NTPClient.h

Adafruit_MQTT.h

#include <ESP8266WiFi.h>
#include <Servo.h>
#include <NTPClient.h>
#include <WiFiUdp.h>
#include <NTPClient.h>;
#include <WiFiUdp.h>
#include "Adafruit_MQTT.h"
#include "Adafruit_MQTT_Client.h"

 

Then include the Wi-Fi and Adafruit IO credentials that you copied from the Adafruit IO server. These will include the MQTT server, Port No, User Name and AIO Key

const char *ssid =  "WiFi Name";     // Enter your WiFi Name
const char *pass =  "Password"; // Enter your WiFi Password
String time1= "89";
#define MQTT_SERV "io.adafruit.com"
#define MQTT_PORT 1883
#define MQTT_NAME "User Name"
#define MQTT_PASS "AIO Key"

 

Set up the feed you're publishing to. Here Agriculture Data is the feed name.

Adafruit_MQTT_Subscribe EntryGate = Adafruit_MQTT_Subscribe(&mqtt, MQTT_NAME "/f/EntryGate");
Adafruit_MQTT_Subscribe ExitGate = Adafruit_MQTT_Subscribe(&mqtt, MQTT_NAME "/f/ExitGate");
…………………………………………..
…………………………………………..

 

Connect the Entry and Exit Servo Motor to the D4, D5 Pins of the NodeMCU, and select the out pins of IR sensor as INPUT.

  myservo.attach(D4);      
  myservos.attach(D5);      
  pinMode(carExited, INPUT);   
  pinMode(carEnter, INPUT);    
  pinMode(slot1, INPUT);
  pinMode(slot2, INPUT);
  pinMode(slot3, INPUT);

 

Inside the void loop, timeClient.update() function is used to update the date and time whenever we request to NTP servers. After getting the data, we store the hour, minute and second in three different integers.

timeClient.update();
 hh = timeClient.getHours();
 mm = timeClient.getMinutes();
 ss = timeClient.getSeconds();

 

Digitally read the entry and exit IR sensor pins and check if these pins are high. If pins are high, then move the servo motor to open the entry and exit gate. Then increase the count for entry gate and decrease the count for exit gate and publish the data to the Adafruit IO dashboard.

if (entrysensor == 1) {                     // if high then count and send data
   count=  count+1;                             //increment count
   myservos.write(OPEN_ANGLE);
   delay(3000);
   myservos.write(CLOSE_ANGLE);
   }
   if (exitsensor == 1) {                            //if high then count and send
   count= count-1;                                    //decrement count
   myservo.write(OPEN_ANGLE);
   delay(3000);
   myservo.write(CLOSE_ANGLE);
  }
  if (! CarsParked.publish(count)) {}

 

Check the slot 1 IR sensor.  If it is ‘1’ and Boolean function is false, then get the entry time from the NTP server and save it in EntryTimeSlot1 variable. Publish the variable data to the Adafruit IO feed.  

if (s1 == 1 && s1_occupied == false) {                    
        EntryTimeSlot1 =  h +" :" + m;
        s1_occupied = true;
        if (! EntrySlot1.publish ((char*) EntryTimeSlot1.c_str())){}
    }

 

If the IR sensor pin change to zero and Boolean function is true then publish the exit time to Adafruit IO feed. 

if(s1 == 0 && s1_occupied == true) {
       ExitTimeSlot1 =  h +" :" + m;
       s1_occupied = false;
        if (! ExitSlot1.publish((char*) ExitTimeSlot1.c_str())){}
    }

 

Do similar steps as above for slot2 and slot 3 sensors.

if (s2 == 1&& s2_occupied == false) {                    
      EntryTimeSlot2 =  h +" :" + m;
      s2_occupied = true;
      if (! EntrySlot2.publish((char*) EntryTimeSlot2.c_str())){}
    }
  if(s2 == 0 && s2_occupied == true) {
       ExitTimeSlot2 =  h +" :" + m;
        s2_occupied = false;
        if (! ExitSlot2.publish((char*) ExitTimeSlot2.c_str())){}
  }
  if (s3 == 1&& s3_occupied == false) {                     
       EntryTimeSlot3 =  h +" :" + m;
      s3_occupied = true;
       if (! EntrySlot3.publish((char*) EntryTimeSlot3.c_str())){}
    }
  if(s3 == 0 && s3_occupied == true) {
        ExitTimeSlot3 =  h +" :" + m;
       s3_occupied = false;
        if (! ExitSlot3.publish((char*) ExitTimeSlot3.c_str())){ }
  }

 

Here we are directly checking for a specific word in our subscribed feed, and if the word matches with our specified word, i.e., ‘ON,’ it will rotate the servo motor to open the gate.

if (subscription == &EntryGate)
     {
      Serial.println((char*) EntryGate.lastread);
   if (!strcmp((char*) EntryGate.lastread, "ON"))
      {
       myservos.write(OPEN_ANGLE);
       delay(3000);
       myservos.write(CLOSE_ANGLE);
    }

Do similar steps as above for the Exit gate.

This is how the parking details are published on the Adafruit IO dashboard. It will show the entry time and exit time for every slot. This dashboard also has two buttons to manually open the entry and exit gate.

 IoT Based Smart Parking System Dashboard

 

So this is how a Smart Parking System using IoT can be built. You can add more sensors to increase the parking slots and can also add a payment system to automatically pay the parking fee. Comment below if you have any doubts regarding this project. 

 

Code

#include <ESP8266WiFi.h>
#include <Servo.h>
#include <NTPClient.h>
#include <WiFiUdp.h>
#include <NTPClient.h>;
#include <WiFiUdp.h>
#include "Adafruit_MQTT.h"
#include "Adafruit_MQTT_Client.h"
const char *ssid =  "Galaxy-M20";     // Enter your WiFi Name
const char *pass =  "ac312124"; // Enter your WiFi Password

#define MQTT_SERV "io.adafruit.com"
#define MQTT_PORT 1883
#define MQTT_NAME "aschoudhary"
#define MQTT_PASS "1ac95cb8580b4271bbb6d9f75d0668f1"
WiFiUDP ntpUDP;
NTPClient timeClient(ntpUDP, "pool.ntp.org", 19800,60000);
Servo myservo;                          //servo as gate
Servo myservos;                               //servo as gate

int carEnter = D0;                      // entry sensor 
int carExited = D2;                   //exi sensor
int slot3 = D7;                 
int slot2 = D6;
int slot1  = D3;
int count =0; 
int CLOSE_ANGLE = 80;  // The closing angle of the servo motor arm
int OPEN_ANGLE = 0;  // The opening angle of the servo motor arm              
int  hh, mm, ss;
int pos;
int pos1;

String h, m,EntryTimeSlot1,ExitTimeSlot1, EntryTimeSlot2,ExitTimeSlot2, EntryTimeSlot3,ExitTimeSlot3;
boolean entrysensor, exitsensor,s1,s2,s3;

boolean s1_occupied = false;
boolean s2_occupied = false;
boolean s3_occupied = false;

WiFiClient client;
Adafruit_MQTT_Client mqtt(&client, MQTT_SERV, MQTT_PORT, MQTT_NAME, MQTT_PASS);

//Set up the feed you're subscribing to
Adafruit_MQTT_Subscribe EntryGate = Adafruit_MQTT_Subscribe(&mqtt, MQTT_NAME "/f/EntryGate");
Adafruit_MQTT_Subscribe ExitGate = Adafruit_MQTT_Subscribe(&mqtt, MQTT_NAME "/f/ExitGate");

//Set up the feed you're publishing to
Adafruit_MQTT_Publish CarsParked = Adafruit_MQTT_Publish(&mqtt,MQTT_NAME "/f/CarsParked");
Adafruit_MQTT_Publish EntrySlot1 = Adafruit_MQTT_Publish(&mqtt,MQTT_NAME "/f/EntrySlot1");
Adafruit_MQTT_Publish ExitSlot1 = Adafruit_MQTT_Publish(&mqtt,MQTT_NAME "/f/ExitSlot1");
Adafruit_MQTT_Publish EntrySlot2 = Adafruit_MQTT_Publish(&mqtt,MQTT_NAME "/f/EntrySlot2");
Adafruit_MQTT_Publish ExitSlot2 = Adafruit_MQTT_Publish(&mqtt,MQTT_NAME "/f/ExitSlot2");
Adafruit_MQTT_Publish EntrySlot3 = Adafruit_MQTT_Publish(&mqtt,MQTT_NAME "/f/EntrySlot3");
Adafruit_MQTT_Publish ExitSlot3 = Adafruit_MQTT_Publish(&mqtt,MQTT_NAME "/f/ExitSlot3");

void setup() {
  delay(1000);
  Serial.begin (9600); 
  mqtt.subscribe(&EntryGate);
  mqtt.subscribe(&ExitGate);
  timeClient.begin(); 
  myservo.attach(D4);      // servo pin to D6
  myservos.attach(D5);       // servo pin to D5
  pinMode(carExited, INPUT);    // ir as input
  pinMode(carEnter, INPUT);     // ir as input
  pinMode(slot1, INPUT);
  pinMode(slot2, INPUT);
  pinMode(slot3, INPUT);
  WiFi.begin(ssid, pass);                                     //try to connect with wifi
  Serial.print("Connecting to ");
  Serial.print(ssid);                          // display ssid
  while (WiFi.status() != WL_CONNECTED) {
    Serial.print(".");                          // if not connected print this
    delay(500);
  }
  Serial.println();
  Serial.print("Connected to ");
  Serial.println(ssid);
  Serial.print("IP Address is : ");
  Serial.println(WiFi.localIP());                                            //print local IP address
}

void loop() {

 MQTT_connect();
 timeClient.update();
 hh = timeClient.getHours();
 mm = timeClient.getMinutes();
 ss = timeClient.getSeconds();
 h= String(hh); 
 m= String(mm);
 h +" :" + m;
 
 entrysensor= !digitalRead(carEnter);
 exitsensor = !digitalRead(carExited);
 s1 = digitalRead(slot1);
 s2 = digitalRead(slot2);
 s3 = digitalRead(slot3);
 
   if (entrysensor == 1) {                     // if high then count and send data
   count=  count+1;                             //increment count
   myservos.write(OPEN_ANGLE);
   delay(3000);
   myservos.write(CLOSE_ANGLE);
   }
   
   if (exitsensor == 1) {                            //if high then count and send
   count= count-1;                                    //decrement count
   myservo.write(OPEN_ANGLE);
   delay(3000);
   myservo.write(CLOSE_ANGLE);
  }
  if (! CarsParked.publish(count)) {}

  if (s1 == 1 && s1_occupied == false) {                     
        Serial.println("Occupied1 ");
        EntryTimeSlot1 =  h +" :" + m;
        //Serial.print("EntryTimeSlot1");
        //Serial.print(EntryTimeSlot1);
        
        s1_occupied = true;
        if (! EntrySlot1.publish((char*) EntryTimeSlot1.c_str())){}
    }
  if(s1 == 0 && s1_occupied == true) {
       Serial.println("Available1 ");
       ExitTimeSlot1 =  h +" :" + m;
       //Serial.print("ExitTimeSlot1");
       //Serial.print(ExitTimeSlot1);
     
       s1_occupied = false;
        if (! ExitSlot1.publish((char*) ExitTimeSlot1.c_str())){} 
}
  if (s2 == 1&& s2_occupied == false) {                     
      Serial.println("Occupied2 ");
      EntryTimeSlot2 =  h +" :" + m;
      //Serial.print("EntryTimeSlot2");
      //Serial.print(EntryTimeSlot2);
     
      s2_occupied = true;
      if (! EntrySlot2.publish((char*) EntryTimeSlot2.c_str())){}
    }
  if(s2 == 0 && s2_occupied == true) {
       Serial.println("Available2 ");
       ExitTimeSlot2 =  h +" :" + m;
       //Serial.print("ExitTimeSlot2");
       //Serial.print(ExitTimeSlot2);
       
       s2_occupied = false;
        if (! ExitSlot2.publish((char*) ExitTimeSlot2.c_str())){}
  }
  if (s3 == 1&& s3_occupied == false) {                     
      Serial.println("Occupied3 ");
      EntryTimeSlot3 =  h +" :" + m;
     //Serial.print("EntryTimeSlot3: ");
      //Serial.print(EntryTimeSlot3);
      s3_occupied = true;
       if (! EntrySlot3.publish((char*) EntryTimeSlot3.c_str())){}
    }
  if(s3 == 0 && s3_occupied == true) {
       Serial.println("Available3 ");
       ExitTimeSlot3 =  h +" :" + m;
       //Serial.print("ExitTimeSlot3: ");
       //Serial.print(ExitTimeSlot3);
       s3_occupied = false;
        if (! ExitSlot3.publish((char*) ExitTimeSlot3.c_str())){ }
  } 

  Adafruit_MQTT_Subscribe * subscription;
  while ((subscription = mqtt.readSubscription(5000)))
     {
    
   if (subscription == &EntryGate)
     {
      //Print the new value to the serial monitor
      Serial.println((char*) EntryGate.lastread);
     
   if (!strcmp((char*) EntryGate.lastread, "ON"))
      {
       myservos.write(OPEN_ANGLE);
       delay(3000);
       myservos.write(CLOSE_ANGLE);
    }
}
  if (subscription == &ExitGate)
     {
      //Print the new value to the serial monitor
      Serial.println((char*) EntryGate.lastread);
     
   if (!strcmp((char*) ExitGate.lastread, "ON"))
      {
       myservo.write(OPEN_ANGLE);
       delay(3000);
       myservo.write(CLOSE_ANGLE);
    }
}
}  
}
void MQTT_connect() 
{
  int8_t ret;

  // Stop if already connected.
  if (mqtt.connected()) 
  {
    return;
  }

  uint8_t retries = 3;
  while ((ret = mqtt.connect()) != 0) // connect will return 0 for connected
  { 
       mqtt.disconnect();
       delay(5000);  // wait 5 seconds
       retries--;
       if (retries == 0) 
       {
         // basically die and wait for WDT to reset me
         while (1);
       }
  }
}
 

Video

28 Comments

can you please tell about where to do this part in code? or any other place?
Set up the feed you're publishing to. Here Agriculture Data is the feed name.

Adafruit_MQTT_Subscribe EntryGate = Adafruit_MQTT_Subscribe(&mqtt, MQTT_NAME "/f/EntryGate");
Adafruit_MQTT_Subscribe ExitGate = Adafruit_MQTT_Subscribe(&mqtt, MQTT_NAME "/f/ExitGate");
…………………………………………..
…………………………………………..

Followed the documentation, complete code and circuit diagram with explanation is given in the document, but no working :(
Don't know what went wrong :(
Adafruit_MQTT_Subscribe EntryGate = Adafruit_MQTT_Subscribe(&mqtt, MQTT_NAME "/f/EntryGate");
Why is "/f/EntryGate" instead of "/Feeds/EntryGate"? f = Feeds?

done all the code downloaded all the needed libraries connected the circuit correctly as shown above BUT when I ran the code nothing appears on the serial monitor screen except dots ( .... )

i have done every thing right and the circuit as shown above i entered my wifi and passoward and key of adafruit but there is no connection why ???

Hey we are making this project we built everything as shown and everything is working properly except servo motor. it's just vibrating but not rotating as it should please help me , do we have to change anything in code of servo motor section ? Hope to get reply from you

""can also add a payment system to automatically pay the parking fee. Comment below if you have any doubts "" regarding this project. "" can you please provide the code and the circuit connection of this

whether Arduino Uno microcontroller board is needed to show the output in software simulation?.if yes how to connect the software specification after completing all the steps. And also it is necessary for the Arduino Uno microcontroller for hardware specification? HOPE TO GET A REPLY FROM YOUR SIDE SIR/MAM...

Hi I want your help…
Hi

I want your help to make this IoT project. I will contact you if you provide your details.

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Serial, None, Only Sketch, 115200"

In file included from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h: In function 'void setup()':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:27:8: error: expected unqualified-id before string constant

27 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwipopts.h:60,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/opt.h:51,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/init.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:27,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/gluedebug.h:41:8: error: expected unqualified-id before string constant

41 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/opt.h:51,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/init.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:27,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwipopts.h:3561:8: error: expected unqualified-id before string constant

3561 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:27,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/init.h:43:8: error: expected unqualified-id before string constant

43 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:32:27: error: expected class-name before '{' token

32 | struct ip_addr: ipv4_addr { };

| ^

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:51:9: error: 'ip_addr_t' does not name a type; did you mean 'in_addr_t'?

51 | ip_addr_t _ip;

| ^~~~~~~~~

| in_addr_t

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:72:24: error: expected ')' before 'address'

72 | IPAddress(u32_t address) { ctor32(address); }

| ~ ^~~~~~~~

| )

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:83:18: error: expected type-specifier before 'u32_t'

83 | operator u32_t() const { return isV4()? v4(): (u32_t)0; }

| ^~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:84:18: error: expected type-specifier before 'u32_t'

84 | operator u32_t() { return isV4()? v4(): (u32_t)0; }

| ^~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:91:15: error: 'u32_t' does not name a type; did you mean 'u32'?

91 | const u32_t& v4() const { return ip_2_ip4(&_ip)->addr; } // for raw_address(const)

| ^~~~~

| u32

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:92:15: error: 'u32_t' does not name a type; did you mean 'u32'?

92 | u32_t& v4() { return ip_2_ip4(&_ip)->addr; }

| ^~~~~

| u32

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:103:25: error: 'u32_t' has not been declared

103 | bool operator==(u32_t addr) const {

| ^~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:109:25: error: 'u32_t' has not been declared

109 | bool operator!=(u32_t addr) const {

| ^~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/user_interface.h:31,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/glue.h:60,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/arch/cc.h:61,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/arch.h:48,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/debug.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwipopts.h:3632,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/opt.h:51,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/init.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:27,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ipv4_addr.h:37:19: error: 'ip4_addr' does not name a type; did you mean 'ip_addr'?

37 | #define ipv4_addr ip4_addr

| ^~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:155:25: note: in expansion of macro 'ipv4_addr'

155 | IPAddress(const ipv4_addr& fw_addr) { setV4(); v4() = fw_addr.addr; }

| ^~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ipv4_addr.h:37:19: error: 'ip4_addr' does not name a type; did you mean 'ip_addr'?

37 | #define ipv4_addr ip4_addr

| ^~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:156:25: note: in expansion of macro 'ipv4_addr'

156 | IPAddress(const ipv4_addr* fw_addr) { setV4(); v4() = fw_addr->addr; }

| ^~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ipv4_addr.h:37:19: error: 'ip4_addr' does not name a type; did you mean 'ip_addr'?

37 | #define ipv4_addr ip4_addr

| ^~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:158:36: note: in expansion of macro 'ipv4_addr'

158 | IPAddress& operator=(const ipv4_addr& fw_addr) { setV4(); v4() = fw_addr.addr; return *this; }

| ^~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ipv4_addr.h:37:19: error: 'ip4_addr' does not name a type; did you mean 'ip_addr'?

37 | #define ipv4_addr ip4_addr

| ^~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:159:36: note: in expansion of macro 'ipv4_addr'

159 | IPAddress& operator=(const ipv4_addr* fw_addr) { setV4(); v4() = fw_addr->addr; return *this; }

| ^~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:161:24: error: expected type-specifier before 'ip_addr_t'

161 | operator ip_addr_t () const { return _ip; }

| ^~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:162:24: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]

162 | operator const ip_addr_t*() const { return &_ip; }

| ^~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:162:9: error: 'operator const int' does not name a type; did you mean '_iconv_t'?

162 | operator const ip_addr_t*() const { return &_ip; }

| ^~~~~~~~

| _iconv_t

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:163:24: error: 'ip_addr_t' does not name a type; did you mean 'in_addr_t'?

163 | operator ip_addr_t*() { return &_ip; }

| ^~~~~~~~~

| in_addr_t

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In member function 'uint8_t* setup()::IPAddress::raw_address()':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:58:48: error: 'v4' was not declared in this scope; did you mean 'D4'?

58 | return reinterpret_cast<uint8_t*>(&v4());

| ^~

| D4

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In member function 'const uint8_t* setup()::IPAddress::raw_address() const':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:61:54: error: 'v4' was not declared in this scope; did you mean 'D4'?

61 | return reinterpret_cast<const uint8_t*>(&v4());

| ^~

| D4

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In member function 'setup()::IPAddress::operator uint32_t() const':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:81:52: error: 'v4' was not declared in this scope; did you mean 'D4'?

81 | operator uint32_t() const { return isV4()? v4(): (uint32_t)0; }

| ^~

| D4

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In member function 'setup()::IPAddress::operator uint32_t()':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:82:52: error: 'v4' was not declared in this scope; did you mean 'D4'?

82 | operator uint32_t() { return isV4()? v4(): (uint32_t)0; }

| ^~

| D4

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip_addr.h:43,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ipv4_addr.h:41,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/user_interface.h:31,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/glue.h:60,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/arch/cc.h:61,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/arch.h:48,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/debug.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwipopts.h:3632,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/opt.h:51,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/init.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:27,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In member function 'bool setup()::IPAddress::operator==(const setup()::IPAddress&) const':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:95:33: error: '_ip' was not declared in this scope

95 | return ip_addr_cmp(&_ip, &addr._ip);

| ^~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip4_addr.h:145:38: note: in definition of macro 'ip4_addr_cmp'

145 | #define ip4_addr_cmp(addr1, addr2) ((addr1)->addr == (addr2)->addr)

| ^~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:95:20: note: in expansion of macro 'ip_addr_cmp'

95 | return ip_addr_cmp(&_ip, &addr._ip);

| ^~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:95:44: error: 'const class setup()::IPAddress' has no member named '_ip'

95 | return ip_addr_cmp(&_ip, &addr._ip);

| ^~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip4_addr.h:145:55: note: in definition of macro 'ip4_addr_cmp'

145 | #define ip4_addr_cmp(addr1, addr2) ((addr1)->addr == (addr2)->addr)

| ^~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:95:20: note: in expansion of macro 'ip_addr_cmp'

95 | return ip_addr_cmp(&_ip, &addr._ip);

| ^~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In member function 'bool setup()::IPAddress::operator!=(const setup()::IPAddress&) const':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:98:34: error: '_ip' was not declared in this scope

98 | return !ip_addr_cmp(&_ip, &addr._ip);

| ^~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip4_addr.h:145:38: note: in definition of macro 'ip4_addr_cmp'

145 | #define ip4_addr_cmp(addr1, addr2) ((addr1)->addr == (addr2)->addr)

| ^~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:98:21: note: in expansion of macro 'ip_addr_cmp'

98 | return !ip_addr_cmp(&_ip, &addr._ip);

| ^~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:98:45: error: 'const class setup()::IPAddress' has no member named '_ip'

98 | return !ip_addr_cmp(&_ip, &addr._ip);

| ^~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip4_addr.h:145:55: note: in definition of macro 'ip4_addr_cmp'

145 | #define ip4_addr_cmp(addr1, addr2) ((addr1)->addr == (addr2)->addr)

| ^~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:98:21: note: in expansion of macro 'ip_addr_cmp'

98 | return !ip_addr_cmp(&_ip, &addr._ip);

| ^~~~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In member function 'bool setup()::IPAddress::operator==(uint32_t) const':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:101:30: error: 'v4' was not declared in this scope; did you mean 'D4'?

101 | return isV4() && v4() == addr;

| ^~

| D4

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In member function 'bool setup()::IPAddress::operator==(int) const':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:104:30: error: 'v4' was not declared in this scope; did you mean 'D4'?

104 | return isV4() && v4() == addr;

| ^~

| D4

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In member function 'bool setup()::IPAddress::operator!=(uint32_t) const':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:107:32: error: 'v4' was not declared in this scope; did you mean 'D4'?

107 | return !(isV4() && v4() == addr);

| ^~

| D4

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In member function 'bool setup()::IPAddress::operator!=(int) const':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:110:32: error: 'v4' was not declared in this scope; did you mean 'D4'?

110 | return !(isV4() && v4() == addr);

| ^~

| D4

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In member function 'int setup()::IPAddress::operator>>(int) const':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:115:28: error: 'v4' was not declared in this scope; did you mean 'D4'?

115 | return isV4()? v4() >> n: 0;

| ^~

| D4

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In constructor 'setup()::IPAddress::IPAddress(const int&)':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:155:58: error: 'v4' was not declared in this scope; did you mean 'D4'?

155 | IPAddress(const ipv4_addr& fw_addr) { setV4(); v4() = fw_addr.addr; }

| ^~

| D4

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:155:73: error: request for member 'addr' in 'fw_addr', which is of non-class type 'const int'

155 | IPAddress(const ipv4_addr& fw_addr) { setV4(); v4() = fw_addr.addr; }

| ^~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In constructor 'setup()::IPAddress::IPAddress(const int*)':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:156:58: error: 'v4' was not declared in this scope; did you mean 'D4'?

156 | IPAddress(const ipv4_addr* fw_addr) { setV4(); v4() = fw_addr->addr; }

| ^~

| D4

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:156:74: error: request for member 'addr' in '* fw_addr', which is of non-class type 'const int'

156 | IPAddress(const ipv4_addr* fw_addr) { setV4(); v4() = fw_addr->addr; }

| ^~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In member function 'setup()::IPAddress& setup()::IPAddress::operator=(const int&)':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:158:69: error: 'v4' was not declared in this scope; did you mean 'D4'?

158 | IPAddress& operator=(const ipv4_addr& fw_addr) { setV4(); v4() = fw_addr.addr; return *this; }

| ^~

| D4

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:158:84: error: request for member 'addr' in 'fw_addr', which is of non-class type 'const int'

158 | IPAddress& operator=(const ipv4_addr& fw_addr) { setV4(); v4() = fw_addr.addr; return *this; }

| ^~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In member function 'setup()::IPAddress& setup()::IPAddress::operator=(const int*)':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:159:69: error: 'v4' was not declared in this scope; did you mean 'D4'?

159 | IPAddress& operator=(const ipv4_addr* fw_addr) { setV4(); v4() = fw_addr->addr; return *this; }

| ^~

| D4

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:159:85: error: request for member 'addr' in '* fw_addr', which is of non-class type 'const int'

159 | IPAddress& operator=(const ipv4_addr* fw_addr) { setV4(); v4() = fw_addr->addr; return *this; }

| ^~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip_addr.h:43,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ipv4_addr.h:41,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/user_interface.h:31,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/glue.h:60,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/arch/cc.h:61,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/arch.h:48,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/debug.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwipopts.h:3632,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/opt.h:51,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/init.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:27,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h: In member function 'bool setup()::IPAddress::isLocal() const':

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:168:61: error: '_ip' was not declared in this scope

168 | bool isLocal () const { return ip_addr_islinklocal(&_ip); }

| ^~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip4_addr.h:158:40: note: in definition of macro 'ip4_addr_islinklocal'

158 | #define ip4_addr_islinklocal(addr1) (((addr1)->addr & PP_HTONL(0xffff0000UL)) == PP_HTONL(0xa9fe0000UL))

| ^~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:168:40: note: in expansion of macro 'ip_addr_islinklocal'

168 | bool isLocal () const { return ip_addr_islinklocal(&_ip); }

| ^~~~~~~~~~~~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip_addr.h:41,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ipv4_addr.h:41,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/user_interface.h:31,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/glue.h:60,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/arch/cc.h:61,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/arch.h:48,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/debug.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwipopts.h:3632,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/opt.h:51,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/init.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:27,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/def.h:110:31: error: 'u32_t' was not declared in this scope; did you mean 'u32'?

110 | #define PP_HTONL(x) ((((x) & (u32_t)0x000000ffUL) << 24) | \

| ^~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip4_addr.h:158:55: note: in expansion of macro 'PP_HTONL'

158 | #define ip4_addr_islinklocal(addr1) (((addr1)->addr & PP_HTONL(0xffff0000UL)) == PP_HTONL(0xa9fe0000UL))

| ^~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip_addr.h:303:49: note: in expansion of macro 'ip4_addr_islinklocal'

303 | #define ip_addr_islinklocal(ipaddr) ip4_addr_islinklocal(ipaddr)

| ^~~~~~~~~~~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:168:40: note: in expansion of macro 'ip_addr_islinklocal'

168 | bool isLocal () const { return ip_addr_islinklocal(&_ip); }

| ^~~~~~~~~~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/def.h:110:37: error: expected ')' before numeric constant

110 | #define PP_HTONL(x) ((((x) & (u32_t)0x000000ffUL) << 24) | \

| ~ ^~~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip4_addr.h:158:55: note: in expansion of macro 'PP_HTONL'

158 | #define ip4_addr_islinklocal(addr1) (((addr1)->addr & PP_HTONL(0xffff0000UL)) == PP_HTONL(0xa9fe0000UL))

| ^~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip_addr.h:303:49: note: in expansion of macro 'ip4_addr_islinklocal'

303 | #define ip_addr_islinklocal(ipaddr) ip4_addr_islinklocal(ipaddr)

| ^~~~~~~~~~~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:168:40: note: in expansion of macro 'ip_addr_islinklocal'

168 | bool isLocal () const { return ip_addr_islinklocal(&_ip); }

| ^~~~~~~~~~~~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:168:65: error: expected ')' before ';' token

168 | bool isLocal () const { return ip_addr_islinklocal(&_ip); }

| ^

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip_addr.h:41,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ipv4_addr.h:41,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/user_interface.h:31,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/glue.h:60,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/arch/cc.h:61,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/arch.h:48,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/debug.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwipopts.h:3632,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/opt.h:51,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/init.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:27,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/def.h:110:22: note: to match this '('

110 | #define PP_HTONL(x) ((((x) & (u32_t)0x000000ffUL) << 24) | \

| ^

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip4_addr.h:158:55: note: in expansion of macro 'PP_HTONL'

158 | #define ip4_addr_islinklocal(addr1) (((addr1)->addr & PP_HTONL(0xffff0000UL)) == PP_HTONL(0xa9fe0000UL))

| ^~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip_addr.h:303:49: note: in expansion of macro 'ip4_addr_islinklocal'

303 | #define ip_addr_islinklocal(ipaddr) ip4_addr_islinklocal(ipaddr)

| ^~~~~~~~~~~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:168:40: note: in expansion of macro 'ip_addr_islinklocal'

168 | bool isLocal () const { return ip_addr_islinklocal(&_ip); }

| ^~~~~~~~~~~~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:168:65: error: expected ')' before ';' token

168 | bool isLocal () const { return ip_addr_islinklocal(&_ip); }

| ^

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip_addr.h:41,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ipv4_addr.h:41,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/user_interface.h:31,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/glue.h:60,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/arch/cc.h:61,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/arch.h:48,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/debug.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwipopts.h:3632,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/opt.h:51,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/init.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:27,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/def.h:110:21: note: to match this '('

110 | #define PP_HTONL(x) ((((x) & (u32_t)0x000000ffUL) << 24) | \

| ^

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip4_addr.h:158:55: note: in expansion of macro 'PP_HTONL'

158 | #define ip4_addr_islinklocal(addr1) (((addr1)->addr & PP_HTONL(0xffff0000UL)) == PP_HTONL(0xa9fe0000UL))

| ^~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip_addr.h:303:49: note: in expansion of macro 'ip4_addr_islinklocal'

303 | #define ip_addr_islinklocal(ipaddr) ip4_addr_islinklocal(ipaddr)

| ^~~~~~~~~~~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:168:40: note: in expansion of macro 'ip_addr_islinklocal'

168 | bool isLocal () const { return ip_addr_islinklocal(&_ip); }

| ^~~~~~~~~~~~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:168:65: error: expected ')' before ';' token

168 | bool isLocal () const { return ip_addr_islinklocal(&_ip); }

| ^

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip_addr.h:43,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ipv4_addr.h:41,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/user_interface.h:31,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/glue.h:60,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/arch/cc.h:61,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/arch.h:48,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/debug.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwipopts.h:3632,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/opt.h:51,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/init.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:27,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip4_addr.h:158:38: note: to match this '('

158 | #define ip4_addr_islinklocal(addr1) (((addr1)->addr & PP_HTONL(0xffff0000UL)) == PP_HTONL(0xa9fe0000UL))

| ^

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip_addr.h:303:49: note: in expansion of macro 'ip4_addr_islinklocal'

303 | #define ip_addr_islinklocal(ipaddr) ip4_addr_islinklocal(ipaddr)

| ^~~~~~~~~~~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:168:40: note: in expansion of macro 'ip_addr_islinklocal'

168 | bool isLocal () const { return ip_addr_islinklocal(&_ip); }

| ^~~~~~~~~~~~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:168:65: error: expected ')' before ';' token

168 | bool isLocal () const { return ip_addr_islinklocal(&_ip); }

| ^

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip_addr.h:43,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ipv4_addr.h:41,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/user_interface.h:31,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/glue.h:60,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/arch/cc.h:61,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/arch.h:48,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/debug.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwipopts.h:3632,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/opt.h:51,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/init.h:40,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:27,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip4_addr.h:158:37: note: to match this '('

158 | #define ip4_addr_islinklocal(addr1) (((addr1)->addr & PP_HTONL(0xffff0000UL)) == PP_HTONL(0xa9fe0000UL))

| ^

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/ip_addr.h:303:49: note: in expansion of macro 'ip4_addr_islinklocal'

303 | #define ip_addr_islinklocal(ipaddr) ip4_addr_islinklocal(ipaddr)

| ^~~~~~~~~~~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/IPAddress.h:168:40: note: in expansion of macro 'ip_addr_islinklocal'

168 | bool isLocal () const { return ip_addr_islinklocal(&_ip); }

| ^~~~~~~~~~~~~~~~~~~

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\stl_raw_storage_iter.h: In function 'void setup()':

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\stl_raw_storage_iter.h:59:15: error: expected '=' before '__attribute__'

59 | namespace std _GLIBCXX_VISIBILITY(default)

| ^~~~~~~~~~~~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\stl_raw_storage_iter.h:59:15: error: expected identifier before '__attribute__'

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:68,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\stl_raw_storage_iter.h:59:14: error: expected ';' before '__attribute__'

59 | namespace std _GLIBCXX_VISIBILITY(default)

| ^

| ;

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\stl_raw_storage_iter.h:60:1: error: expected primary-expression before '{' token

60 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\stringfwd.h:42:15: error: expected '=' before '__attribute__'

42 | namespace std _GLIBCXX_VISIBILITY(default)

| ^~~~~~~~~~~~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\stringfwd.h:42:15: error: expected identifier before '__attribute__'

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\iosfwd:39,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:74,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\stringfwd.h:42:14: error: expected ';' before '__attribute__'

42 | namespace std _GLIBCXX_VISIBILITY(default)

| ^

| ;

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\stringfwd.h:43:1: error: expected primary-expression before '{' token

43 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\stdlib.h:11,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:75,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\wchar.h:70:1: error: expected unqualified-id before string constant

70 | _BEGIN_STD_C

| ^~~~~~~~~~~~

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\postypes.h:40,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\iosfwd:40,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:74,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cwchar:62:1: error: 'namespace' definition is not allowed here

62 | namespace std

| ^~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cwchar:135:8: error: expected unqualified-id before string constant

135 | extern "C++"

| ^~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cwchar:244:1: error: 'namespace' definition is not allowed here

244 | namespace __gnu_cxx

| ^~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cwchar:265:1: error: 'namespace' definition is not allowed here

265 | namespace std

| ^~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cwchar:280:1: error: 'namespace' definition is not allowed here

280 | namespace std

| ^~~~~~~~~

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\postypes.h:68:15: error: expected '=' before '__attribute__'

68 | namespace std _GLIBCXX_VISIBILITY(default)

| ^~~~~~~~~~~~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\postypes.h:68:15: error: expected identifier before '__attribute__'

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\iosfwd:40,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:74,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\postypes.h:68:14: error: expected ';' before '__attribute__'

68 | namespace std _GLIBCXX_VISIBILITY(default)

| ^

| ;

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\postypes.h:69:1: error: expected primary-expression before '{' token

69 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\iosfwd:42:15: error: expected '=' before '__attribute__'

42 | namespace std _GLIBCXX_VISIBILITY(default)

| ^~~~~~~~~~~~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\iosfwd:42:15: error: expected identifier before '__attribute__'

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:74,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\iosfwd:42:14: error: expected ';' before '__attribute__'

42 | namespace std _GLIBCXX_VISIBILITY(default)

| ^

| ;

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\iosfwd:43:1: error: expected primary-expression before '{' token

43 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr.h:148,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\ext\atomicity.h:35,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:75,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr-default.h:212:1: error: a function-definition is not allowed here before '{' token

212 | {

| ^

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr-default.h:218:1: error: a function-definition is not allowed here before '{' token

218 | {

| ^

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr-default.h:224:1: error: a function-definition is not allowed here before '{' token

224 | {

| ^

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr-default.h:230:1: error: a function-definition is not allowed here before '{' token

230 | {

| ^

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr-default.h:236:1: error: a function-definition is not allowed here before '{' token

236 | {

| ^

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr-default.h:242:1: error: a function-definition is not allowed here before '{' token

242 | {

| ^

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr-default.h:248:1: error: a function-definition is not allowed here before '{' token

248 | {

| ^

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr-default.h:254:1: error: a function-definition is not allowed here before '{' token

254 | {

| ^

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr-default.h:260:1: error: a function-definition is not allowed here before '{' token

260 | {

| ^

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr-default.h:266:1: error: a function-definition is not allowed here before '{' token

266 | {

| ^

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr-default.h:272:1: error: a function-definition is not allowed here before '{' token

272 | {

| ^

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr-default.h:278:1: error: a function-definition is not allowed here before '{' token

278 | {

| ^

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr-default.h:284:1: error: a function-definition is not allowed here before '{' token

284 | {

| ^

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\xtensa-lx106-elf\bits\gthr-default.h:290:1: error: a function-definition is not allowed here before '{' token

290 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\ext\atomicity.h:38:21: error: expected '=' before '__attribute__'

38 | namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)

| ^~~~~~~~~~~~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\ext\atomicity.h:38:21: error: expected identifier before '__attribute__'

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:75,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\ext\atomicity.h:38:20: error: expected ';' before '__attribute__'

38 | namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)

| ^

| ;

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\ext\atomicity.h:39:1: error: expected primary-expression before '{' token

39 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\ext\concurrence.h:40:21: error: expected '=' before '__attribute__'

40 | namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)

| ^~~~~~~~~~~~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\ext\concurrence.h:40:21: error: expected identifier before '__attribute__'

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:76,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\ext\concurrence.h:40:20: error: expected ';' before '__attribute__'

40 | namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)

| ^

| ;

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\ext\concurrence.h:41:1: error: expected primary-expression before '{' token

41 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\unique_ptr.h:45:15: error: expected '=' before '__attribute__'

45 | namespace std _GLIBCXX_VISIBILITY(default)

| ^~~~~~~~~~~~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\unique_ptr.h:45:15: error: expected identifier before '__attribute__'

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:83,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\unique_ptr.h:45:14: error: expected ';' before '__attribute__'

45 | namespace std _GLIBCXX_VISIBILITY(default)

| ^

| ;

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\unique_ptr.h:46:1: error: expected primary-expression before '{' token

46 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\allocated_ptr.h:40:15: error: expected '=' before '__attribute__'

40 | namespace std _GLIBCXX_VISIBILITY(default)

| ^~~~~~~~~~~~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\allocated_ptr.h:40:15: error: expected identifier before '__attribute__'

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr_base.h:53,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr.h:52,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:84,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\allocated_ptr.h:40:14: error: expected ';' before '__attribute__'

40 | namespace std _GLIBCXX_VISIBILITY(default)

| ^

| ;

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\allocated_ptr.h:41:1: error: expected primary-expression before '{' token

41 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr_base.h:61:15: error: expected '=' before '__attribute__'

61 | namespace std _GLIBCXX_VISIBILITY(default)

| ^~~~~~~~~~~~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr_base.h:61:15: error: expected identifier before '__attribute__'

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr.h:52,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:84,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr_base.h:61:14: error: expected ';' before '__attribute__'

61 | namespace std _GLIBCXX_VISIBILITY(default)

| ^

| ;

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr_base.h:62:1: error: expected primary-expression before '{' token

62 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr.h:54:15: error: expected '=' before '__attribute__'

54 | namespace std _GLIBCXX_VISIBILITY(default)

| ^~~~~~~~~~~~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr.h:54:15: error: expected identifier before '__attribute__'

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:84,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr.h:54:14: error: expected ';' before '__attribute__'

54 | namespace std _GLIBCXX_VISIBILITY(default)

| ^

| ;

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr.h:55:1: error: expected primary-expression before '{' token

55 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\atomic_base.h:44:15: error: expected '=' before '__attribute__'

44 | namespace std _GLIBCXX_VISIBILITY(default)

| ^~~~~~~~~~~~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\atomic_base.h:44:15: error: expected identifier before '__attribute__'

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr_atomic.h:33,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:85,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\atomic_base.h:44:14: error: expected ';' before '__attribute__'

44 | namespace std _GLIBCXX_VISIBILITY(default)

| ^

| ;

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\atomic_base.h:45:1: error: expected primary-expression before '{' token

45 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr_atomic.h:35:15: error: expected '=' before '__attribute__'

35 | namespace std _GLIBCXX_VISIBILITY(default)

| ^~~~~~~~~~~~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr_atomic.h:35:15: error: expected identifier before '__attribute__'

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:85,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr_atomic.h:35:14: error: expected ';' before '__attribute__'

35 | namespace std _GLIBCXX_VISIBILITY(default)

| ^

| ;

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\bits\shared_ptr_atomic.h:36:1: error: expected primary-expression before '{' token

36 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\backward\auto_ptr.h:36:15: error: expected '=' before '__attribute__'

36 | namespace std _GLIBCXX_VISIBILITY(default)

| ^~~~~~~~~~~~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\backward\auto_ptr.h:36:15: error: expected identifier before '__attribute__'

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:87,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\backward\auto_ptr.h:36:14: error: expected ';' before '__attribute__'

36 | namespace std _GLIBCXX_VISIBILITY(default)

| ^

| ;

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\backward\auto_ptr.h:37:1: error: expected primary-expression before '{' token

37 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:41,

from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

from sketch\sketch_may02b.ino.cpp:1:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:100:15: error: expected '=' before '__attribute__'

100 | namespace std _GLIBCXX_VISIBILITY(default)

| ^~~~~~~~~~~~~~~~~~~

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:100:15: error: expected identifier before '__attribute__'

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:100:14: error: expected ';' before '__attribute__'

100 | namespace std _GLIBCXX_VISIBILITY(default)

| ^

| ;

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:101:1: error: expected primary-expression before '{' token

101 | {

| ^

In file included from c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\memory:422,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

c:\users\akash\documents\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\pstl\glue_memory_defs.h:15:1: error: 'namespace' definition is not allowed here

15 | namespace std

| ^~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:41:14: error: 'shared_ptr' in namespace 'std' does not name a template type

41 | typedef std::shared_ptr<WiFiEventHandlerOpaque> WiFiEventHandler;

| ^~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:29:1: note: 'std::shared_ptr' is defined in header '<memory>'; did you forget to '#include <memory>'?

28 | #include <memory>

+++ |+#include <memory>

29 |

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:67:9: error: 'WiFiEventHandler' does not name a type; did you mean 'WiFiEventHandlerOpaque'?

67 | WiFiEventHandler onStationModeConnected(std::function<void(const WiFiEventStationModeConnected&)>);

| ^~~~~~~~~~~~~~~~

| WiFiEventHandlerOpaque

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:68:9: error: 'WiFiEventHandler' does not name a type; did you mean 'WiFiEventHandlerOpaque'?

68 | WiFiEventHandler onStationModeDisconnected(std::function<void(const WiFiEventStationModeDisconnected&)>);

| ^~~~~~~~~~~~~~~~

| WiFiEventHandlerOpaque

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:69:9: error: 'WiFiEventHandler' does not name a type; did you mean 'WiFiEventHandlerOpaque'?

69 | WiFiEventHandler onStationModeAuthModeChanged(std::function<void(const WiFiEventStationModeAuthModeChanged&)>);

| ^~~~~~~~~~~~~~~~

| WiFiEventHandlerOpaque

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:70:9: error: 'WiFiEventHandler' does not name a type; did you mean 'WiFiEventHandlerOpaque'?

70 | WiFiEventHandler onStationModeGotIP(std::function<void(const WiFiEventStationModeGotIP&)>);

| ^~~~~~~~~~~~~~~~

| WiFiEventHandlerOpaque

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:71:9: error: 'WiFiEventHandler' does not name a type; did you mean 'WiFiEventHandlerOpaque'?

71 | WiFiEventHandler onStationModeDHCPTimeout(std::function<void(void)>);

| ^~~~~~~~~~~~~~~~

| WiFiEventHandlerOpaque

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:72:9: error: 'WiFiEventHandler' does not name a type; did you mean 'WiFiEventHandlerOpaque'?

72 | WiFiEventHandler onSoftAPModeStationConnected(std::function<void(const WiFiEventSoftAPModeStationConnected&)>);

| ^~~~~~~~~~~~~~~~

| WiFiEventHandlerOpaque

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:73:9: error: 'WiFiEventHandler' does not name a type; did you mean 'WiFiEventHandlerOpaque'?

73 | WiFiEventHandler onSoftAPModeStationDisconnected(std::function<void(const WiFiEventSoftAPModeStationDisconnected&)>);

| ^~~~~~~~~~~~~~~~

| WiFiEventHandlerOpaque

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:74:9: error: 'WiFiEventHandler' does not name a type; did you mean 'WiFiEventHandlerOpaque'?

74 | WiFiEventHandler onSoftAPModeProbeRequestReceived(std::function<void(const WiFiEventSoftAPModeProbeRequestReceived&)>);

| ^~~~~~~~~~~~~~~~

| WiFiEventHandlerOpaque

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:75:9: error: 'WiFiEventHandler' does not name a type; did you mean 'WiFiEventHandlerOpaque'?

75 | WiFiEventHandler onWiFiModeChange(std::function<void(const WiFiEventModeChange&)>);

| ^~~~~~~~~~~~~~~~

| WiFiEventHandlerOpaque

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:145:21: error: local class 'class setup()::ESP8266WiFiGenericClass' shall not have static data member 'bool setup()::ESP8266WiFiGenericClass::_persistent' [-fpermissive]

145 | static bool _persistent;

| ^~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:146:27: error: local class 'class setup()::ESP8266WiFiGenericClass' shall not have static data member 'WiFiMode_t setup()::ESP8266WiFiGenericClass::_forceSleepLastMode' [-fpermissive]

146 | static WiFiMode_t _forceSleepLastMode;

| ^~~~~~~~~~~~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/netif.h:44,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/LwipIntf.h:5,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:30,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/err.h:43:8: error: expected unqualified-id before string constant

43 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/netif.h:49,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/LwipIntf.h:5,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:30,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/pbuf.h:45:8: error: expected unqualified-id before string constant

45 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/stats.h:42,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/netif.h:50,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/LwipIntf.h:5,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:30,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/mem.h:43:8: error: expected unqualified-id before string constant

43 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/stats.h:43,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/netif.h:50,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/LwipIntf.h:5,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:30,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/memp.h:44:8: error: expected unqualified-id before string constant

44 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/netif.h:50,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/LwipIntf.h:5,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:30,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/stats.h:46:8: error: expected unqualified-id before string constant

46 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/LwipIntf.h:5,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:30,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include/lwip/netif.h:53:8: error: expected unqualified-id before string constant

53 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:30,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/LwipIntf.h:14:40: error: 'netif' was not declared in this scope

14 | using CBType = std::function <void(netif*)>;

| ^~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/LwipIntf.h:14:47: error: template argument 1 is invalid

14 | using CBType = std::function <void(netif*)>;

| ^

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/LwipIntf.h:16:27: error: 'LwipIntf::CBType' has not been declared

16 | static bool stateUpCB(LwipIntf::CBType&& cb);

| ^~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/LwipIntf.h:46:34: error: 'LwipIntf::CBType' has not been declared

46 | static bool stateChangeSysCB(LwipIntf::CBType&& cb);

| ^~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:40:9: error: 'wl_status_t' does not name a type

40 | wl_status_t begin(const char* ssid, const char *passphrase = NULL, int32_t channel = 0, const uint8_t* bssid = NULL, bool connect = true);

| ^~~~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:41:9: error: 'wl_status_t' does not name a type

41 | wl_status_t begin(char* ssid, char *passphrase = NULL, int32_t channel = 0, const uint8_t* bssid = NULL, bool connect = true);

| ^~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:42:9: error: 'wl_status_t' does not name a type

42 | wl_status_t begin(const String& ssid, const String& passphrase = emptyString, int32_t channel = 0, const uint8_t* bssid = NULL, bool connect = true);

| ^~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:43:9: error: 'wl_status_t' does not name a type

43 | wl_status_t begin();

| ^~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:75:9: error: 'wl_status_t' does not name a type

75 | wl_status_t status();

| ^~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:88:21: error: local class 'class setup()::ESP8266WiFiSTAClass' shall not have static data member 'bool setup()::ESP8266WiFiSTAClass::_useStaticIp' [-fpermissive]

88 | static bool _useStaticIp;

| ^~~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:89:21: error: local class 'class setup()::ESP8266WiFiSTAClass' shall not have static data member 'bool setup()::ESP8266WiFiSTAClass::_useInsecureWEP' [-fpermissive]

89 | static bool _useInsecureWEP;

| ^~~~~~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:104:21: error: local class 'class setup()::ESP8266WiFiSTAClass' shall not have static data member 'bool setup()::ESP8266WiFiSTAClass::_smartConfigStarted' [-fpermissive]

104 | static bool _smartConfigStarted;

| ^~~~~~~~~~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:105:21: error: local class 'class setup()::ESP8266WiFiSTAClass' shall not have static data member 'bool setup()::ESP8266WiFiSTAClass::_smartConfigDone' [-fpermissive]

105 | static bool _smartConfigDone;

| ^~~~~~~~~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:36,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiScan.h:56:21: error: local class 'class setup()::ESP8266WiFiScanClass' shall not have static data member 'bool setup()::ESP8266WiFiScanClass::_scanAsync' [-fpermissive]

56 | static bool _scanAsync;

| ^~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiScan.h:57:21: error: local class 'class setup()::ESP8266WiFiScanClass' shall not have static data member 'bool setup()::ESP8266WiFiScanClass::_scanStarted' [-fpermissive]

57 | static bool _scanStarted;

| ^~~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiScan.h:58:21: error: local class 'class setup()::ESP8266WiFiScanClass' shall not have static data member 'bool setup()::ESP8266WiFiScanClass::_scanComplete' [-fpermissive]

58 | static bool _scanComplete;

| ^~~~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiScan.h:60:23: error: local class 'class setup()::ESP8266WiFiScanClass' shall not have static data member 'size_t setup()::ESP8266WiFiScanClass::_scanCount' [-fpermissive]

60 | static size_t _scanCount;

| ^~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiScan.h:61:22: error: local class 'class setup()::ESP8266WiFiScanClass' shall not have static data member 'void* setup()::ESP8266WiFiScanClass::_scanResult' [-fpermissive]

61 | static void* _scanResult;

| ^~~~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFiScan.h:63:41: error: local class 'class setup()::ESP8266WiFiScanClass' shall not have static data member 'std::function<void(int)> setup()::ESP8266WiFiScanClass::_onComplete' [-fpermissive]

63 | static std::function<void(int)> _onComplete;

| ^~~~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClient.h:29,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/include/slist.h:4:1: error: a template declaration cannot appear at block scope

4 | template<typename T>

| ^~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClient.h:45:47: error: expected template-name before '<' token

45 | class WiFiClient : public Client, public SList<WiFiClient> {

| ^

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClient.h:45:47: error: expected '{' before '<' token

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClient.h:45:47: error: expected unqualified-id before '<' token

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:40,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServer.h:25:8: error: expected unqualified-id before string constant

25 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:40,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServer.h:73:3: error: 'tcp_pcb' does not name a type

73 | tcp_pcb* _listen_pcb = nullptr;

| ^~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServer.h:101:16: error: 'tcp_pcb' has not been declared

101 | long _accept(tcp_pcb* newpcb, long err);

| ^~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServer.h:104:36: error: 'tcp_pcb' has not been declared

104 | static long _s_accept(void *arg, tcp_pcb* newpcb, long err);

| ^~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl.h:127,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl_hash.h:33:8: error: expected unqualified-id before string constant

33 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl.h:128,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl_hmac.h:34:8: error: expected unqualified-id before string constant

34 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl.h:129,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl_kdf.h:35:8: error: expected unqualified-id before string constant

35 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl_rand.h:31,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl.h:130,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl_block.h:32:8: error: expected unqualified-id before string constant

32 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl.h:130,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl_rand.h:35:8: error: expected unqualified-id before string constant

35 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl.h:131,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl_prf.h:32:8: error: expected unqualified-id before string constant

32 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl.h:133,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl_aead.h:35:8: error: expected unqualified-id before string constant

35 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl.h:134,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl_rsa.h:35:8: error: expected unqualified-id before string constant

35 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl.h:135,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl_ec.h:34:8: error: expected unqualified-id before string constant

34 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl_ssl.h:36,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl.h:136,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl_x509.h:36:8: error: expected unqualified-id before string constant

36 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl.h:136,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl_ssl.h:39:8: error: expected unqualified-id before string constant

39 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl.h:138,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:28,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/bearssl/bearssl_pem.h:32:8: error: expected unqualified-id before string constant

32 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/BearSSLHelpers.h:27,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:29,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/StackThunk.h:31:8: error: expected unqualified-id before string constant

31 | extern "C" {

| ^~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:29,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/BearSSLHelpers.h:31:1: error: 'namespace' definition is not allowed here

31 | namespace brssl {

| ^~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/BearSSLHelpers.h:36:1: error: 'namespace' definition is not allowed here

36 | namespace BearSSL {

| ^~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:26,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:30,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/FS.h:30:1: error: 'namespace' definition is not allowed here

30 | namespace fs {

| ^~~~~~~~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/FS.h:254:8: error: expected unqualified-id before string constant

254 | extern "C"

| ^~~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/FS.h:262:7: error: 'fs' has not been declared

262 | using fs::FS;

| ^~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/FS.h:263:7: error: 'fs' has not been declared

263 | using fs::File;

| ^~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/FS.h:264:7: error: 'fs' has not been declared

264 | using fs::Dir;

| ^~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/FS.h:265:7: error: 'fs' has not been declared

265 | using fs::SeekMode;

| ^~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/FS.h:266:7: error: 'fs' has not been declared

266 | using fs::SeekSet;

| ^~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/FS.h:267:7: error: 'fs' has not been declared

267 | using fs::SeekCur;

| ^~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/FS.h:268:7: error: 'fs' has not been declared

268 | using fs::SeekEnd;

| ^~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/FS.h:269:7: error: 'fs' has not been declared

269 | using fs::FSInfo;

| ^~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/FS.h:270:7: error: 'fs' has not been declared

270 | using fs::FSConfig;

| ^~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/FS.h:271:7: error: 'fs' has not been declared

271 | using fs::SPIFFSConfig;

| ^~

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/FS.h:275:8: error: 'fs' does not name a type; did you mean 'fls'?

275 | extern fs::FS SPIFFS __attribute__((deprecated("SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems.")));

| ^~

| fls

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:30,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:32:1: error: 'namespace' definition is not allowed here

32 | namespace BearSSL {

| ^~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:32:1: error: 'namespace' definition is not allowed here

32 | namespace BearSSL {

| ^~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:25:17: error: 'BearSSL' is not a namespace-name

25 | using namespace BearSSL;

| ^~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:22,

from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiServerSecureBearSSL.h:28:1: error: 'namespace' definition is not allowed here

28 | namespace BearSSL {

| ^~~~~~~~~

In file included from C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:42,

from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:25:17: error: 'BearSSL' is not a namespace-name

25 | using namespace BearSSL;

| ^~~~~~~

In file included from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:3:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:56:8: error: expected unqualified-id before string constant

56 | extern "C" void enableWiFiAtBootTime (void) __attribute__((noinline));

| ^~~

In file included from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:4:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\Servo\src/Servo.h:87:21: error: local class 'class setup()::Servo' shall not have static data member 'uint32_t setup()::Servo::_servoMap' [-fpermissive]

87 | static uint32_t _servoMap;

| ^~~~~~~~~

In file included from C:\Users\akash\Documents\Arduino\sketch_may02b\sketch_may02b.ino:6:

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiUdp.h:32:41: error: expected template-name before '<' token

32 | class WiFiUDP : public UDP, public SList<WiFiUDP> {

| ^

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiUdp.h:32:41: error: expected '{' before '<' token

C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src/WiFiUdp.h:32:41: error: expected unqualified-id before '<' token

sketch_may02b:22:9: error: aggregate 'setup()::WiFiUDP ntpUDP' has incomplete type and cannot be defined

22 | WiFiUDP ntpUDP;

| ^~~~~~

sketch_may02b:42:12: error: aggregate 'setup()::WiFiClient client' has incomplete type and cannot be defined

42 | WiFiClient client;

| ^~~~~~

sketch_may02b:55:14: error: a function-definition is not allowed here before '{' token

55 | void setup() {

| ^

sketch_may02b:81:13: error: a function-definition is not allowed here before '{' token

81 | void loop() {

| ^

sketch_may02b:194:1: error: a function-definition is not allowed here before '{' token

194 | {

| ^

Multiple libraries were found for "Servo.h"

Used: C:\Users\akash\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\Servo

Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries\Servo

exit status 1

aggregate 'setup()::WiFiUDP ntpUDP' has incomplete type and cannot be defined

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.