The Compiler Errors window may appear for two reasons. The first is after editing the source of an object, the changed object source now has a syntax error. The other cause is a Global Replace, which has made a change that caused a syntax error.

In both cases, the source has actually been saved in the library with errors. Clicking the Restore button will re-import the previous version of the object.
The OK button closes the window without doing anything, thus leaving the in-error object in the library.
The Copy To button allows you to save the messages to a text file.
The Print button prints the messages.
The Clipboard button sends a copy of the messages to the clipboard.