-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
When I do make in the grpc directory I get a warning because of a cast in connect.c and it stops compiling because it treats all warnings as errors. Heres the terminal message:
third_party/boringssl/crypto/bio/connect.c: In function ‘conn_callback_ctrl’:
third_party/boringssl/crypto/bio/connect.c:491:29: error: cast between incompatible function types from ‘bio_info_cb’ {aka ‘long int (*)(struct bio_st *, int, const char *, int, long int, long int)’} to ‘int (*)(const struct bio_st *, int, int)’ [-Werror=cast-function-type]
data->info_callback = (int (*)(const struct bio_st *, int, int))fp;
^
cc1: all warnings being treated as errors
Makefile:2899: recipe for target '/home/eduardojj/assistant-sdk-cpp/grpc/objs/opt/third_party/boringssl/crypto/bio/connect.o' failed
make: *** [/home/eduardojj/assistant-sdk-cpp/grpc/objs/opt/third_party/boringssl/crypto/bio/connect.o] Error 1
Thank you.
Metadata
Metadata
Assignees
Labels
No labels