# Wpch-messages

Determines whether the compiler shows precompiled header (PCH) informational messages.

## Syntax

Linux and macOS: | -Wpch-messages -Wno-pch-messages

Windows: | /Wpch-messages -Wpch-messages-

## Arguments

None

## Default

Wpch-messages | The compiler shows precompiled header (PCH) informational messages.

## Description

This option determines whether the compiler shows precompiled header (PCH) informational messages. By default, these messages are displayed.

To suppress the display of the PCH informational messages, specify -Wno-pch-messages (Linux* and macOS) or /Wpch-messages- (Windows*).

## IDE Equivalent

Visual Studio: Precompiled Headers [Intel C++] > Disable Precompiled Header Messages

Eclipse: Precompiled Headers > Disable Precompiled Header Messages

Xcode: Precompiled Headers > Disable Precompiled Header Messages

## Alternate Options

None

Parent topic: Compiler Diagnostic Options