Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incomplete type std::string for strings used in library (_host , _CaCert ) #66

Closed
AashayaDesigns opened this issue May 17, 2021 · 1 comment

Comments

@AashayaDesigns
Copy link

C:\Users\User\Documents\Arduino\libraries\arduino_107156\src/wcs/esp8266/FB_HTTPClient.h:109:15: error: field '_host' has incomplete type 'std::string' {aka 'std::__cxx11::basic_string'}
109 | std::string _host = "";

Error when compiling the files itself.

To Reproduce
Steps to reproduce the behavior:

  1. Update to arduino core 3.0.0
  2. Open any example from library
  3. Compile

Expected behavior
Was compiling flawlessly previously in Arduino core 2.7.4

IDE and its version:

  • Arduino, 1.8.14

ESP8266 Arduino Core SDK version

  • 3.0.0
@AashayaDesigns AashayaDesigns added bug Something isn't working good first issue Good for newcomers invalid This doesn't seem right wontfix This will not be worked on labels May 17, 2021
@mobizt mobizt removed bug Something isn't working good first issue Good for newcomers invalid This doesn't seem right wontfix This will not be worked on labels May 17, 2021
@mobizt
Copy link
Owner

mobizt commented May 17, 2021

This is due to the GCC 10 compiler error used in ESP8266 Arduino Core SDK 3.0.0 which you're using.

The library updated to v2.2.0 to support this new SDK.

Please update.

Please read this as it affected to your free memory.

@mobizt mobizt closed this as completed May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants