You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.2 KiB
31 lines
1.2 KiB
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (c) 2000-2001 Microsoft Corporation
|
|
//
|
|
// Module Name:
|
|
// Pragmas.h
|
|
//
|
|
// Description:
|
|
// Project level pragmas.
|
|
//
|
|
// Maintained By:
|
|
// Galen Barbee (GalenB) 22-APR-2000
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// Disable some warnings
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma warning( disable : 4100 ) // unreferenced formal parameter
|
|
#pragma warning( disable : 4127 ) // conditional expression is constant
|
|
#pragma warning( disable : 4201 ) // nonstandard extension used : nameless struct/union
|
|
#pragma warning( disable : 4509 ) // nonstandard extension used: 'function' uses SEH and 'object' has destructor
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// Enable some warnings
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma warning( error : 4706 ) // assignment within conditional expression
|