-------- Ursprüngliche Nachricht -------- Von: Philipp Klaus Krause <p...@spth.de> Datum: 25.09.18 10:36 (GMT+01:00) An: sdcc-user@lists.sourceforge.net Betreff: Re: [Sdcc-user] SDCC 3.8.0 Release Candidate 1
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 That's ok for me. Just get it out some day. Michael _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user
_______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user