massakam opened a new pull request #44: Fix compilation warning URL: https://github.com/apache/pulsar-client-node/pull/44 Fixed the following warnings when compiling C++ source. ``` In file included from ../src/ReaderConfig.cc:20:0: ../src/ReaderConfig.h: In constructor 'ReaderConfig::ReaderConfig(const Napi::Object&)': ../src/ReaderConfig.h:39:15: warning: 'ReaderConfig::topic' will be initialized after [-Wreorder] std::string topic; ^ ../src/ReaderConfig.h:38:24: warning: 'pulsar_message_id_t* ReaderConfig::cStartMessageId' [-Wreorder] pulsar_message_id_t *cStartMessageId; ^ ../src/ReaderConfig.cc:30:1: warning: when initialized here [-Wreorder] ReaderConfig::ReaderConfig(const Napi::Object &readerConfig) : topic(""), cStartMessageId(NULL) { ^ SOLINK_MODULE(target) Release/obj.target/Pulsar.node COPY Release/Pulsar.node make: Leaving directory `/home/massakam/github/pulsar-client-node/build' ```
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services