githublaohu opened a new issue #99: Compile exception URL: https://github.com/apache/rocketmq-client-cpp/issues/99 1. Please describe the issue you observed: - What did you do (The steps to reproduce)? rocketmq::WriteBigEndian(writeBuf , newBuf ); - What did you expect to see? No exception - What did you see instead? ` /leaning/space-work/cpp-space/rocketmq-client-cpp/src/common/big_endian.h:50:52: error: invalid operands of types ‘char*’ and ‘int’ to binary ‘operator&’ buf[sizeof(T) - i - 1] = static_cast<char>(val & 0xFF); ^ /leaning/space-work/cpp-space/rocketmq-client-cpp/src/common/big_endian.h:51:9: error: invalid operands of types ‘char*’ and ‘int’ to binary ‘operator>>’ val >>= 8; ^ /leaning/space-work/cpp-space/rocketmq-client-cpp/src/common/big_endian.h:51:9: error: in evaluation of ‘operator>>=(char*, int)’ ` 2. Please tell us about your environment: - What is your OS? ubuntu 18.04 - What is your client version? master - What is your RocketMQ version? 4.4 3. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
