Am 23.09.2018 um 19:53 schrieb Michael Graichen:
> Hey,
> 
> i tried to compile FreeRTOS (10.0.1 and 10.1.1) on a 8051 (mcs51) with
> it and receive the error:
> 
> src/FreeRTOS/include/task.h:327: error 226: no type specifier for
> 'xTaskCreate parameter 6'
> 
> Parameter 6 of xTaskCreate is defined as "TaskHandle_t * const
> pxCreatedTask"
> when i remove the "const"  to "TaskHandle_t * pxCreatedTask" in every
> function that uses TaskHandle_t within the FreeRTOS code i can compile
> FreeRTOS with some warnings.
> 
> But I also had this issue with 3.7.2.
> 
> https://www.freertos.org/FreeRTOS_Support_Forum_Archive/July_2018/freertos_Types_assignment_in_FreeRTOS_788db98dj.html
> 
> Besides that I had no problems.
> 
> Best regards
> 
> Michael
> 

Since this problem apparently already existed back in SDCC 3.6.0, it is
not a regression (and not that bad either - at least it gives an error
isntead of some silent failure), so we won't delay the 3.8.0 release for it.

To make sure this isn't forgotten (and hopefully gets fixed before
3.9.0), I have opened a bug report:

https://sourceforge.net/p/sdcc/bugs/2817/

Philipp


_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to