When you encounter errors or warnings, they are displayed in the Problems view in Eclipse.
To get more details or information about errors or warnings encountered during the build process:
1. Right-click on an error or warning in the Problems view.
2. Select Detailed Diagnostics Info.
A pop-up message box appears with more details about the error or warning, as shown below.
In a command prompt, you can use the option --diag=<error number> on a specific tool. For example:
ctc --diag=208
E208: syntax error - token "<token>" inserted before "<text>"
The compiler detected a syntax error, but tried to recover by inserting <token>.