xTaskCreate differ... Warning

This code: (app.c download@ http://wiki.midibox.org/lib/exe/fetch.php?media=phatline:tm_v3.zip)

void APP\_Init(void){ xTaskCreate(TASK\_SEQ, (signed portCHAR \*)"SEQ", configMINIMAL\_STACK\_SIZE, NULL, PRIORITY\_TASK\_SEQ, NULL);}// install sequencer task  

compile with following warnings:

Quote

make (im Verzeichnis: /home/nixgibts/c/tm_V3)
rm -f project.hex
Creating object file for app.c
app.c: In function ‘APP_Init’:
app.c:386:3: warning: pointer targets in passing argument 2 of ‘xTaskCreate’ differ in signedness [-Wpointer-sign]
In file included from app.c:11:0:
/home/triggermatrix/mios32/trunk/FreeRTOS/Source/include/task.h:360:13: note: expected ‘const char * const’ but argument is of type ‘signed char *’
Creating object file for seq.c

/home/triggermatrix/mios32/trunk/FreeRTOS/Source/portable/GCC/ARM_CM3/port.c: In function ‘prvPortStartFirstTask’:
/home/triggermatrix/mios32/trunk/FreeRTOS/Source/portable/GCC/ARM_CM3/port.c:282:1: warning: stack usage computation not supported for this target [enabled by default]

/home/triggermatrix/mios32/trunk/drivers/STM32F4xx/v1.1.0/STM32_USB_Device_Library/Core/src/usbd_req.c: In function ‘USBD_GetString’:
/home/triggermatrix/mios32/trunk/drivers/STM32F4xx/v1.1.0/STM32_USB_Device_Library/Core/src/usbd_req.c:845:18: warning: comparison between pointer and integer [enabled by default]
/home/triggermatrix/mios32/trunk/drivers/STM32F4xx/v1.1.0/STM32_USB_Device_Library/Core/src/usbd_req.c: In function ‘USBD_GetLen’:
/home/triggermatrix/mios32/trunk/drivers/STM32F4xx/v1.1.0/STM32_USB_Device_Library/Core/src/usbd_req.c:863:17: warning: comparison between pointer and integer [enabled by default]

Creating object file for freertos_heap.cpp

Kompilierung erfolgreich beendet.
Application successfully built for:
Processor: STM32F407VG
Family:    STM32F4xx
Board:     MBHP_CORE_STM32F4
LCD:       universal

arm-none-eabi-size project_build/project.elf
   text       data        bss        dec        hex    filename
  98646       9184      56600     164430      2824e    project_build/project.elf
20000000 D __ram_start
200100f8 B __ram_end

that task.h code - Warning by “xTaskCreate…”:

#if( configSUPPORT\_DYNAMIC\_ALLOCATION == 1 ) BaseType\_t xTaskCreate( TaskFunction\_t pxTaskCode, const char \* const pcName, const uint16\_t usStackDepth, void \* const pvParameters, UBaseType\_t uxPriority, TaskHandle\_t \* const pxCreatedTask ) PRIVILEGED\_FUNCTION; /\*lint !e971 Unqualified char types are allowed for strings and single characters only. \*/ #endif

 

do i have to fear?

I have to !! LOL

 

app.c:75:3: warning: pointer targets in passing argument 2 of 'xTaskCreate' differ in signedness [-Wpointer-sign] In file included from app.c:24:0: i:/MIOS32/trunk/FreeRTOS/Source/include/task.h:360:13: note: expected 'const char \* const' but argument is of type 'signed char \*'

Marco.

welcome to the club - i see it everyday… i did not solve the error, nor do i understand it.

all i know that when i add additional my own task like

 xTaskCreate(TASK\_FLAG, (signed portCHAR \*)"FLAG", configMINIMAL\_STACK\_SIZE, NULL, PRIORITY\_TASK\_FLAG, NULL); // my own tasks jobs to do }

i got the same error

 

argument 2 is only the name? and name no matters? (think i read that anywhere)… so stack size and priority should have effect.

EDIT: but it still sucks that the compiler is crying each time i compile… when compiling 100 of times a day …