# Checkf() and "Formatting string must be a TCHAR array"

**URL:** <https://forums.unrealengine.com/t/checkf-and-formatting-string-must-be-a-tchar-array/422286>\
**Category:** C++\
**Tags:** UE4-19, check, unreal-engine, CPP, question\
**Created:** [April 10, 2018, 12:22pm UTC](https://forums.unrealengine.com/t/checkf-and-formatting-string-must-be-a-tchar-array/422286 "2018-04-10T12:22:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Da\_Stranger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Da\_Stranger](https://forums.unrealengine.com/u/Da_Stranger)\
**Post date:** [April 10, 2018, 12:22pm UTC](https://forums.unrealengine.com/t/checkf-and-formatting-string-must-be-a-tchar-array/422286/1 "2018-04-10T12:22:37Z")

</div>

4.19 Introduced an error in this code, which previously compiled:

```
FString a = TEXT("any text");
checkf(false, *a);

```

What options do I need to use to make this work?

---

<div class="post-metadata">

**Author:** ![Jamie\_Dale](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jamie_dale/32/1165413_2.png) [@Jamie\_Dale](https://forums.unrealengine.com/u/Jamie_Dale)\
**Post date:** [April 10, 2018, 1:14pm UTC](https://forums.unrealengine.com/t/checkf-and-formatting-string-must-be-a-tchar-array/422286/2 "2018-04-10T13:14:45Z")

</div>

`checkf(false, TEXT("%s"), *a);`

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2709d010](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2709d010](https://forums.unrealengine.com/u/anonymous_user_2709d010)\
**Post date:** [February 25, 2019, 6:40pm UTC](https://forums.unrealengine.com/t/checkf-and-formatting-string-must-be-a-tchar-array/422286/3 "2019-02-25T18:40:16Z")

</div>

Seriously is there a single person at Epic who understands the whole engine anymore? Or do you need a hive mind to look through this moloch?
