Closed htibosch closed 11 months ago
The links seem to be accessible. Not sure why the link verifier is failing. Maybe a change in GitHub runners to not allow them to reach gnu.org?
Similarly, for the proof-ci, not sure why this simple change will cause 4 CBMC proofs to fail.
Closing this PR as the changes are taken as a part of Fix MISRA issue
Description
The changes made to FreeRTOSIPConfigDefaults.h in PR #782 were very good and useful, but they may trigger an important compiler warning:
In other words: it may hide the next statement when
configPRINTF
is defined as empty:And also MISRA would get upset about the if statement condition which is always true/false in
I would like to replace it with this:
Test Steps
Define
ipconfigHAS_PRINTF=1
without definingFreeRTOS_printf()
and run the compiler. Or defineipconfigHAS_DEBUG_PRINTF=1
without definingFreeRTOS_debug_printf()
. Also interesting is to try this with an emptyconfigPRINTF()
in your FreeRTOSConfig.h.Checklist:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.