/usr/include/glib-2.0/glib/gmarkup.h:43: warning: function declaration isn't a prototype
- From: Ross Golder <ross golder org>
- To: gtk-list gnome org
- Subject: /usr/include/glib-2.0/glib/gmarkup.h:43: warning: function declaration isn't a prototype
- Date: 29 Oct 2001 00:26:40 +0000
Using latest glib CVS, trying to port gnet to glib-2.0.
I've added the PKG_CHECK_MODULES stuff to configure.in, and I've run
make. However, the compiler error occurs within the glib headers :
make[2]: Entering directory `/net/home/rossg/workshop/gnome/gnet/src'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN=\"GNet\" -DG_ENABLE_DEBUG -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -g -Wall -D_REENTRANT
-DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -c gnet.c
rm -f .libs/gnet.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GNet\"
-DG_ENABLE_DEBUG -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g
-Wall -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wp,-MD,.deps/gnet.pp -c
gnet.c -fPIC -DPIC -o .libs/gnet.lo
In file included from /usr/include/glib-2.0/glib.h:47,
from gnet-private.h:44,
from gnet.c:21:
/usr/include/glib-2.0/glib/gmarkup.h:43: warning: function declaration
isn't a prototype
In file included from gnet-private.h:45,
from gnet.c:21:
gnet.h:54: syntax error before `const'
gnet.h:55: syntax error before `const'
gnet.h:56: syntax error before `const'
gnet.h:57: syntax error before `const'
gnet.h:58: syntax error before `const'
make[2]: *** [gnet.lo] Error 1
make[2]: Leaving directory `/net/home/rossg/workshop/gnome/gnet/src'
System is RedHat 7.2, fairly standard.
--
Ross
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]