Wpragma-once

Determines whether a warning is issued about the use of #pragma once.

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-Wpragma-once

-Wno-pragma-once

Windows:

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.

Alternate Options

None


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.