| 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 | #include "ittnotify_config.h" |
| 11 | |
| 12 | #if ITT_PLATFORM == ITT_PLATFORM_WIN |
| 13 | |
| 14 | #if defined _MSC_VER |
| 15 | |
| 16 | #pragma warning(disable : 593) /* parameter "XXXX" was set but never used */ |
| 17 | #pragma warning(disable : 344) /* typedef name has already been declared (with \ |
| 18 | same type) */ |
| 19 | #pragma warning(disable : 174) /* expression has no effect */ |
| 20 | #pragma warning(disable : 4127) /* conditional expression is constant */ |
| 21 | #pragma warning( \ |
| 22 | disable : 4306) /* conversion from '?' to '?' of greater size */ |
| 23 | |
| 24 | #endif /* _MSC_VER */ |
| 25 | |
| 26 | #endif /* ITT_PLATFORM==ITT_PLATFORM_WIN */ |
| 27 | |
| 28 | #if defined __INTEL_COMPILER |
| 29 | |
| 30 | #pragma warning(disable : 869) /* parameter "XXXXX" was never referenced */ |
| 31 | #pragma warning(disable : 1418) /* external function definition with no prior \ |
| 32 | declaration */ |
| 33 | #pragma warning( \ |
| 34 | disable : 1419) /* external declaration in primary source file */ |
| 35 | |
| 36 | #endif /* __INTEL_COMPILER */ |
| 37 | |