-
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
empty paragraph passed to '\retval' command [-Werror,-Wdocumentation] #6960
Comments
I can reproduce locally with
Passing up to Clang 14, failing with 15.0.6 or 16.0.0. This looks to me like a bug in Clang ≥15. It insists on having a non-empty description after |
I suspect we are going to have to disable this warning and suggest you do likewise, at least for the time being (as Gilles points out, our documentation is checked with doxygen anyway) Apologies, we had not yet encountered this as the most up to date clang in most distributions is still 14. |
I've filed a bug/feature request against clang: llvm/llvm-project#60315 |
is there any workaround to be able to build with later clang (eg. 15.0.7)? |
Yes, you can either use |
on clean git clone, make gives this error: ........................... |
That is your problem. After compilation, CMake would have tried to do this too. You need to ensure that |
i use termux on an android and managed to install ar with: pkg install binutils-is-llvm |
Fixes Mbed-TLS#6960 Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
Summary
Hi,
I am trying to compile mbedtls as cmake submodule inside the hyperion.ng project in a termux environment on android.
Initially I asked the hyperion devs for help, but I got forwarded here, as it is only a submodule.
During compilation I get the following errors:
The only solution I have found through google was to disable -Wdocumentation, which does not seem like a correct solution.
System information
Mbed TLS version (number or commit id): 3.3
Operating system and version: Termux (Android)
Configuration (if not default, please attach
mbedtls_config.h
): none?Compiler and options (if you used a pre-built binary, please indicate how you obtained it):
clang 15.0.7
cmake source code:
Additional environment information:
Expected behavior
No errors.
Actual behavior
Steps to reproduce
Inside Termux on Android:
Additional information
The text was updated successfully, but these errors were encountered: