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

Discussion in 'B4R Bugs & Wishlist' started by rbghongade, Jun 13, 2019.

  1. rbghongade

    rbghongade Active Member Licensed User

    Hello,
    Got this error while compiling with B4R 2.80 Beta1 :
    Code:
    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
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    I will check it.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice