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

Syntax

Linux and 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

有关编译器优化的更完整信息,请参阅优化通知