I am compiling a C++ program by GCC 7.5.0, but it complained about ambiguous override functions bool ReadRegister(const uint16_t, const uint16_t) and bool ReadRegister(const uint16_t, uint16_t &). The const uint16_t and uint16_t & are completely different data types, am I wrong about it?
没有评论:
发表评论