Everything

-msg_unused


< Optimizing Linkage Editor (rlink) Options / Output Options >

[Format]

-msg_unused

[Description]

-

Notifies the user of the externally defined symbol which is not referenced during linkage through an output message.

[Examples]

rlink -msg_unused a.obj

[Remarks]

-

When an absolute file is input, this option is invalid.

-

To output a message, the message option must also be specified.

-

The linkage editor may output a message for the function that was inline-expanded at compilation. To avoid this, add a static declaration for the function definition.

-

In any of the following cases, references are not correctly analyzed so that information shown by output messages will be incorrect.

-

There are references to constant symbols within the same file.

-

There are branches to immediate subordinate functions when optimization is specified at compilation.