Skip to content
Philipp van Kempen edited this page Nov 18, 2020 · 3 revisions

There are the following 2 compiler warning displayed when compiling for the first time. Is this intended?

/home/rtos-sim/ESPL-Code/lib/FreeRTOS_Kernel/tasks.c:793:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
pxTopOfStack = (StackType_t *)(((portPOINTER_SIZE_TYPE) pxTopOfStack) &
^
/home/rtos-sim/ESPL-Code/lib/FreeRTOS_Kernel/tasks.c:793:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
pxTopOfStack = (StackType_t *)(((portPOINTER_SIZE_TYPE) pxTopOfStack) &

Answer: Yes, you can just ignore them!