When using V2.0.17 esp32 (by Espressif Systems -> ESP32 Dev Module) the code compiles, when using an upgraded latest esp32 V3.0.5 the library throws errors and wont compile:
In file included from c:\Users\xxx\Documents\Arduino\libraries\AutoConnect\src/AutoConnectCore.hpp:31,
from c:\Users\xxx\Documents\Arduino\libraries\AutoConnect\src/AutoConnectCoreImpl.hpp:13,
from c:\Users\xxx\Documents\Arduino\libraries\AutoConnect\src/AutoConnectExt.hpp:15,
from c:\Users\xxx\Documents\Arduino\libraries\AutoConnect\src/AutoConnectExtImpl.hpp:13,
from c:\Users\xxx\Documents\Arduino\libraries\AutoConnect\src/AutoConnect.h:15,
from C:\Users\xxx\Documents\Arduino\openAger_lite\openAger_Lite\openAger_Lite.ino:9:
c:\Users\xxx\Documents\Arduino\libraries\PageBuilder\src/PageBuilder.h:301:80: error: 'decltype' cannot resolve address of overloaded function
301 | std::is_lvalue_reference<TypeOfArgument<decltype(&RequestHandler::canHandle)>::arg<1>::type>::value,
| ^
c:\Users\xxx\Documents\Arduino\libraries\PageBuilder\src/PageBuilder.h:301:81: error: template argument 1 is invalid
301 | std::is_lvalue_reference<TypeOfArgument<decltype(&RequestHandler::canHandle)>::arg<1>::type>::value,
| ^
c:\Users\xxx\Documents\Arduino\libraries\PageBuilder\src/PageBuilder.h:301:89: error: template argument 1 is invalid
301 | std::is_lvalue_reference<TypeOfArgument<decltype(&RequestHandler::canHandle)>::arg<1>::type>::value,
| ^
c:\Users\xxx\Documents\Arduino\libraries\PageBuilder\src/PageBuilder.h:301:96: error: wrong number of template arguments (1, should be 3)
301 | std::is_lvalue_reference<TypeOfArgument<decltype(&RequestHandler::canHandle)>::arg<1>::type>::value,
I am running in the same issue. It would be great just to know if @Hieromon is going to maintain this lib to make it compatible with arduino core 3.X... (it is just to know, not to push)
When using V2.0.17 esp32 (by Espressif Systems -> ESP32 Dev Module) the code compiles, when using an upgraded latest esp32 V3.0.5 the library throws errors and wont compile:
In file included from c:\Users\xxx\Documents\Arduino\libraries\AutoConnect\src/AutoConnectCore.hpp:31, from c:\Users\xxx\Documents\Arduino\libraries\AutoConnect\src/AutoConnectCoreImpl.hpp:13, from c:\Users\xxx\Documents\Arduino\libraries\AutoConnect\src/AutoConnectExt.hpp:15, from c:\Users\xxx\Documents\Arduino\libraries\AutoConnect\src/AutoConnectExtImpl.hpp:13, from c:\Users\xxx\Documents\Arduino\libraries\AutoConnect\src/AutoConnect.h:15, from C:\Users\xxx\Documents\Arduino\openAger_lite\openAger_Lite\openAger_Lite.ino:9: c:\Users\xxx\Documents\Arduino\libraries\PageBuilder\src/PageBuilder.h:301:80: error: 'decltype' cannot resolve address of overloaded function 301 | std::is_lvalue_reference<TypeOfArgument<decltype(&RequestHandler::canHandle)>::arg<1>::type>::value, | ^ c:\Users\xxx\Documents\Arduino\libraries\PageBuilder\src/PageBuilder.h:301:81: error: template argument 1 is invalid 301 | std::is_lvalue_reference<TypeOfArgument<decltype(&RequestHandler::canHandle)>::arg<1>::type>::value, | ^ c:\Users\xxx\Documents\Arduino\libraries\PageBuilder\src/PageBuilder.h:301:89: error: template argument 1 is invalid 301 | std::is_lvalue_reference<TypeOfArgument<decltype(&RequestHandler::canHandle)>::arg<1>::type>::value, | ^ c:\Users\xxx\Documents\Arduino\libraries\PageBuilder\src/PageBuilder.h:301:96: error: wrong number of template arguments (1, should be 3) 301 | std::is_lvalue_reference<TypeOfArgument<decltype(&RequestHandler::canHandle)>::arg<1>::type>::value,