-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
#warning "**Y2038** time_t is only 32-bits in this build configuration stops the build for esp32 due to -Werror=cpp #2784
Comments
See issue #2758.
|
I just rebuild the docker image with the Dockerfile, cuz I want the new websocket fix. Shouldn't it pull the latest IDF version automatically for me? |
Ah, I see. The default IDF installed is version 4.4, we should probably update that to 5.2. |
For now, you can modify the dockerfile as per https://sming.readthedocs.io/en/latest/_inc/Sming/Arch/Esp32/README.html#idf-versions:
|
This PR updates the embedded toolchains to more recent versions, setting the new default installed version for Esp32 to IDF 5.2. The library testing github actions script has been updated to include missing esp32c2 architecture and test against IDF 4.4 and 5.2. **Esp32 IDF SDK** The installation scripts now install IDF version 5.2 by default (see issue #2784 regarding docker build failure because of Y2038 warning with IDF < 5). Deprecation warnings printed for IDF 4.3 and 4.4 after final link step. See #2732 for discussion regarding old versions. Windows CI tests for IDF 4.3, 5.0 removed. **Extend library tests to include missing esp32 variants** CI testing when developing libraries is much more efficient than running the main Sming CI tests. Looks like these haven't been updated for a while so have added the `esp32s3` and `esp32c2` variants and testing against IDF 5.2 for all esp32 variants. Previously was only 4.4 (old default). **Esp8266 Toolchain** The installer has been updated to use the latest toolchain (Feb 23), gcc 10.3. **RP2040 Toolchain** The installer has been updated to use the latest toolchain (Oct 23), gcc 13.2.
Warning now removed. |
When using the lastest sming in docker and try to build esp32
I have the following error:
Have to delete that line from DataTime.cpp to make it work, I don't know where this -Werror=cpp is defined. Or if this warning is necessary.
The text was updated successfully, but these errors were encountered: