Bug? Compiling existing code with B4R 2.80 Beta#1...

rbghongade

Active Member
Licensed User
Longtime User
Hello,
Got this error while compiling with B4R 2.80 Beta1 :
B4X:
D:\DEVELO~2\DEVELO~1\WEMOSP~1\PCERFV6\Objects\bin\sketch\rSD.cpp: In member function 'virtual bool B4R::FileIterator::MoveNext()':
rSD.cpp:102:45: error: no matching function for call to 'fs::File::openNextFile(const uint8_t&)'
   current->file = dir.openNextFile(FILE_READ);
                                             ^
D:\DEVELO~2\DEVELO~1\WEMOSP~1\PCERFV6\Objects\bin\sketch\rSD.cpp:102:45: note: candidate is:
In file included from C:\Users\admin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\libraries\SD\src/SD.h:24:0,
                 from D:\DEVELO~2\DEVELO~1\WEMOSP~1\PCERFV6\Objects\bin\sketch\B4RDefines.h:23,
                 from D:\DEVELO~2\DEVELO~1\WEMOSP~1\PCERFV6\Objects\bin\sketch\rSD.cpp:1:
C:\Users\admin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/FS.h:109:10: note: fs::File fs::File::openNextFile()
     File openNextFile();
          ^
C:\Users\admin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/FS.h:109:10: note:   candidate expects 0 arguments, 1 provided
exit status 1
exit status 1
exit status 1
 
Top