added -Wfatal-errors to debug