B4R Question Feather esp32 doesn't compile

kolbe

Active Member
Licensed User
Longtime User
Hello I'm getting the following error when using an Adafruit Feather esp32. This is a new project with no extra code. Everything compiles fine in the Arduino IDE.

B4X:
B4R version: 1.80
Parsing code.    (0.00s)
Compiling code.    (0.03s)
Building project    (0.02s)
Compiling & deploying Ino project (Adafruit ESP32 Feather - COM11)    Error
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
sketch\B4RCore.cpp: In static member function 'static void B4R::BR::varArgsToObject(B4R::Object*, int, va_list)':
B4RCore.cpp:233: error: invalid conversion from 'const void*' to 'void*' [-fpermissive]
      o[index].wrapPointer((const __FlashStringHelper*)va_arg(arguments, void*));
                                                                               ^
sketch\B4RCore.cpp:5:10: note:   initializing argument 1 of 'B4R::Object* B4R::Object::wrapPointer(void*)'
  Object* Object::wrapPointer(void* p) {
          ^
exit status 1
 
Top