generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 67
Closed
Description
On IAR compiler, there is a compilation error when using bsearch() API. The compare function has not the correct prototype :
source\cellular_pkthandler.c(444) : Error[Pe167]: argument of type "int32_t (*)(void const *, void const *)" is incompatible with parameter of type "_Cmpfun *"
This issue has been already reported and fixed (See issue #107). But it has been re-introduced by the commit
Revision: 71d6f60
Author: chinglee-iot [email protected]
Date: 14/03/2024 07:21:41
Message:
Fix MISRA C 2012 deviations (#165)
- Adding "UNITTEST" and "COV_ANALYSIS" to align FreeRTOS libraries design
- Fix rule 12.3 not to use comma operator
- Fix rule 13.4 not to use the returned value of the assignment operator
- Fix rule 17.7 for unused return value
- Fix rule 18.4 not to use arithmetic on pointer type
- Fix rule 2.2 to remove overwritten initialized value
- Fix forward NULL warning
Metadata
Metadata
Assignees
Labels
No labels