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

Fix volatile errors when compiling for C++23 #196

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

jboynes
Copy link
Contributor

@jboynes jboynes commented Aug 21, 2023

C++20 deprecated the use of increment/decrement with volatile variables. This PR avoids the compiler warning at that language level or later.

@CLAassistant
Copy link

CLAassistant commented Aug 21, 2023

CLA assistant check
All committers have signed the CLA.

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (84b98c7) 95.77% compared to head (669bf38) 95.77%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #196   +/-   ##
=======================================
  Coverage   95.77%   95.77%           
=======================================
  Files          13       13           
  Lines         970      970           
=======================================
  Hits          929      929           
  Misses         41       41           
Files Changed Coverage Δ
api/RingBuffer.h 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@facchinm facchinm merged commit 50a27fb into arduino:master Aug 22, 2023
3 checks passed
@facchinm
Copy link
Member

Thanks for the fix! Merging

@per1234 per1234 added the bug label Aug 22, 2023
@jboynes jboynes deleted the fix_volatile branch September 8, 2023 07:24
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.

None yet

5 participants