Skip to content

grpc_completion_queue_benchmark target doesn't compile #1576

@dgquintas

Description

@dgquintas

at d6808d8

$ make grpc_completion_queue_benchmark -j 10
[C]       Compiling test/core/surface/completion_queue_benchmark.c
test/core/surface/completion_queue_benchmark.c: In function ‘producer_thread’:
test/core/surface/completion_queue_benchmark.c:60:37: error: ‘GRPC_WRITE_ACCEPTED’ undeclared (first use in this function)
     grpc_cq_begin_op(opt->cc, NULL, GRPC_WRITE_ACCEPTED);
                                     ^
test/core/surface/completion_queue_benchmark.c:60:37: note: each undeclared identifier is reported only once for each function it appears in
test/core/surface/completion_queue_benchmark.c:61:5: error: implicit declaration of function ‘grpc_cq_end_write_accepted’ [-Werror=implicit-function-declaration]
     grpc_cq_end_write_accepted(opt->cc, (void *)(gpr_intptr) 1, NULL, NULL,
     ^
test/core/surface/completion_queue_benchmark.c: In function ‘consumer_thread’:
test/core/surface/completion_queue_benchmark.c:78:12: error: ‘GRPC_WRITE_ACCEPTED’ undeclared (first use in this function)
       case GRPC_WRITE_ACCEPTED:
            ^
cc1: all warnings being treated as errors
make: *** [objs/opt/test/core/surface/completion_queue_benchmark.o] Error 1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions