m_maxValue was instantiated and set to 0x7FF in ADS1015.h, which causes the compiling of Powertools to error when CMAKE is in Debug mode. If m_maxValue is only instantiated in the header and then set in ADS1015.cpp this error doesn't occur.