[MacPorts] #60762: mbedtls @2.23.0: error: will never be executed [-Werror, -Wunreachable-code]
MacPorts
noreply at macports.org
Fri Jul 3 08:37:17 UTC 2020
#60762: mbedtls @2.23.0: error: will never be executed [-Werror,-Wunreachable-code]
------------------------+-------------------------
Reporter: ryandesign | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: mbedtls
------------------------+-------------------------
https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/20787/steps
/install-port/logs/stdio
{{{
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_mbedtls/mbedtls/work/mbedtls-2.23.0/library/bignum.c:814:13:
error: will never be executed [-Werror,-Wunreachable-code]
return( mpi_uint_bigendian_to_host_c( x ) );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_mbedtls/mbedtls/work/mbedtls-2.23.0/library/bignum.c:804:21:
error: will never be executed [-Werror,-Wunreachable-code]
return( __builtin_bswap32(x) );
^~~~~~~~~~~~~~~~~
2 errors generated.
}}}
Maybe don't use `-Werror`.
--
Ticket URL: <https://trac.macports.org/ticket/60762>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list