-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
"make check" fails to build cleanly with extra warnings enabled #1628
Comments
|
ARM Internal Ref: IOTSSL-2524 |
@Patater I can't reproduce this on my machine. Steps used:
Tools versions:
Can you still reproduce on your machine? If so, any idea what could explain the discrepancy? Note: we do try to suppress this warning in tests, because as Gilles mentioned, we don't really care about it in generated code.
|
I was using clang. |
Could reproduce now. It looks like the issue would be fixed by changing each occurrence of Or, as Gilles said, in the meantime you can just use |
* origin/pr/2320: Clarify ChangeLog entry for fix to #1628 Add Changelog entry for clang test-ref-configs.pl fix Enable more compiler warnings in tests/Makefile Change file scoping of test helpers.function
* origin/pr/2053: Clarify ChangeLog entry for fix to #1628 Add Changelog entry for clang test-ref-configs.pl fix Enable more compiler warnings in tests/Makefile Change file scoping of test helpers.function
* origin/pr/2053: Clarify ChangeLog entry for fix to #1628 Add Changelog entry for clang test-ref-configs.pl fix Enable more compiler warnings in tests/Makefile Change file scoping of test helpers.function
* restricted/pr/608: programs: Make `make clean` clean all programs always ssl_tls: Enable Suite B with subset of ECP curves windows: Fix Release x64 configuration timing: Remove redundant include file net_sockets: Fix typo in net_would_block() Add all.sh component that exercises invalid_param checks Remove mbedtls_param_failed from programs Make it easier to define MBEDTLS_PARAM_FAILED as assert Make test suites compatible with #include <assert.h> Pass -m32 to the linker as well Update library to 2.16.2 Use 'config.pl baremetal' in all.sh Clarify ChangeLog entry for fix to Mbed-TLS#1628 Fix Mbed-TLS#2370, minor typos and spelling mistakes Add Changelog entry for clang test-ref-configs.pl fix Enable more compiler warnings in tests/Makefile Change file scoping of test helpers.function
Fixed by #2053, therefore closing. |
Description
Bug
mbed TLS build:
Version: 2.9.0
Expected behavior
make check CFLAGS="-O2 -Wall -Wextra -Werror"
should not fail to build.Actual behavior
make check CFLAGS="-O2 -Wall -Wextra -Werror"
fails to build, due to warnings like the following:Steps to reproduce
Run
make check CFLAGS="-O2 -Wall -Wextra -Werror"
.The text was updated successfully, but these errors were encountered: