User and Reference Guide for the Intel® C++ Compiler 14.0

Wpragma-once

Determines whether a warning is issued about the use of #pragma once. This is a deprecated option. There is no replacement option.

Syntax

Linux OS and OS X:

-Wpragma-once

-Wno-pragma-once

Windows OS:

None

Arguments

None

Default

-Wno-pragma-once

No warning is issued about the use of #pragma once.

Description

This option determines whether a warning is issued about the use of #pragma once.

IDE Equivalent

None

Alternate Options

None


Submit feedback on this help topic