diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-03-14 20:09:10 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-03-14 20:09:10 +0000 |
commit | 4254a3821b2072ba01f8f7e3347ac862d324babc (patch) | |
tree | 7d555b5e9913fdace68a1a55afa61f7eb9d42469 /runtime/src/thirdparty/ittnotify/disable_warnings.h |
Vendor import of LLVM openmp trunk r351319 (just before the release_80vendor/llvm-openmp/openmp-trunk-r351319
branch point):
https://llvm.org/svn/llvm-project/openmp/trunk@351319
Notes
Notes:
svn path=/vendor/llvm-openmp/dist/; revision=345153
svn path=/vendor/llvm-openmp/openmp-trunk-r351319/; revision=345154; tag=vendor/llvm-openmp/openmp-trunk-r351319
Diffstat (limited to 'runtime/src/thirdparty/ittnotify/disable_warnings.h')
-rw-r--r-- | runtime/src/thirdparty/ittnotify/disable_warnings.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/runtime/src/thirdparty/ittnotify/disable_warnings.h b/runtime/src/thirdparty/ittnotify/disable_warnings.h new file mode 100644 index 000000000000..301901ca8338 --- /dev/null +++ b/runtime/src/thirdparty/ittnotify/disable_warnings.h @@ -0,0 +1,30 @@ + +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.txt for details. +// +//===----------------------------------------------------------------------===// + + +#include "ittnotify_config.h" + +#if ITT_PLATFORM==ITT_PLATFORM_WIN + +#pragma warning (disable: 593) /* parameter "XXXX" was set but never used */ +#pragma warning (disable: 344) /* typedef name has already been declared (with same type) */ +#pragma warning (disable: 174) /* expression has no effect */ +#pragma warning (disable: 4127) /* conditional expression is constant */ +#pragma warning (disable: 4306) /* conversion from '?' to '?' of greater size */ + +#endif /* ITT_PLATFORM==ITT_PLATFORM_WIN */ + +#if defined __INTEL_COMPILER + +#pragma warning (disable: 869) /* parameter "XXXXX" was never referenced */ +#pragma warning (disable: 1418) /* external function definition with no prior declaration */ +#pragma warning (disable: 1419) /* external declaration in primary source file */ + +#endif /* __INTEL_COMPILER */ |