[Snowball-discuss] Compile warnigs
Teodor Sigaev
teodor@stack.net
Tue Jan 28 15:08:01 2003
If compile snowball with flags -Wmissing-prototypes -Wmissing-declarations I see
some warnings:
1
q/api.c: In function `SN_create_env':
q/api.c:5: warning: implicit declaration of function `calloc'
q/api.c: In function `SN_close_env':
q/api.c:35: warning: implicit declaration of function `free'
I suggest to include header in api.h:
#include <stdlib.h>
2 Why isn't stem.h included in stem.c?
snowball/russian_stem.c:620: warning: no previous prototype for `russian_create_env'
snowball/russian_stem.c:622: warning: no previous prototype for `russian_close_env'
Thank you.
--
Teodor Sigaev
teodor@stack.net