Again an other warning that i don’t understand in Xcode :
warning: control reaches end of non-void function
I don’t get it… it doesn’t happen under CodeWarrior !!!
Any idea ?
here is an example where it happens :
Thanks for your help in advance.
On Mar 3, 2007, at 1:15 PM, tworowski.sebastien wrote:
> Again an other warning that i don’t understand in Xcode :
> warning: control reaches end of non-void function
This means that you have defined a function with a return value (in
your particular case, void *), but don’t return a value. You either
want to return a void pointer or declare your function as void (not
void *, two very different things).
Btw, better suited to dev list.
C74 RSS Feed | © Copyright Cycling '74