Re: error: conflicting types for 'gkrellm_fs_assign_fsusage_data'
Bill Wilson <[email protected]> Wed, 23 Dec 2015 11:19:02 -0600
| Newsgroups | gmane.comp.gnome.apps.gkrellm |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 23 Dec 2015 14:44:58 +0100 Felix Janda <[email protected]> wrote: > It seems that commit 0602b3c15f3443c774ec72cd653b53d29e3b171b has > broken compilation on 32bit archs: > > cc -c -Wall -O2 `pkg-config --cflags glib-2.0 gmodule-2.0 gthread-2.0` -I.. -I../shared -DGKRELLM_SERVER > -DENABLE_NLS -DLOCALEDIR=\"/usr/local/share/locale\" monitor.c -o monitor.o monitor.c:1392:1: error: > conflicting types for 'gkrellm_fs_assign_fsusage_data' gkrellm_fs_assign_fsusage_data(gpointer pointer, > ^ > In file included from gkrellmd-private.h:36:0, > from monitor.c:35: > ../src/gkrellm-sysdeps.h:259:6: note: previous declaration of 'gkrellm_fs_assign_fsusage_data' was here > void gkrellm_fs_assign_fsusage_data(gpointer fs, > ^ > > Why is there gkrellm_fs_assign_fsusage_data both in src/fs.c and > server/monitor.c? server and src build separate programs so each has a gkrellm_fs_assign_fsusage_data(). It did not compile because the gkrellmd server needed a fix to handle 64 bit ints for block sizes and I just pushed that fix. It should compile now. Thanks for the getaddrinfo patch, I'll look at that next. Bill