---
name: "FcConfigSetWarningFlags"
section: "3"
platform: "linux"
package: "fontconfig"
version: "2:2.18.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/FcConfigSetWarningFlags"
---

# FcConfigSetWarningFlags(3)

Enable or disable specific warning types

## NAME

FcConfigSetWarningFlags - Enable or disable specific warning types

## SYNOPSIS

**#include \<fontconfig/fontconfig.h\>**

**void FcConfigSetWarningFlags (FcConfig \****config***, int** *warn***, FcBool** *flag***);**

## DESCRIPTION

Turn on or off warning types specified by *warn*. Each bit corresponds to a different warning type defined by FC\_WARN\_\* macros. If *config* is NULL, the current configuration is modified.
