Skip to content

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.

@sonarqubecloud
Copy link

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