Skip to content

Commit

Permalink
Merge branch 'main' into fix_sem_conv_2016
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan authored Mar 23, 2023
2 parents beb9bb5 + fb3bcb5 commit 9a1b087
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
# pragma warning(disable : 4267)
# pragma warning(disable : 4668)
# pragma warning(disable : 4946)
# pragma warning(disable : 6001)
# pragma warning(disable : 6244)
# pragma warning(disable : 6246)
#endif

#if defined(__GNUC__) && !defined(__clang__) && !defined(__apple_build_version__)
Expand All @@ -30,9 +33,34 @@
# endif
# pragma GCC diagnostic ignored "-Wunused-parameter"
# pragma GCC diagnostic ignored "-Wtype-limits"
# pragma GCC diagnostic ignored "-Wsign-compare"
# pragma GCC diagnostic ignored "-Wsign-conversion"
# pragma GCC diagnostic ignored "-Wshadow"
# pragma GCC diagnostic ignored "-Wuninitialized"
# pragma GCC diagnostic ignored "-Wconversion"
# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409
# pragma GCC diagnostic ignored "-Wfloat-conversion"
# endif
# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 501
# pragma GCC diagnostic ignored "-Wsuggest-override"
# endif
#elif defined(__clang__) || defined(__apple_build_version__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wunused-parameter"
# pragma clang diagnostic ignored "-Wtype-limits"
# pragma clang diagnostic ignored "-Wshadow-field"
# pragma clang diagnostic ignored "-Wsign-compare"
# pragma clang diagnostic ignored "-Wsign-conversion"
# pragma clang diagnostic ignored "-Wshadow"
# pragma clang diagnostic ignored "-Wuninitialized"
# pragma clang diagnostic ignored "-Wconversion"
# if ((__clang_major__ * 100) + __clang_minor__) >= 305
# pragma clang diagnostic ignored "-Wfloat-conversion"
# endif
# if ((__clang_major__ * 100) + __clang_minor__) >= 306
# pragma clang diagnostic ignored "-Winconsistent-missing-override"
# endif
# if ((__clang_major__ * 100) + __clang_minor__) >= 1100
# pragma clang diagnostic ignored "-Wsuggest-override"
# endif
#endif
5 changes: 5 additions & 0 deletions exporters/zipkin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ add_library(
opentelemetry_exporter_zipkin_trace
src/zipkin_exporter.cc src/zipkin_exporter_factory.cc src/recordable.cc)

target_include_directories(
opentelemetry_exporter_zipkin_trace
PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
"$<INSTALL_INTERFACE:include>")

target_link_libraries(
opentelemetry_exporter_zipkin_trace
PUBLIC opentelemetry_trace opentelemetry_http_client_curl
Expand Down

0 comments on commit 9a1b087

Please sign in to comment.