B4R Question B4R compile problems

rodmcm

Active Member
Licensed User
Hi
I am compiling onto an ESP32 and have the following error log.. Can anyone shed light on this please
I have uploaded the program I am using which was on this forum

B4R Version: 2.20
Parsing code. (0.00s)
Compiling code. (0.01s)
Building project (0.03s)
Compiling & deploying Ino project (ESP32 Dev Module - COM3) Error
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
In file included from c:\users\mcmahon engineering\documents\arduino\hardware\espressif\esp32\tools\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algobase.h:59:0,
from c:\users\mcmahon engineering\documents\arduino\hardware\espressif\esp32\tools\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\5.2.0\memory:62,
from C:\Users\McMahon Engineering\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi\src/WiFiClient.h:28,
from C:\Users\McMahon Engineering\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi\src/WiFi.h:37,
from C:\RODSFI~1\RODSPL~1\RODTOO~1\B4A\FORUMR~1\B4RSER~1\Objects\bin\sketch\rESP8266WiFi.h:4,
from C:\RODSFI~1\RODSPL~1\RODTOO~1\B4A\FORUMR~1\B4RSER~1\Objects\bin\sketch\B4RDefines.h:26,
from C:\RODSFI~1\RODSPL~1\RODTOO~1\B4A\FORUMR~1\B4RSER~1\Objects\bin\sketch\AsyncStreams.cpp:1:
c:\users\mcmahon engineering\documents\arduino\hardware\espressif\esp32\tools\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\5.2.0\new: In function 'void* operator new(std::size_t, void*)':
c:\users\mcmahon engineering\documents\arduino\hardware\espressif\esp32\tools\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\5.2.0\new:129:51: error: declaration of 'void* operator new(std::size_t, void*) noexcept' has a different exception specifier
inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
^
In file included from C:\RODSFI~1\RODSPL~1\RODTOO~1\B4A\FORUMR~1\B4RSER~1\Objects\bin\sketch\B4RDefines.h:24:0,
from C:\RODSFI~1\RODSPL~1\RODTOO~1\B4A\FORUMR~1\B4RSER~1\Objects\bin\sketch\AsyncStreams.cpp:1:
rCore.h:18: error: from previous declaration 'void* operator new(size_t, void*)'
extern void *operator new( size_t size, void *ptr );
^
exit status 1
 

Attachments

  • B4R Server.zip
    70.6 KB · Views: 230
Top