pvrnowarn.h

来自「Lido PXA270平台开发板的最新BSP,包括源代码」· C头文件 代码 · 共 61 行

H
61 行
字号
/******************************************************************************
* Name         : pvrnowarn.h
* Title        : Disables various level 4 warnings.
* Author(s)    : Imagination Technologies
* Created      : 1st August 2003
*
* Copyright    : 2003 by Imagination Technologies Limited.
*                All rights reserved.  No part of this software, either
*                material or conceptual may be copied or distributed,
*                transmitted, transcribed, stored in a retrieval system 
*                or translated into any human or computer language in any
*                form by any means, electronic, mechanical, manual or
*                other-wise, or disclosed to third parties without the
*                express written permission of Imagination Technologies
*                Limited, Unit 8, HomePark Industrial Estate, 
*                King's Langley, Hertfordshire, WD4 8LZ, U.K.
*
* Description  : Disables various level 4 warnings.
*
* Platform     : Generic
*
* Notes        : formerly vlnowarn.h mks rev 1.2
*
* Modifications:-
* $Log: pvrnowarn.h $
*
*
******************************************************************************/

#pragma warning ( disable : 4001 )
/*
 * Disable level 4 warning 4001 - single line comments
 * This is placed at the beginning of the file so that any C modules
 * being compiled will not display warnings about the C++ style comments
 * used in this header file!
 */

#if !defined (_PVRNOWARN_H_)
#define _PVRNOWARN_H_


#pragma warning ( disable : 4100 4115 4201 4209 4214 4514 4390 4162)



// Disable level 4 warning 4100 - unreferenced formal parameter
// Disable level 4 warning 4115 - named type definition in parentheses
// Disable level 4 warning 4201 - nameless struct/union
// Disable level 4 warning 4209 - benign type redefinition
// Disable level 4 warning 4214 - bit field types other than int
// Disable level 4 warning 4514 - unreferenced inline function removed
// Disable level 4 warning 4390 - ';' : empty controlled statement found; is this what was intended?"
// Disable level 4 warning 4162 '_ReturnAddr' : no function with C linkage found

#endif /* _PVRNOWARN_H_ */

/*****************************************************************************
 End of file (pvrnowarn.h)
*****************************************************************************/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?