-MSg_unused


To output externally defined symbols that are not referenced.

[Specification format]

-MSg_unused

 

-

Interpretation when omitted

None

[Detailed description]

-

This option is used to detect externally defined symbols that have not been referenced even once during the link processing.

[Example of use]

-

To output externally defined symbols that are not referenced.

>rlink a.obj b.obj -message -msg_unused

[Remark]

-

If the -form={object|relocate|library} option or -extract option is specified, this option will be invalid.

-

If a load module file is input, this option will be invalid.

-

This option must be specified together with the -message option.

-

The a message may be output for the function that inline expansion was performed during compilation.
In this case, add a static declaration for the function definition to suppress the output of the message.

-

In either of the following cases, the reference relationship cannot be analyzed correctly and the information notified through an output message will be incorrect.

-

If there are references to constant symbols within the same file

-

When optimization is enabled at compilation and a function directly under another function is called.