Frantisek Hanzlik wrote: > Further, this warning is suspicious and should be probably fixed too: > > gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/dspam/log\" > -DCONFIG_DEFAULT=\"/etc/dspam/dspam.conf\" -D_REENTRANT > -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE -I. -I../../src -O2 -g -pipe > -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic > -fasynchronous-unwind-tables -Wall -Wmissing-prototypes > -Wmissing-declarations -I../../src > -MT csscompress-csscompress.o -MD -MP -MF .deps/csscompress-csscompress.Tpo > -c -o csscompress-csscompress.o `test -f 'csscompress.c' || echo > './'`csscompress.c > csscompress.c: In function 'csscompress': > csscompress.c:137: warning: implicit declaration of function 'dirname' > csscompress.c:137: warning: format '%s' expects type 'char *', but argument 4 > has type 'int' > csscompress.c:137: warning: format '%s' expects type 'char *', but argument 4 > has type 'int' -- Probably adding "libgen.h" to csscompress.c, cssconvert.c (in cssclean this is already included) solve this warning.
But there is one further, is OK ignore it? See: libtool: compile: gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/dspam/log\" -DCONFDIR=\"/etc/dspam\" -DCONFIG_DEFAULT=\"/etc/dspam/dspam.conf\" -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -Wmissing-declarations -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -fPIC -DPIC -o .libs/util.o util.c: In function '_ds_get_fcntl_lock': util.c:682: warning: passing argument 2 of 'signal' from incompatible pointer type /usr/include/signal.h:101: note: expected '__sighandler_t' but argument is of type 'void (*)(void)' Franta Hanzlik ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel