tongsucn opened a new issue #9105:
URL: https://github.com/apache/pulsar/issues/9105


   **Describe the bug**
   
   When compiling with GCC 7.3 (`-std=c++17`),compiler complains following 
error:
   
   ```bash
   include/pulsar/Consumer.h:35:20: error: 'class pulsar::Consumer' has virtual 
functions and accessible non-virtual destructor [-Werror=non-virtual-dtor]
   ```
   
   **To Fix**
   
   Add `virtual ~Consumer() = default;` in `Consumer.h`.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to