You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/15 02:18:10 UTC

[GitHub] [pulsar] firefeifei opened a new issue #12042: pulsar 2.6.4 cpp client compile error

firefeifei opened a new issue #12042:
URL: https://github.com/apache/pulsar/issues/12042


   **Describe the bug**
   A clear and concise description of what the bug is.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Go to '...'
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   **Screenshots**
   If applicable, add screenshots to help explain your problem.
   
   **Desktop (please complete the following information):**
    - OS: [e.g. iOS]
   
   **Additional context**
   Add any other context about the problem here.
   
   ```
   In file included from /usr/local/include/gtest/gtest.h:375:0,
                    from /data/workspace/pulsar-2.6.4/pulsar-client-cpp/tests/BasicEndToEndTest.cc:29:
   /data/workspace/pulsar-2.6.4/pulsar-client-cpp/tests/BasicEndToEndTest.cc: In member function 'virtual void BasicEndToEndTest_testMultiTopicsConsumerDifferentNamespace_Test::TestBody()':
   /data/workspace/pulsar-2.6.4/pulsar-client-cpp/tests/BasicEndToEndTest.cc:1863:61: error: no matching function for call to 'pulsar::Producer::send(const pulsar::Message&, pulsar::MessageId&)'
            ASSERT_EQ(ResultOk, producer.send(message, messageId));
                                                                ^
   /data/workspace/pulsar-2.6.4/pulsar-client-cpp/tests/BasicEndToEndTest.cc:1863:61: note: candidate is:
   In file included from /data/workspace/pulsar-2.6.4/pulsar-client-cpp/include/pulsar/Client.h:24:0,
                    from /data/workspace/pulsar-2.6.4/pulsar-client-cpp/tests/BasicEndToEndTest.cc:30:
   /data/workspace/pulsar-2.6.4/pulsar-client-cpp/include/pulsar/Producer.h:68:12: note: pulsar::Result pulsar::Producer::send(const pulsar::Message&)
        Result send(const Message& msg);
               ^
   /data/workspace/pulsar-2.6.4/pulsar-client-cpp/include/pulsar/Producer.h:68:12: note:   candidate expects 1 argument, 2 provided
   make[2]: *** [tests/CMakeFiles/main.dir/BasicEndToEndTest.cc.o] Error 1
   make[1]: *** [tests/CMakeFiles/main.dir/all] Error 2
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] github-actions[bot] commented on issue #12042: pulsar 2.6.4 cpp client compile error

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12042:
URL: https://github.com/apache/pulsar/issues/12042#issuecomment-1056055766


   The issue had no activity for 30 days, mark with Stale label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] BewareMyPower commented on issue #12042: pulsar 2.6.4 cpp client compile error

Posted by GitBox <gi...@apache.org>.
BewareMyPower commented on issue #12042:
URL: https://github.com/apache/pulsar/issues/12042#issuecomment-922167262


   It's caused by incorrect cherry-pick operations. If you just want to build the C++ client, add `-DBUILD_TESTS=OFF` CMake option.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org