Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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

Merged
facchinm merged 1 commit into arduino:master from jboynes:fix_volatile
Aug 22, 2023

Conversation

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.

Copy link

CLAassistant commented Aug 21, 2023
edited
Loading

CLA assistant check
All committers have signed the CLA.

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
Copy link
Member

Thanks for the fix! Merging

@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
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /