IotWebConf
IotWebConf copied to clipboard
IotWebConf 3.0.1 conflicts with esp32 core 2.0.0-alpha1
prampec, I'm using 2.0.0-alpha1 to bypass the security bug in 1.0.6, but now I'm getting some library errors that don't happen in 1.0.6.
I can certainly understand not being interested in supporting an alpha, but perhaps this is easily fixable?
C:\Users\pikachu\Documents\Arduino\libraries\IotWebConf\src/IotWebConfTParameter.h: At global scope:
C:\Users\pikachu\Documents\Arduino\libraries\IotWebConf\src/IotWebConfTParameter.h:293:23: error: cannot inherit constructors from indirect base 'iotwebconf::DataType<bool, bool>'
using DataType<bool>::DataType;
^~~~~~~~
C:\Users\x\Documents\Arduino\libraries\IotWebConf\src/IotWebConfTParameter.h:308:24: error: cannot inherit constructors from indirect base 'iotwebconf::DataType<float, float>'
using DataType<float>::DataType;
^~~~~~~~
C:\Users\x\Documents\Arduino\libraries\IotWebConf\src/IotWebConfTParameter.h:323:25: error: cannot inherit constructors from indirect base 'iotwebconf::DataType<double, double>'
using DataType<double>::DataType;
^~~~~~~~
C:\Users\x\Documents\Arduino\libraries\IotWebConf\src/IotWebConfTParameter.h: In instantiation of 'class iotwebconf::SignedIntDataType<int, 10>':
C:\Users\x\Documents\Arduino\libraries\IotWebConf\src/IotWebConfTParameter.h:663:7: required from 'class iotwebconf::IntTParameter<int>'
sketch\wifi_server.h:68:36: required from here
C:\Users\x\Documents\Arduino\libraries\IotWebConf\src/IotWebConfTParameter.h:262:28: error: cannot inherit constructors from indirect base 'iotwebconf::DataType<int, int>'
using DataType<ValueType>::DataType;
^~~~~~~~
That's not good. It took me 2 moths to get together where we are now with the TypedParameters. I just don't want to spend more time on this right now.
I confirmed the error is because 2.0.0-alpha1 uses a different gcc compiler than 1.0.6.
I guess we wait a few days to see if they fix 1.0.6. Otherwise, I'm willing to test whatever you got.
It is very likely, that we need to add some additional lines to some places. I need to do this some days before 2.0.0 goes official. https://stackoverflow.com/questions/61476446/getting-error-can-not-inherit-constructors-from-indirect-base-in-c17-compiler
I found that page yesterday. I had no idea what a constructor even was, so I read a bunch of tutorials and watched videos on it, then looked back at your code and decided 'nope, it's way over my head.'