cppkafka
cppkafka copied to clipboard
Still C2941
Hello,
I tried the suggested options in #206 and I still run into the issue. This is the CMake command, which I used:
cmake .. -DCPPKAFKA_RDKAFKA_STATIC_LIB=ON -DCPPKAFKA_BUILD_SHARED=OFF -DBOOST_INCLUDEDIR="path to project\packages\boost.1.70.0.0\lib\native\include" -DRDKAFKA_LIBRARY="path to rdkafka\lib\rdkafka.lib" -DRDKAFKA_INCLUDE_DIR="path to rdkafka\RdKafka\include"-DCMAKE_CXX_FLAGS="/W3 -Dcppkafka_EXPORTS"
I applied the source changes to buffered_producer.h as well, as I set -Dcppkafka_EXPORTS in the preprocessor options via command line in Visual Studio.
Is there any other suggestion?
Thanks in advance, Calvin