Add Mingw warnings

Change-Id: I8825ee1948fe03be751f09bc87db050f89fa49bd