Only C++
This commit is contained in:
parent
c3c91c2621
commit
4b8b6e3fb7
@ -62,7 +62,7 @@ termux_step_host_build () {
|
|||||||
# src/core/lib/security/credentials/oauth2/oauth2_credentials.cc:336:61: error: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct grpc_oauth2_token_fetcher_credentials’; use assignment or value-initialization instead [-Werror=class-memaccess]
|
# src/core/lib/security/credentials/oauth2/oauth2_credentials.cc:336:61: error: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct grpc_oauth2_token_fetcher_credentials’; use assignment or value-initialization instead [-Werror=class-memaccess]
|
||||||
# memset(c, 0, sizeof(grpc_oauth2_token_fetcher_credentials));
|
# memset(c, 0, sizeof(grpc_oauth2_token_fetcher_credentials));
|
||||||
# when building version 1.17.2:
|
# when building version 1.17.2:
|
||||||
CPPFLAGS="-Wno-error=class-memaccess" \
|
CXXFLAGS="-Wno-error=class-memaccess" \
|
||||||
CFLAGS="-Wno-implicit-fallthrough" \
|
CFLAGS="-Wno-implicit-fallthrough" \
|
||||||
make -j $TERMUX_MAKE_PROCESSES \
|
make -j $TERMUX_MAKE_PROCESSES \
|
||||||
HAS_SYSTEM_PROTOBUF=false \
|
HAS_SYSTEM_PROTOBUF=false \
|
||||||
|
Loading…
Reference in New Issue
Block a user