Previous: , Up: Debugging   [Contents][Index]


5.33.1 Warnings

The warnings that can be given to gtroff are divided into the following categories. The name associated with each warning is used by the -w and -W options; the number is used by the warn request and by the .warn register.

char
1

Non-existent glyphs.27 This is enabled by default.

number
2

Invalid numeric expressions. This is enabled by default. See Expressions.

break
4

In fill mode, lines that could not be broken so that their length was less than the line length. This is enabled by default.

delim
8

Missing or mismatched closing delimiters.

el
16

Use of the el request with no matching ie request. See if-else.

scale
32

Meaningless scaling indicators.

range
64

Out of range arguments.

syntax
128

Dubious syntax in numeric expressions.

di
256

Use of di or da without an argument when there is no current diversion.

mac
512

Use of undefined strings, macros and diversions. When an undefined string, macro, or diversion is used, that string is automatically defined as empty. So, in most cases, at most one warning is given for each name.

reg
1024

Use of undefined number registers. When an undefined number register is used, that register is automatically defined to have a value of 0. So, in most cases, at most one warning is given for use of a particular name.

tab
2048

Use of a tab character where a number was expected.

right-brace
4096

Use of \} where a number was expected.

missing
8192

Requests that are missing non-optional arguments.

input
16384

Invalid input characters.

escape
32768

Unrecognized escape sequences. When an unrecognized escape sequence \X is encountered, the escape character is ignored, and X is printed.

space
65536

Missing space between a request or macro and its argument. This warning is given when an undefined name longer than two characters is encountered, and the first two characters of the name make a defined name. The request or macro is not invoked. When this warning is given, no macro is automatically defined. This is enabled by default. This warning never occurs in compatibility mode.

font
131072

Non-existent fonts. This is enabled by default.

ig
262144

Invalid escapes in text ignored with the ig request. These are conditions that are errors when they do not occur in ignored text.

color
524288

Color related warnings.

file
1048576

Missing files. The mso request gives this warning when the requested macro file does not exist. This is enabled by default.

all

All warnings except ‘di’, ‘mac’ and ‘reg’. It is intended that this covers all warnings that are useful with traditional macro packages.

w

All warnings.


Previous: , Up: Debugging   [Contents][Index]