BF: add warnings fix as part of build