-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
147 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
exporters/otlp/include/opentelemetry/exporters/otlp/otlp_exporter.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
exporters/otlp/include/opentelemetry/exporters/otlp/protobuf_include_prefix.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// This file may be include multiple times, do not add #pragma once here | ||
|
||
#if defined(_MSC_VER) | ||
# pragma warning(push) | ||
# if ((defined(__cplusplus) && __cplusplus >= 201704L) || \ | ||
(defined(_MSVC_LANG) && _MSVC_LANG >= 201704L)) | ||
# pragma warning(disable : 4996) | ||
# pragma warning(disable : 4309) | ||
# if _MSC_VER >= 1922 | ||
# pragma warning(disable : 5054) | ||
# endif | ||
# endif | ||
|
||
# if _MSC_VER < 1910 | ||
# pragma warning(disable : 4800) | ||
# endif | ||
# pragma warning(disable : 4244) | ||
# pragma warning(disable : 4251) | ||
# pragma warning(disable : 4267) | ||
#endif | ||
|
||
#if defined(__GNUC__) && !defined(__clang__) && !defined(__apple_build_version__) | ||
# if (__GNUC__ * 100 + __GNUC_MINOR__ * 10) >= 460 | ||
# pragma GCC diagnostic push | ||
# endif | ||
# pragma GCC diagnostic ignored "-Wunused-parameter" | ||
# pragma GCC diagnostic ignored "-Wtype-limits" | ||
#elif defined(__clang__) || defined(__apple_build_version__) | ||
# pragma clang diagnostic push | ||
# pragma clang diagnostic ignored "-Wunused-parameter" | ||
# pragma clang diagnostic ignored "-Wtype-limits" | ||
#endif |
13 changes: 13 additions & 0 deletions
13
exporters/otlp/include/opentelemetry/exporters/otlp/protobuf_include_suffix.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// This file may be include multiple times, do not add #pragma once here | ||
|
||
#if defined(__GNUC__) && !defined(__clang__) && !defined(__apple_build_version__) | ||
# if (__GNUC__ * 100 + __GNUC_MINOR__ * 10) >= 460 | ||
# pragma GCC diagnostic pop | ||
# endif | ||
#elif defined(__clang__) || defined(__apple_build_version__) | ||
# pragma clang diagnostic pop | ||
#endif | ||
|
||
#if defined(_MSC_VER) | ||
# pragma warning(pop) | ||
#endif |
5 changes: 5 additions & 0 deletions
5
exporters/otlp/include/opentelemetry/exporters/otlp/recordable.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters