FreeRTOS / FreeRTOS-Kernel

FreeRTOS kernel files only, submoduled into https://github.com/FreeRTOS/FreeRTOS and various other repos.
https://www.FreeRTOS.org
MIT License
2.62k stars 1.09k forks source link

Fix build with modern GCC #933

Closed Forty-Bot closed 8 months ago

Forty-Bot commented 8 months ago

Building the msp430_GCC demo produces several errors and compiler warnings. These patches fix the errors and address the warnings.

kar-rahul-aws commented 8 months ago

Hi @Forty-Bot Please let us know the version of the msp430-gcc compiler you are using. It will be useful to reproduce the issue you are facing. Thanks.

Forty-Bot commented 8 months ago

On 12/22/23 05:10, Rahul Kar wrote:

Hi @Forty-Bot https://github.com/Forty-Bot Please let us know the version of the msp430-gcc compiler you are using. It will be useful to reproduce the issue you are facing. Thanks.

$ msp430-elf-gcc --version msp430-elf-gcc (GCC) 13.1.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (4e7ca2d) 93.78% compared to head (ca907b4) 93.78%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #933 +/- ## ======================================= Coverage 93.78% 93.78% ======================================= Files 6 6 Lines 3186 3186 Branches 885 885 ======================================= Hits 2988 2988 Misses 91 91 Partials 107 107 ``` | [Flag](https://app.codecov.io/gh/FreeRTOS/FreeRTOS-Kernel/pull/933/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FreeRTOS) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/FreeRTOS/FreeRTOS-Kernel/pull/933/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FreeRTOS) | `93.78% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FreeRTOS#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

n9wxu commented 8 months ago

@Forty-Bot can you bring this branch up to date? Then we can merge and address the other PR.

sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud