In file included from C:\Users\HP\Documents\Arduino\ES_Special\ES_Special.ino:1:0:
C:\Users\HP\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32/Arduino.h:158:12: error: 'std::isinf' has not been declared
using std::isinf;
^
C:\Users\HP\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32/Arduino.h:159:12: error: 'std::isnan' has not been declared
using std::isnan;
^
In file included from C:\Users\HP\Documents\Arduino\ES_Special\ES_Special.ino:10:0:
C:\Users\HP\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\HTTPClient\src/HTTPClient.h:142:14: error: 'unique_ptr' in namespace 'std' does not name a template type
typedef std::unique_ptr TransportTraitsPtr;
^
C:\Users\HP\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\HTTPClient\src/HTTPClient.h:234:5: error: 'TransportTraitsPtr' does not name a type
TransportTraitsPtr _transportTraits;
^
C:\Users\HP\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\HTTPClient\src/HTTPClient.h:235:10: error: 'unique_ptr' in namespace 'std' does not name a template type
std::unique_ptr _tcpDeprecated;
^
exit status 1
Error compiling for board DOIT ESP32 DEVKIT V1.
I am getting this error for my code. I tried to upload the blank sketch it worked, but this is not working at all.