MESSAGES
Function
-WmsgFoi<string>
<string>: format string (See below.)
-WmsgFoi"\\n>> in \"%f%e\", line %l, col >>%c, pos %o\n%s\n%K %d: %m\n"
None
None
This option modifies the default message format in interactive mode. The following table lists supported formats (assuming that the source file is X:\Freescale\mysourcefile.cpph):
| Format | Description | Example |
|---|---|---|
| %s | Source Extract | |
| %p | Path | X:\sources\ |
| %f | Path and name | X:\sources\mysourcefile |
| %n | filename | mysourcefile |
| %e | Extension | .cpph |
| %N | File (8 chars) | mysource |
| %E | Extension (3 chars) | .cpp |
| %l | Line | 3 |
| %c | Column | 47 |
| %o | Pos | 1234 |
| %K | Uppercase kind | ERROR |
| %k | Lowercase kind | error |
| %d | Number | C1815 |
| %m | Message | text |
| %% | Percent | % |
| \n | New line | |
| %" | A " if the filename, if the path or the extension contains a space. | |
| %' | A ' if the filename, the path or the extension contains a space |
-WmsgFoi"%f%e(%l): %k %d: %m\n"
Produces a message in the following format:
X:\C.C(3): information C2901: Unrolling loop
ERRORFILE: Error Filename Specification
-WmsgFb (-WmsgFbv, -WmsgFbm): Set Message File Format for Batch Mode
-WmsgFi (-WmsgFiv, -WmsgFim): Set Message Format for Interactive Mode