]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/exporters/otlp/include/opentelemetry/exporters/otlp/protobuf_include_prefix.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / exporters / otlp / include / opentelemetry / exporters / otlp / protobuf_include_prefix.h
CommitLineData
1e59de90
TL
1// Copyright The OpenTelemetry Authors
2// SPDX-License-Identifier: Apache-2.0
3
4// This file may be include multiple times, do not add #pragma once here
5
6#if defined(_MSC_VER)
7# pragma warning(push)
8# if ((defined(__cplusplus) && __cplusplus >= 201704L) || \
9 (defined(_MSVC_LANG) && _MSVC_LANG >= 201704L))
10# pragma warning(disable : 4996)
11# pragma warning(disable : 4309)
12# if _MSC_VER >= 1922
13# pragma warning(disable : 5054)
14# endif
15# endif
16
17# if _MSC_VER < 1910
18# pragma warning(disable : 4800)
19# endif
20# pragma warning(disable : 4244)
21# pragma warning(disable : 4251)
22# pragma warning(disable : 4267)
23# pragma warning(disable : 4668)
24# pragma warning(disable : 4946)
25#endif
26
27#if defined(__GNUC__) && !defined(__clang__) && !defined(__apple_build_version__)
28# if (__GNUC__ * 100 + __GNUC_MINOR__ * 10) >= 460
29# pragma GCC diagnostic push
30# endif
31# pragma GCC diagnostic ignored "-Wunused-parameter"
32# pragma GCC diagnostic ignored "-Wtype-limits"
33#elif defined(__clang__) || defined(__apple_build_version__)
34# pragma clang diagnostic push
35# pragma clang diagnostic ignored "-Wunused-parameter"
36# pragma clang diagnostic ignored "-Wtype-limits"
37#endif