[Tux4kids-tuxtype-dev] (no subject)

Pere Pujal i Carabantes perepujal at gmail.com
Fri May 31 22:57:10 UTC 2013


El dv 31 de 05 de 2013 a les 13:45 +0530, en/na Nalin X Linux va
escriure:
> Dear developers please check my updates and give feedback
> https://github.com/Nalin-x-Linux/tuxtype
> 

A couple of warnings:
tts.c: In function ‘tts_say’:
tts.c:110:2: warning: passing argument 1 of ‘SDL_CreateThread’ from
incompatible pointer type [enabled by default]
In file included from tts.c:11:0:
/usr/include/SDL/SDL_thread.h:88:38: note: expected ‘int (*)(void *)’
but argument is of type ‘void (*)(void *)’
You must adjust tts_thread_func to match what SDL_CreateThread expects



tts.c:109:14: warning: ‘position_type’ is used uninitialized in this
function [-Wuninitialized]
This one is important, you should never relay on "default" values, at
least in C.
I see you declare espeak_POSITION_TYPE position_type; on both tts.h and
tts.c inside tts_say() function...



HTH
Pere




More information about the Tux4kids-tuxtype-dev mailing list