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

Don't use CLOCK_UPTIME_RAW if it won't be defined #16951

Closed
wants to merge 2 commits into from

Conversation

adamnovak
Copy link
Contributor

This will fix #15957 by not trying to use CLOCK_UPTIME_RAW if the feature test macros are not currently set to make it available.

Since the build system is in charge of the feature test macros, and since this header might be included under any end user program's build system, we can't just #define the macros we would like.

This will fix protocolbuffers#15957 by not trying to use CLOCK_UPTIME_RAW if the feature test macros are not currently set to make it available.

Since the build system is in charge of the feature test macros, and since this header might be included under any end user program's build system, we can't just #define the macros we would like.
@adamnovak adamnovak requested a review from a team as a code owner May 28, 2024 14:22
@adamnovak adamnovak requested review from deannagarcia and removed request for a team May 28, 2024 14:22
Copy link

google-cla bot commented May 28, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@adamnovak
Copy link
Contributor Author

I've had copyright for this contribution assigned from my employer to me personally, so I can sign the CLA for this contribution as an individual.

@adamnovak
Copy link
Contributor Author

I tried to do the CLA "rescan", and after completing the CAPTCHA I got an error:

  1. That’s an error.

That’s all we know.

@adamnovak
Copy link
Contributor Author

adamnovak commented Aug 5, 2024

@deannagarcia Are you able to rerun the CLA check for this?

Also, how do I turn off the CLA for my Github account after this PR? I only have copyright on this contribution; any future PRs I make or other messages I send in the course of my employment are necessarily "not a contribution" under the agreement with me personally, unless/until I get copyright assigned to me personally for them specifically.

@adamnovak
Copy link
Contributor Author

adamnovak commented Sep 11, 2024

@deannagarcia It looks like the inactivity bot has closed the associated issue #15957 due to there not being any progress on getting it fixed. When might you be available to review this PR?

The CLA rescan still doesn't work, I think because the time to get the copyright assigned to me exceeded the time for which the "rescan" link in the CLA check was valid (it apparently expired on 2024-07-12).

@JasonLunn JasonLunn added c++ 🅰️ safe for tests Mark a commit as safe to run presubmits over labels Oct 11, 2024
@JasonLunn JasonLunn requested review from acozzette and removed request for deannagarcia October 11, 2024 19:14
@github-actions github-actions bot removed the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Oct 11, 2024
@acozzette acozzette added the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Nov 13, 2024
@github-actions github-actions bot removed the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Nov 13, 2024
copybara-service bot pushed a commit that referenced this pull request Nov 13, 2024
This will fix #15957 by not trying to use CLOCK_UPTIME_RAW if the feature test macros are not currently set to make it available.

Since the build system is in charge of the feature test macros, and since this header might be included under any end user program's build system, we can't just #define the macros we would like.

Closes #16951

COPYBARA_INTEGRATE_REVIEW=#16951 from adamnovak:patch-1 cebf44e
FUTURE_COPYBARA_INTEGRATE_REVIEW=#16951 from adamnovak:patch-1 cebf44e
PiperOrigin-RevId: 696207015
protobuf-team-bot added a commit that referenced this pull request Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLOCK_UPTIME_RAW isn't always available on __APPLE__
3 participants