Comments (8)
Maybe related to #8786 ? It looks like we have functions that were intended to be static inline
but static
is missing.
from mbedtls.
There have been a lot of changes in this area, most recently in PR #8719. Can you try again with development
? Several functions were changed from inline
to static inline
then
from mbedtls.
@barracuda156 AFAIK we don't actually currently support building with -Wmissing-prototypes
and obviously not using this flag gets rid of these warnings, so to answer your original question, I don't think these warnings are of concern.
from mbedtls.
Hi @barracuda156, is this with a freshly checked-out default config? Thanks
from mbedtls.
Hi @barracuda156, is this with a freshly checked-out default config? Thanks
@tom-daubney-arm I am building from the portfile: https://github.com/macports/macports-ports/blob/d9650bcb2c73bc2993339693855f715134e30bb2/devel/mbedtls3/Portfile
No modifications locally on my end.
The only patch applied from Macports side is related to Python: https://github.com/macports/macports-ports/blob/master/devel/mbedtls3/files/patch-CMakeLists.txt.diff
I believe, that should not be relevant to functions prototypes.
from mbedtls.
Maybe related to #8786 ? It looks like we have functions that were intended to be
static inline
butstatic
is missing.
Possibly, yes.
from mbedtls.
I am now closing this issue for the reasons outlined in the comment above which is essentially that we currently don't support builds with the -Wmissing-prototypes
flag set.
Edit:- this is not fully correct. Library code does support the flag, however test and program code does not. This issue still needs to be closed since this problem has been taken care of in the latest development branch.
from mbedtls.
@tom-daubney-arm As long as these warnings constitute no problem and are merely triggered by an extra flag, there is no issue indeed. Thank you.
(I am not a maintainer of mdebtls3
port, so I am not sure why that flag is added.)
from mbedtls.
Related Issues (20)
- Replace `MBEDTLS_MD_CAN_SHA512` with its `PSA_WANT` counterpartart
- Replace `MBEDTLS_MD_CAN_SHA3_*` with its `PSA_WANT` counterpartarts
- Client certificate verify HOT 1
- mbedtls_pk_sign_ext() returned -16000 (-0x3e80) HOT 1
- Do not perform adjustments on legacy crypto from PSA, when MBEDTLS_PSA_CRYPTO_CLIENT && !MBEDTLS_PSA_CRYPTO_C HOT 2
- Can't disable certificate verification with TLSv1.3 HOT 2
- MBEDTLS_ERR_SSL_RECEIVED_NEW_SESSION_TICKET breaks backwards-compatibility? HOT 1
- Clean up psk_list in ssl-opt.sh
- Support the `crypto_config.h` usage in depends.py
- Update the `cipher_id` domain to use PSA macros in `depends.py`
- Update the `cipher_chaining` domain to use PSA macros in `depends.py`
- Update the `curves` domain to use PSA macros in `depends.py`
- Update the `hashes` domain to use PSA macros in `depends.py`
- Update the `pkalgs` domain to use PSA macros in `depends.py`
- Guidance to remove check_config.h inclusion from mbedtls_config.h
- CMake: Dependency scope HOT 3
- Remove hkdf.c HOT 2
- Protect against spurious definitions of derived symbols
- 2.28 only: build broken when `check_config.h` is not included
- Missing include stdlib.h and stdio.h in some platform configurations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mbedtls.