Menu

#14 Implicit declaration of wait()

v1.0 (example)
open
nobody
None
5
2016-04-06
2016-04-06
No

Florene 0.6.3 / src/controller.c makes use of wait() - but due to the absence of an #include <sys wait.h=""> statement, this is not declared in this scope.

[ 57s] controller.c: In function 'controller_icon_expose':
[ 57s] controller.c:49:2: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration]
[ 57s] wait();
[ 57s] ^

And if it WERE declared, it would fail, as wait() takes an argument.

Discussion


Log in to post a comment.