1*349cc55cSDimitry Andric 20b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 30b57cec5SDimitry Andric // 40b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 50b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 60b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 70b57cec5SDimitry Andric // 80b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 90b57cec5SDimitry Andric 100b57cec5SDimitry Andric #include "ittnotify_config.h" 110b57cec5SDimitry Andric 120b57cec5SDimitry Andric #if ITT_PLATFORM == ITT_PLATFORM_WIN 130b57cec5SDimitry Andric 14*349cc55cSDimitry Andric #if defined _MSC_VER 15*349cc55cSDimitry Andric 160b57cec5SDimitry Andric #pragma warning(disable : 593) /* parameter "XXXX" was set but never used */ 17*349cc55cSDimitry Andric #pragma warning(disable : 344) /* typedef name has already been declared (with \ 18fe6060f1SDimitry Andric same type) */ 190b57cec5SDimitry Andric #pragma warning(disable : 174) /* expression has no effect */ 200b57cec5SDimitry Andric #pragma warning(disable : 4127) /* conditional expression is constant */ 21*349cc55cSDimitry Andric #pragma warning( \ 22*349cc55cSDimitry Andric disable : 4306) /* conversion from '?' to '?' of greater size */ 23*349cc55cSDimitry Andric 24*349cc55cSDimitry Andric #endif /* _MSC_VER */ 250b57cec5SDimitry Andric 260b57cec5SDimitry Andric #endif /* ITT_PLATFORM==ITT_PLATFORM_WIN */ 270b57cec5SDimitry Andric 280b57cec5SDimitry Andric #if defined __INTEL_COMPILER 290b57cec5SDimitry Andric 300b57cec5SDimitry Andric #pragma warning(disable : 869) /* parameter "XXXXX" was never referenced */ 31*349cc55cSDimitry Andric #pragma warning(disable : 1418) /* external function definition with no prior \ 32fe6060f1SDimitry Andric declaration */ 33*349cc55cSDimitry Andric #pragma warning( \ 34*349cc55cSDimitry Andric disable : 1419) /* external declaration in primary source file */ 350b57cec5SDimitry Andric 360b57cec5SDimitry Andric #endif /* __INTEL_COMPILER */ 37