---
name: "XtStringConversionWarning"
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/XtStringConversionWarning/3x"
---

# XtStringConversionWarning(3x)

issue a conversion warning message

## NAME

XtStringConversionWarning - issue a conversion warning message

## SYNTAX

void XtStringConversionWarning(String *src*, String *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(3Xt), XtAppErrorMsg(3t), XtConvert(3Xt), XtDisplayStringConversionWarning(3Xt)\
 *X Toolkit Intrinsics - C Language Interface*\
 *Xlib - C Language X Interface*
