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

Task: fix compiler warning for architectures that does not define portARMV8M_MINOR_VERSION #1144

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

skotopes
Copy link
Contributor

Task: fix compiler warning for architectures that does not define portARMV8M_MINOR_VERSION

Description

task.h was using #if on macros that was not used in some architectures.
This fix explicitly checks if macros defined and only then compares it with value.

Test Steps

Compile with -Werror=undef

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

None

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@skotopes skotopes requested a review from a team as a code owner September 10, 2024 19:08
@aggarg
Copy link
Member

aggarg commented Sep 11, 2024

Please merge the main to fix the CI check failure.

Copy link

sonarcloud bot commented Sep 11, 2024

@aggarg aggarg merged commit d806240 into FreeRTOS:main Sep 11, 2024
16 checks passed
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.

3 participants