Collect compiler warnings and errors