Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Otlp http cmake build fail #1133

Merged
merged 3 commits into from
Dec 13, 2021

Conversation

esigo
Copy link
Member

@esigo esigo commented Dec 13, 2021

Fixes #1132 (issue)

Changes

Please provide a brief description of the changes here.
Use proper overload.
For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

@esigo esigo requested a review from a team December 13, 2021 16:33
@codecov
Copy link

codecov bot commented Dec 13, 2021

Codecov Report

Merging #1133 (3b1ec75) into main (836dda6) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1133   +/-   ##
=======================================
  Coverage   93.39%   93.39%           
=======================================
  Files         165      165           
  Lines        6229     6229           
=======================================
  Hits         5817     5817           
  Misses        412      412           

Copy link
Member

@lalitb lalitb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just curious why build didn't fail in our CI env.

@esigo
Copy link
Member Author

esigo commented Dec 13, 2021

LGTM. Just curious why build didn't fail in our CI env.

probably because of including strutil.h.

@@ -21,14 +21,15 @@
#include "google/protobuf/stubs/common.h"

#if defined(GOOGLE_PROTOBUF_VERSION) && GOOGLE_PROTOBUF_VERSION >= 3007000
# include "google/protobuf/stubs/stringpiece.h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering why it is necessary to include stringpiece.h because Base64Escape is declared in strutil.h?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah thanks, removed it.

@ThomsonTan
Copy link
Contributor

LGTM. Just curious why build didn't fail in our CI env.

probably because of including strutil.h.

CI is not failing probably because we are using a newer version of protobuf. The explicit declaration is only old protobuf versions.

@ThomsonTan ThomsonTan merged commit f349053 into open-telemetry:main Dec 13, 2021
@esigo esigo deleted the otlp_http-cmake-build-fail branch December 13, 2021 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to build opentelemetry-cpp with OTLP HTTP exporter
3 participants