# Wcomment

Determines whether a warning is issued when /* appears in the middle of a /* */ comment.

## Syntax

Linux: | -Wcomment -Wno-comment

macOS: | -Wcomment -Wno-comment

Windows: | None

## Arguments

None

## Default

-Wno-comment | No warning is issued when /* appears in the middle of a /* */ comment.

## Description

This option determines whether a warning is issued when /* appears in the middle of a /* */ comment.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Compiler Diagnostic Options