-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Added g++-4.4 to travis build #266
Conversation
pulsar-client-cpp/CMakeLists.txt
Outdated
@@ -64,7 +62,8 @@ set(CLIENT_LIBS | |||
pulsar | |||
) | |||
|
|||
message( STATUS "GCC_DUMP_VERSION: " ${GCC_DUMP_VERSION} ) | |||
message( STATUS "CMAKE_C_COMPILER: " ${CMAKE_C_COMPILER} ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cmake is already printing the gcc / g++ versions. It prints it only the first time when it does the configuration phase.
If you remove, CMakeCache
and do cmake .
again, you'll see it printed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@merlimat - saw it, thanks :-)
5cedc33
to
fa8c9f0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
* Move the thread construction to start to avoid illegalstate * Add more checks to see if thread var is init
fixes apache#266 `topics` in `KafkaTopicManager` will cache `PersistentTopic` by `brokerService.getTopic`, it's unnecessary because `PersistentTopic` is cached in `brokerService.getTopic`. we should remove it to avoid getting a `null` topic.
Motivation
Want to compile cpp client using gcc and g++ 4.4 - Fix for #262
Modifications
messages added to cmake file
travis build modified to use gcc and g++ 4.4
Result
C++ client compiled using gcc and g++ 4.4
Fixes #262