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

[BUILD] Use nostd::enable_if_t instead of std::enable_if_t #2648

Merged
merged 4 commits into from
Apr 29, 2024

Conversation

owent
Copy link
Member

@owent owent commented Apr 26, 2024

Fixes #2647

Changes

Please provide a brief description of the changes here.

  • Use nostd::enable_if_t instead of std::enable_if_t

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

@owent owent requested a review from a team April 26, 2024 06:25
@owent
Copy link
Member Author

owent commented Apr 26, 2024

The failed job report error when compiling upb, which seems not a problem of this PR?

@lalitb
Copy link
Member

lalitb commented Apr 26, 2024

The failed job report error when compiling upb, which seems not a problem of this PR?

Looks like we need to upgrade com_google_absl. Probably something changed in macos-latest (clang version?) recently which triggered this.

@marcalff
Copy link
Member

This PR looks ok.

The build failure on MacOS seems unrelated, and to fix separately.

@ThomsonTan
Copy link
Contributor

This PR looks ok.

The build failure on MacOS seems unrelated, and to fix separately.

Curious on what triggered the MacOS build warning.

@lalitb
Copy link
Member

lalitb commented Apr 26, 2024

Curious on what triggered the MacOS build warning.

My guess is that XCode update on mac-os14 (which is macos-latest) triggered clang to get updated too.

actions/runner-images#9726

@marcalff marcalff merged commit 830651a into open-telemetry:main Apr 29, 2024
48 checks passed
@owent owent deleted the use_nostd_version_of_enable_if_t branch May 23, 2024 02:32
@marcalff marcalff changed the title Use nostd::enable_if_t instead of std::enable_if_t [BUILD] Use nostd::enable_if_t instead of std::enable_if_t Jun 20, 2024
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.

nostd::enable_if_t should be used instead of std::enable_if_t
4 participants