Enabled warnings=errors for GCC and then made things compile. Had to turn off