XtStringConversionWarning()XtStringConversionWarning()NameXtStringConversionWarning - emit boilerplate string conversion error
message.
Synopsis
void XtStringConversionWarning(src, dst_type)
String src, dst_type;
Inputs
src Specifies the string that could not be converted.
dst_type Specifies the name of the type to which the string could not
be converted.
DescriptionXtStringConversionWarning() is a convenience routine for use in old-
style resource converters that convert from strings. It issues a warn‐
ing message with the name conversionError, type string, class
XtToolkitError, and default message string:
"Cannot convert src to type dst_type"
It can be used by a conversion routine to announce a nonfatal conver‐
sion error.
Usage
New-style resource converters should call XtDisplayStringConversion‐
Warning() instead of XtStringConversionWarning() to display their con‐
version warning messages. These functions display similar messages and
differ only in that XtDisplayStringConversionWarning() is passed a dis‐
play pointer as its first argument.
Old-style converters are not passed a display pointer, and so must use
the old function XtStringConversionWarning() which does not require
one.
See AlsoXtDisplayStringConversionWarning(1).
Xt - Error Handling XtStringConversionWarning()