noft Options
The C program in
page 5-33.
Example 5-25. C Program for
extern short unresolved (short);
extern short unreferenced (short);
short unused(short arg)
{
return (short)(arg + 2);
}
long main()
{
short i, j;
i = 5;
j = unresolved(i);
return 0;
}
If the program in
is designated to noft with the option
shows the result of the LISTUNREFERENCED option—the NMC compiler eliminated
unreferenced prototypes. Compare
shows the result of the LISTUNRESOLVED option.
Example 5-26. LISTREFERENCED Option for
noft> listunreferenced *
*** DATA ERROR *** [1055]:
Did not find any unreferenced symbols matching scope.
Example 5-25
is equivalent to the pTAL program in
Example 5-26
Example 5-25
is compiled and made executable, and the program file
Example 5-26
nld and noft Manual—520384-003
and
Example 5-30
FILE or F
on page 5-15, then
to
Example 5-30
Example 5-25
5- 34
LISTUNREFERENCED or LUR
Example 5-23
Example 5-26
on page 37, which
C Program
on