Skip to content

Conversation

@vadimg
Copy link

@vadimg vadimg commented Jan 7, 2014

This doesn't compile with gcc 4.4.3 on Ubuntu 10.04.4 LTS because it produces the following warning, and warnings are treated as errors.

In file included from rdkafka_performance.c:42:
../rdkafka.h:575: error: expected '=', ',', ';', 'asm' or 'attribute' before 'rd_kafka_consume_batch'
cc1: warnings being treated as errors
rdkafka_performance.c: In function 'main':
rdkafka_performance.c:722: error: implicit declaration of function 'rd_kafka_consume_batch'

Adding this #include fixes that.

edenhill added a commit that referenced this pull request Jan 7, 2014
get rid of warnings in gcc 4.4.3
@edenhill edenhill merged commit 6ff1307 into confluentinc:master Jan 7, 2014
@edenhill
Copy link
Contributor

edenhill commented Jan 7, 2014

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants