Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get rid of warnings in gcc 4.4.3 #53

Merged
merged 1 commit into from
Jan 7, 2014
Merged

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