---
name: "XtDisplayStringConversionWarning"
section: "3"
platform: "linux"
package: "libxt"
version: "1.3.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XtDisplayStringConversionWarning"
---

# XtDisplayStringConversionWarning(3)

issue a conversion warning message

## NAME

XtDisplayStringConversionWarning - issue a conversion warning message

## SYNTAX

\#include \<X11/Intrinsic.h\>

void XtDisplayStringConversionWarning(Display\* *display*, const char \**from\_value*, const char \**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*
