Compiling with Clang 13.0.0 fails
Bond-009 opened this issue · comments
Bond-009 commented
Server OS: Linux
Cuberite Commit id: 7790ebc
Compiling with Clang 13.0.0 fails
cuberite/lib/mbedtls/library/psa_crypto_cipher.c:267:12: error: parameter 'output_size' set but not used [-Werror,-Wunused-but-set-parameter]
size_t output_size,
^
1 error generated.
make[2]: *** [lib/mbedtls/library/CMakeFiles/mbedcrypto.dir/build.make:748: lib/mbedtls/library/CMakeFiles/mbedcrypto.dir/psa_crypto_cipher.c.o] Error 1
x12xx12x commented
This seems to be a problem of polarssl
Our branch is up to date with theirs
Tiger Wang commented
Fixed upstream Mbed-TLS/mbedtls#4938 but awaiting their release
Alexander Harkness commented
Bond-009 commented
error: AST file was compiled with the target feature '-rtm' but the current translation unit is not
error: current translation unit is compiled with the target feature '+rtm' but the AST file was not
When compiling without any options
x12xx12x commented
Is this issue resolved with the PR?
Bond-009 commented
No, see my last comment
KingCol13 commented
I just managed to compile with clang 13.0.0. My compilation issues seem to have been fixed in da0fdbe.
Bond-009 commented
Master compiles fine now, tested release and debug.