---
name: "XtDisplayStringConversionWarning"
section: "3x"
platform: "linux"
package: "libxt-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/XtDisplayStringConversionWarning/3x"
---

# XtDisplayStringConversionWarning(3x)

issue a conversion warning message

## NAME

XtDisplayStringConversionWarning - issue a conversion warning message

## SYNTAX

void XtDisplayStringConversionWarning(Display\* *display*, String *from\_value*, *to\_type*);

## ARGUMENTS

- *display*

  Specifies the display connection with which the conversion is associated.

- *from\_value*

  Specifies the string that could not be converted.

- *to\_type*

  Specifies the target representation type requested.

## DESCRIPTION

The *XtDisplayStringConversionWarning* function issues a warning message using *XtAppWarningMsg* with name \`\`conversionError'', type \`\`string'', class \`\`XtToolkitError,  and the default message string \`\`Cannot convert "*from\_value*" to  type *to\_type*''.

To issue other types of warning or error messages, the type converter should use *XtAppWarningMsg* or *XtAppErrorMsg*.

## SEE ALSO

XtAppWarningMsg(3t)\
 *X Toolkit Intrinsics - C Language Interface*\
 *Xlib - C Language X Interface*
