Code: Select all
In file included from C:/college/floh/01_hello_world/components/arduino/cores/esp32/Print.h:27:0,
from C:/college/floh/01_hello_world/components/arduino/cores/esp32/Stream.h:26,
from C:/college/floh/01_hello_world/components/arduino/cores/esp32/Arduino.h:136,
from C:/college/floh/01_hello_world/main/PIR_Nano32.c:36:
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Printable.h:25:1: error: unknown type name 'class'
class Print;
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Printable.h:33:1: error: unknown type name 'class'
class Printable
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Printable.h:34:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
{
^
In file included from C:/college/floh/01_hello_world/components/arduino/cores/esp32/Stream.h:26:0,
from C:/college/floh/01_hello_world/components/arduino/cores/esp32/Arduino.h:136,
from C:/college/floh/01_hello_world/main/PIR_Nano32.c:36:
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Print.h:34:1: error: unknown type name 'class'
class Print
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Print.h:35:1: error: expected '=', ',', ';', 'asm' or '__a
ttribute__' before '{' token
{
^
In file included from C:/college/floh/01_hello_world/components/arduino/cores/esp32/Arduino.h:136:0,
from C:/college/floh/01_hello_world/main/PIR_Nano32.c:36:
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Stream.h:38:1: error: unknown type name 'class'
class Stream: public Print
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Stream.h:38:13: error: expected '=', ',', ';', 'asm' or '_
_attribute__' before ':' token
class Stream: public Print
^
In file included from C:/college/floh/01_hello_world/components/arduino/cores/esp32/Arduino.h:139:0,
from C:/college/floh/01_hello_world/main/PIR_Nano32.c:36:
C:/college/floh/01_hello_world/components/arduino/cores/esp32/IPAddress.h:29:1: error: unknown type name 'class'
class IPAddress: public Printable
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/IPAddress.h:29:16: error: expected '=', ',', ';', 'asm' or
'__attribute__' before ':' token
class IPAddress: public Printable
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/IPAddress.h:91:1: error: unknown type name 'IPAddress'
const IPAddress INADDR_NONE(0, 0, 0, 0);
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/IPAddress.h:91:29: error: expected declaration specifiers
or '...' before numeric constant
const IPAddress INADDR_NONE(0, 0, 0, 0);
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/IPAddress.h:91:32: error: expected declaration specifiers
or '...' before numeric constant
const IPAddress INADDR_NONE(0, 0, 0, 0);
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/IPAddress.h:91:35: error: expected declaration specifiers
or '...' before numeric constant
const IPAddress INADDR_NONE(0, 0, 0, 0);
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/IPAddress.h:91:38: error: expected declaration specifiers
or '...' before numeric constant
const IPAddress INADDR_NONE(0, 0, 0, 0);
^
In file included from C:/college/floh/01_hello_world/components/arduino/cores/esp32/Arduino.h:140:0,
from C:/college/floh/01_hello_world/main/PIR_Nano32.c:36:
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Client.h:26:1: error: unknown type name 'class'
class Client: public Stream
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Client.h:26:13: error: expected '=', ',', ';', 'asm' or '_
_attribute__' before ':' token
class Client: public Stream
^
In file included from C:/college/floh/01_hello_world/components/arduino/cores/esp32/Arduino.h:141:0,
from C:/college/floh/01_hello_world/main/PIR_Nano32.c:36:
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Server.h:25:1: error: unknown type name 'class'
class Server: public Print
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Server.h:25:13: error: expected '=', ',', ';', 'asm' or '_
_attribute__' before ':' token
class Server: public Print
^
In file included from C:/college/floh/01_hello_world/components/arduino/cores/esp32/Arduino.h:142:0,
from C:/college/floh/01_hello_world/main/PIR_Nano32.c:36:
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Udp.h:41:1: error: unknown type name 'class'
class UDP: public Stream
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Udp.h:41:10: error: expected '=', ',', ';', 'asm' or '__at
tribute__' before ':' token
class UDP: public Stream
^
In file included from C:/college/floh/01_hello_world/components/arduino/cores/esp32/Arduino.h:143:0,
from C:/college/floh/01_hello_world/main/PIR_Nano32.c:36:
C:/college/floh/01_hello_world/components/arduino/cores/esp32/HardwareSerial.h:35:1: error: unknown type name 'class'
class HardwareSerial: public Stream
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/HardwareSerial.h:35:21: error: expected '=', ',', ';', 'as
m' or '__attribute__' before ':' token
class HardwareSerial: public Stream
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/HardwareSerial.h:74:1: error: unknown type name 'HardwareS
erial'
extern HardwareSerial Serial;
^
In file included from C:/college/floh/01_hello_world/components/arduino/cores/esp32/Arduino.h:144:0,
from C:/college/floh/01_hello_world/main/PIR_Nano32.c:36:
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Esp.h:51:1: error: unknown type name 'class'
class EspClass
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Esp.h:52:1: error: expected '=', ',', ';', 'asm' or '__att
ribute__' before '{' token
{
^
C:/college/floh/01_hello_world/components/arduino/cores/esp32/Esp.h:83:1: error: unknown type name 'EspClass'
extern EspClass ESP;
^
make[1]: *** [c:/sdk32/esp-idf/make/component_common.mk:111: PIR_Nano32.o] Error 1
make[1]: Leaving directory '/c/college/floh/01_hello_world/build/main'
make: *** [c:/sdk32/esp-idf/make/project.mk:251: main-build] Error 2