xref: /freebsd/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/disable_warnings.h (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1 
2 //===----------------------------------------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
9 
10 
11 #include "ittnotify_config.h"
12 
13 #if ITT_PLATFORM==ITT_PLATFORM_WIN
14 
15 #pragma warning (disable: 593)   /* parameter "XXXX" was set but never used                 */
16 #pragma warning (disable: 344)   /* typedef name has already been declared (with same type) */
17 #pragma warning (disable: 174)   /* expression has no effect                                */
18 #pragma warning (disable: 4127)  /* conditional expression is constant                      */
19 #pragma warning (disable: 4306)  /* conversion from '?' to '?' of greater size              */
20 
21 #endif /* ITT_PLATFORM==ITT_PLATFORM_WIN */
22 
23 #if defined __INTEL_COMPILER
24 
25 #pragma warning (disable: 869)  /* parameter "XXXXX" was never referenced                  */
26 #pragma warning (disable: 1418) /* external function definition with no prior declaration  */
27 #pragma warning (disable: 1419) /* external declaration in primary source file             */
28 
29 #endif /* __INTEL_COMPILER */
30