Running this module through the compiler produces the following warnings:
object files : XmList gadget { };
*
Warning: XmList gadget is not supported − XmList widget will be used instead
line: 3 file: warn.uil
XmNset = true;
*
Warning: the XmNset argument is not supported for the XmLabel object
line: 7 file: warn.uil
Info: errors: 0 warnings: 2 informationals: 0
Warning messages are usually associated with a line in the source module. Warnings are also generated if you specify
an unknown option to the uil command or when the compiler cannot close a file.
24.2.4 Informational Messages
The UIL compiler uses informational messages to let you know about the state of the compilation. The compiler also
generates an informational message if you set the same resource or callback more than once. You've already seen two
of the three possible informational messages in the example output from above. The module in the source code
demonstrates the third situation.
module infos
list base : arguments {
XmNlabelString = "original";
};
object main_widget : XmLabel {
arguments {
arguments base;
XmNlabelString = "actual";
};
};
end module;
The compiler output for this module is as follows: These informational messages were generated by an early version
of the Motif 1.2 compiler, which incorrectly outputs the line of the original resource rather than the line that
superseded it.
XmNlabelString = "original";
*
Info: this XmNlabelString argument supersedes a previous definition in this
argument list
line: 4 ...