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

# XtStringConversionWarning(3)

issue a conversion warning message

## NAME

XtStringConversionWarning - issue a conversion warning message

## SYNTAX

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

void XtStringConversionWarning(const char \**src*, const char \**dst\_type*);

## ARGUMENTS

- *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.

## DESCRIPTION

The **XtStringConversionWarning** function issues a warning message with name “conversionError”, type “string”, class “XtToolkitError”, and the default message string “Cannot convert "*src*" to type *dst\_type*”.

**XtStringConversionWarning** has been replaced by **XtDisplayStringConversionWarning**.

## SEE ALSO

[XtAppAddConverter(3)](/XtAppAddConverter/3.md), XtAppErrorMsg(3t), [XtConvert(3)](/XtConvert/3.md), [XtDisplayStringConversionWarning(3)](/XtDisplayStringConversionWarning/3.md)\
 *X Toolkit Intrinsics - C Language Interface*\
 *Xlib - C Language X Interface*
