removed pedantic-errors switch :)