collect compile errors into string array