30 lines
1.1 KiB
C
30 lines
1.1 KiB
C
/*
|
|
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifdef __INTEL_COMPILER
|
|
#pragma warning(disable:997 1011 170)
|
|
#endif
|
|
#ifdef _MSC_VER
|
|
#pragma warning(disable:4799)
|
|
#endif
|
|
#ifdef __ghs__
|
|
#pragma ghs nowarning 96 // a translation unit must contain at least one declaration
|
|
#pragma ghs nowarning 177 // function "xxx" was declared but never referenced
|
|
#pragma ghs nowarning 550 // variable "xxx" was set but never used
|
|
#endif
|
|
#ifdef __SNC__
|
|
#pragma diag_suppress=178 // function "xxx" was declared but never referenced
|
|
#pragma diag_suppress=552 // variable "xxx" was set but never used
|
|
// not very cool but keep until finding a way to implement UNINITIALIZED_IS_SAFE() macro (in mem.h)
|
|
#pragma diag_suppress=551 // variable "xxx" is used before its value is set
|
|
#endif
|