Skip to content

Conversation

@NeroBurner
Copy link
Contributor

Fix for Hrs3300 PR about Atomic HRS reads:
#1845

We use std::begin and std::end, but we don't include one of the headers that define those functions.
See https://en.cppreference.com/w/cpp/iterator/begin for a list of headers that define std::begin and std::end.

Starting with GCC 14 this leads to a compilation error presumably because they cleaned up their headers.

Fix code by inlcuding <iterator>

Fix for Hrs3300 PR about Atomic HRS reads:
#1845

We use `std::begin` and `std::end`, but we don't include one of the
headers that define those functions.
See https://en.cppreference.com/w/cpp/iterator/begin for a list of
headers that define `std::begin` and `std::end`.

Starting with GCC 14 this leads to a compilation error presumably
because they cleaned up their headers.

Fix code by inlcuding `<iterator>`
@NeroBurner NeroBurner added the bug Something isn't working label Sep 22, 2024
@NeroBurner NeroBurner added this to the 1.15.0 milestone Sep 22, 2024
@NeroBurner NeroBurner mentioned this pull request Sep 22, 2024
@github-actions
Copy link

Build size and comparison to main:

Section Size Difference
text 374216B -16B
data 948B 0B
bss 63480B 0B

@NeroBurner NeroBurner requested a review from a team September 22, 2024 10:14
@FintasticMan FintasticMan merged commit 997e4ce into main Sep 22, 2024
@FintasticMan FintasticMan deleted the Hrs3300_fix_includes branch September 22, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants