Wpragma-once

Warn about the use of #pragma once.

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS: -Wpragma-once
-Wno-pragma-once
Windows:    None

Arguments

None

Default

OFF      The compiler does not warn about the use of #pragma once.

Description

Warn about the use of #pragma once.

Alternate Options

None