Giter Club home page Giter Club logo

Comments (2)

kFYatek avatar kFYatek commented on June 3, 2024

This stems from some API changes over the history of Mbed TLS:

  • Before Mbed TLS 2.7, there were only functions such as mbedtls_md5_starts(), which returned void
  • In Mbed TLS 2.7, these functions got deprecated, with new APIs called e.g. mbedtls_md5_starts_ret() added, able to return an error code as int
  • In Mbed TLS 3.0, the old deprecated APIs got removed, and the *_ret() APIs have been renamed to the names identical to the old pre-2.7 function names

avs_commons uses the Mbed TLS 3.0 APIs, and includes these #defines to bridge the API differences between versions and stay compatible with Mbed TLS 2.x, including the pre-2.7 versions.

These macros seem to conflict with some macros in ESP-IDF, but we have checked the consequences of that and verified that this is harmless.

The warnings will almost certainly disappear once ESP-IDF is updated to use Mbed TLS 3.x. Due to that, the harmlessness of the warning and the fact that it comes from compatibility code that affects platforms other than ESP-IDF as well, we decided to just ignore the issue and let the warning be reported.

from anjay-esp32-client.

AxelLin avatar AxelLin commented on June 3, 2024

@kFYatek
Thanks for the quick response and clarify it's harmless.

from anjay-esp32-client.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.