[Snowball-discuss] Compile warnigs

From: Teodor Sigaev (teodor@stack.net)
Date: Tue Jan 28 2003 - 15:08:01 GMT


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



This archive was generated by hypermail 2.1.3 : Thu Sep 20 2007 - 12:02:44 BST