cppcheck & DB compilation