1 /* 2 Copyright (c) 2005-2022 Intel Corporation 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 #include "ittnotify_config.h" 18 19 #if ITT_PLATFORM==ITT_PLATFORM_WIN 20 21 #if defined _MSC_VER 22 23 #pragma warning (disable: 593) /* parameter "XXXX" was set but never used */ 24 #pragma warning (disable: 344) /* typedef name has already been declared (with same type) */ 25 #pragma warning (disable: 174) /* expression has no effect */ 26 #pragma warning (disable: 4127) /* conditional expression is constant */ 27 #pragma warning (disable: 4306) /* conversion from '?' to '?' of greater size */ 28 29 #endif 30 31 #endif /* ITT_PLATFORM==ITT_PLATFORM_WIN */ 32 33 #if defined __INTEL_COMPILER 34 35 #pragma warning (disable: 869) /* parameter "XXXXX" was never referenced */ 36 #pragma warning (disable: 1418) /* external function definition with no prior declaration */ 37 #pragma warning (disable: 1419) /* external declaration in primary source file */ 38 39 #endif /* __INTEL_COMPILER */ 40